Skip to main content
Revokes a previously granted promotional entitlement from a customer.

Mutation

mutation RevokePromotionalEntitlement($input: RevokePromotionalEntitlementInput!) {
  revokePromotionalEntitlement(input: $input) {
    id
  }
}
{
  "input": {
    "customerId": "customer-123",
    "featureId": "feature-premium"
  }
}
{
  "data": {
    "revokePromotionalEntitlement": {
      "id": "promo-123"
    }
  }
}

Parameters

input
RevokePromotionalEntitlementInput
required
Input for revoking a promotional entitlement

Return Type

Returns the revoked PromotionalEntitlement with its ID.