Admin API / Mutations
reactivateDiscountCode
Turns on a discount code that the caller or the owner of a store that the caller staffs created. A repeat succeeds and changes nothing. Buyers can use the code again only when status is ACTIVE: an expired code stays EXPIRED, and a code at its limit stays USAGE_LIMIT_REACHED.
Requires a client key with one of these scopes:
admin:discounts:writeRequires this member role or higher: SELLERreactivateDiscountCode(
input: ReactivateDiscountCodeInput!
): ReactivateDiscountCodePayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | ReactivateDiscountCodeInput! | The code to turn on. |