Skip to content
gist.link ↗

registerPartner

Mutation Developers API — POST https://developers.api.gist.link/graphql

Enroll (or update) the caller’s organization in the partner program. Requires an org admin.

developers:mutation:registerPartner

The calling IAM key must hold this permission (or a wildcard that covers it: developers:mutation:* or developers:*) and the access token must have been minted with audience=developers. See Permissions.

type Mutation {
registerPartner(input: RegisterPartnerInput!): PartnerProfile!
}
Argument Type Required Description
input RegisterPartnerInput! Yes —

PartnerProfile! — see the Developers types reference.

Terminal window
curl https://developers.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation RegisterPartner($input: RegisterPartnerInput!) { registerPartner(input: $input) { uuid companyName contactEmail websiteUrl payoutCurrency payoutConfigured createdAt updatedAt } }",
"variables": {
"input": {
"companyName": "Example",
"contactEmail": "ada@example.com"
}
}
}
JSON