cURL
Promotional Credits
Revoke promotional credit
Revoke a promotional credit from specific customers or from all customers
POST
cURL
Customers are identified by their
customer_key. Use revoke_from: "specific" with a customer_keys array to revoke from a chosen set of customers, or revoke_from: "all" to revoke from every customer that currently holds this promotional credit.Only customers with an active grant for this promotional credit are affected. Revoking takes effect immediately.
Authorizations
Path Parameters
The unique identifier of the promotional credit to revoke
Body
application/json
specific revokes only from the customers listed in customer_keys.
all revokes from every customer that currently holds this promotional credit.
Available options:
specific, all Example:
"specific"
The customer keys to revoke the promotional credit from. Required when revoke_from is specific.
Example:
["cust_001"]
