Skip to main content

Arguments

Input fields for updating the status of an account referral.

Returns

UpdateAccountReferralStatus

Update the status of an AccountReferral.

Status transitions can only move forward: - Pending → Paid (allowed) - Pending → Cancelled (allowed) - Paid → any (not allowed) - Cancelled → any (not allowed)

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can payout referrals

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 UpdateAccountReferralStatus($input: UpdateAccountReferralStatusInput!) { updateAccountReferralStatus(input: $input) { accountReferral { ...ReferralTypeFragment } } }

Variables

Response

{ "data": { "updateAccountReferralStatus": { "accountReferral": ReferralType } } }