Skip to main content
Retrieves a cursor-paginated list of all sales in your store. The response includes customer, product, discount and rating information for each sale.
Required scope: sales.read. A key without it receives a 403 error. See Authentication.

Query Parameters

integer
default:"10"
Number of sales to return per page (1 to 100). A value above 100 returns a 422 validation error.
string
Cursor for pagination. Use the next_cursor from the previous response.
string
Filter by sale status: initiated, awaiting_payment, completed, failed, abandoned, or settled
string
Filter by customer public ID (e.g., cus_abc123xyz)
Search by sale ID (e.g., sal_abc123xyz) or payment transaction ID
string
Only return sales created on or after this date (format: Y-m-d, e.g., 2025-01-01)
string
Only return sales created on or before this date (format: Y-m-d, e.g., 2025-01-31). Must not be earlier than from.
string
Shortcut for a date range, used instead of from and to: today, yesterday, last7days, last30days, thisWeek, lastWeek, thisMonth, lastMonth, thisYear or lastYear
Sales are returned newest first. start_date and end_date are not supported and are silently ignored: use from and to.

Response

array
Array of sale objects
object
Cursor pagination metadata