Skip to main content

Arguments

Input fields for creating an affiliate link for an organisation.

Returns

CreateAffiliateLink!

Create an affiliate link for a new sales agent.

Allowed Viewers

Customer Partner User Third party

Query Complexity

1

Examples

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Query

mutation CreateAffiliateLink($input: CreateAffiliateLinkInputType!) { createAffiliateLink(input: $input) { affiliateLink { ...AffiliateLinkTypeFragment } } }

Variables

Response

{ "data": { "createAffiliateLink": { "affiliateLink": AffiliateLinkType } } }