Skip to main content

Arguments

subdomain : String! required

The affiliate link subdomain.

Returns

AffiliateLinkType!

Affiliate link for the organization.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can create affiliate links
OR Can query affiliate links
OR Can update affiliate links

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

query AffiliateLink($subdomain: String!) { affiliateLink(subdomain: $subdomain) { contactEmail contactName id isBusiness landingUrl organisation { ...AffiliateOrganisationTypeFragment } subdomain trainingStatus } }

Variables

{ "subdomain": "successful-paper-that-if-quickly" }

Response

{ "data": { "affiliateLink": { "contactEmail": "per-month-north-movie-hour", "contactName": "together-plan-near-approach-meet", "id": "33507795", "isBusiness": true, "landingUrl": "drive-today-ever-after-much", "organisation": AffiliateOrganisationType, "subdomain": "war-energy-call-remember-seat", "trainingStatus": "NOT_APPLICABLE" } } }