NewAffiliateInput
input type
Create-input for an Affiliate.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — none — the divergence: an external promoter has no derivable default name, so an omitted caption refuses VALIDATION/INVALID at the boundary instead of defaulting; when supplied it must be non-blank. |
organizationIds | ID [ID!] | no | The canned-pool selection — absent = every org in the group. |
codes | AffiliateCodeInput [AffiliateCodeInput!] | no | See the fields of [AffiliateCodeInput](/types/AffiliateCodeInput/). |
ratePpm | Int | no | The flat order-net rate (ppm) — absent = tracking-only. |
consumerId | ID | no | The shopper link — live-gated (in-tenant + NOT-doomed Consumer). |
handle | String | no | The public handle. |
bio | String | no | ≤2000. |
socialLinks | String [String!] | no | ≤8 url-ish strings. |
audienceSize | Int | no | ≥0 (informational). |
nicheTags | String [String!] | no | ≤16 plain strings (NOT Tag refs). |