Skip to content

List discounts

GET/admin/v1/stores/{store_id}/discounts
  • discounts:read

List discounts, newest first, with filters and cursor pagination.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • qstring

    Search titles, or codes by prefix.

  • statusenum

    Where a discount is in its life, derived from its schedule — never stored.

    • scheduled
    • active
    • expired
  • methodenum
    • code
    • automatic
    • unique_codes
  • kindenum

    What a discount does, as a filterable label.

    • amount_off_products
    • amount_off_order
    • free_shipping
    • buy_x_get_y
    • spend_tiers
    • quantity_breaks
  • limitinteger

    1–250, default 50.

  • cursorstring

    page.next_cursor from the previous page.

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 A page of discounts.

Errors

  • 400bad_requestMalformed query or cursor.
  • 403forbiddenMissing permission.