Dry-run validate a co-sell referral against partner schema
POST https://api.suger.cloud/org/{orgId}/cosell/referral/validate
Validate a mapped marketplace opportunity against the partner-specific schema (AWS ACE / Azure Partner Center / GCP). Returns schema violations and missing required fields WITHOUT creating or submitting anything. Use this when: you are about to create or update a referral and want to catch missing required fields first. Runs as a pre-flight check before calling CreateCosellReferral or BatchCreateCosellReferrals.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
Request Body
Required. Content-Type: application/json · Schema: structs.ValidateReferralRequest
Responses
200 — OK
Content-Type: application/json · Schema: structs.ValidateReferralResponse
400 — Bad Request
Content-Type: application/json · Schema: ErrorResponse
500 — Internal Server Error
Content-Type: application/json · Schema: ErrorResponse