Skip to main content
Retrieves a cursor-paginated list of all discount codes in your store with optional filtering and search capabilities.

Query Parameters

integer
default:"15"
Number of discounts to return per page (max 100)
string
Cursor for pagination. Use the next_cursor from the previous response.
string
Filter by status (active, expired)
Search by discount code, name, or public ID
string
Filter discounts created from this date (Y-m-d format, e.g., 2025-01-01)
string
Filter discounts created until this date (Y-m-d format, e.g., 2025-01-31)

Response

object