Admin API / Types

DiscountCodeNotFoundError

Object

No 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 Error

Fields

FieldTypeDescription
messageString!
A human-readable description of the error.