List discounts
GET
/ admin/ v1/ stores/ {store_id}/ discounts- discounts:read
List discounts, newest first, with filters and cursor pagination.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Query parameters
qstringSearch titles, or codes by prefix.
statusenumWhere a discount is in its life, derived from its schedule — never stored.
- scheduled
- active
- expired
methodenum- code
- automatic
- unique_codes
kindenumWhat a discount does, as a filterable label.
- amount_off_products
- amount_off_order
- free_shipping
- buy_x_get_y
- spend_tiers
- quantity_breaks
limitinteger1–250, default 50.
cursorstringpage.next_cursorfrom the previous page.
Headers
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 A page of discounts.
Errors
- 400
bad_requestMalformed query or cursor. - 403
forbiddenMissing permission.