Admin API / Types
DiscountCodeNotFoundError
ObjectNo discount code that the caller reads has the supplied ID, and Query.discountCode gives null for the same ID. For example, the code does not exist, is in another store, or a user who is not the caller and not the owner of a store that the caller staffs created it.
type DiscountCodeNotFoundError implements ErrorFields
| Field | Type | Description |
|---|---|---|
message | String! | A human-readable description of the error. |