AlmondTill/G3N API

NewAffiliateInput

input type

Create-input for an Affiliate.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: 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.
organizationIdsID [ID!]noThe canned-pool selection — absent = every org in the group.
codesAffiliateCodeInput [AffiliateCodeInput!]noSee the fields of [AffiliateCodeInput](/types/AffiliateCodeInput/).
ratePpmIntnoThe flat order-net rate (ppm) — absent = tracking-only.
consumerIdIDnoThe shopper link — live-gated (in-tenant + NOT-doomed Consumer).
handleStringnoThe public handle.
bioStringno≤2000.
socialLinksString [String!]no≤8 url-ish strings.
audienceSizeIntno≥0 (informational).
nicheTagsString [String!]no≤16 plain strings (NOT Tag refs).

Used by