Admin API / Queries
discountCode
Finds a discount code by ID. Null when the code is not in this store, or when its creator is not the caller or the owner of a store that the caller staffs.
Requires a client key with one of these scopes:
admin:discounts:readRequires this member role or higher: SELLERdiscountCode(
id: ID!
): DiscountCodeArguments
| Argument | Type | Description |
|---|---|---|
id | ID! | The discount code ID. |