AlmondTill/G3N API

EditAffiliateInput

input type

Edit-input for a Affiliate. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved — except codes: a supplied codes list replaces wholesale.

Fields

FieldTypeRequiredNotes
captionStringnoThe promoter name.
organizationIdsID [ID!]noWholesale replace of the canned pool.
codesAffiliateCodeInput [AffiliateCodeInput!]noWholesale replacement — the marker migrate (empty array = release all).
ratePpmIntnoThe flat order-net rate (ppm).
consumerIdIDnoThe shopper link — live-gated at set.
handleStringno
bioStringno
socialLinksString [String!]noWholesale replace.
audienceSizeIntno
nicheTagsString [String!]noWholesale replace.

Used by