SaleSearchRequest

Filter and pagination criteria for POST /sales/search. Filters from different categories stack with logical AND; multiple values in one array field stack with logical OR. Results cover the merchant’s last two years of sales (narrow further with start_date / end_date). Results are sorted newest first by sale close date.

Fields

  • format: date-time

    Sale created on or after this instant (inclusive).

    Example: "2026-06-01T00:00:00Z"

  • end_datestring
    format: date-time

    Sale created on or before this instant (inclusive).

    Example: "2026-06-02T23:59:59Z"

  • sale_statusesarray<string>
    Options:"CLOSED"

    Filters rows by sale lifecycle (state). Multiple values match any of them (OR). Uses the same values as Sale.state. Non-finalised sales are never returned; only fully-paid sales.

    Example: ["CLOSED"]

  • payment_statusesarray<string>
    Options:"PAID""CHARGED_BACK"

    Filters rows by payment outcome. Multiple values match any of them (OR). The search row does not echo this value.

    Example: ["PAID"]

  • sales_channelsarray<string>
    Options:"POS""ONLINE_PAYMENTS""KIOSK""ONLINE_STORE""SOLO""ORDER_AND_PAY""INVOICE""BOOKINGS""ORDER_AGGREGATOR""SUBSCRIPTIONS""UNKNOWN"

    Sales channel filter. Multiple values match any of them (OR).

    Example: ["POS"]

  • Opaque token from the previous search response. To load the next page, send it with the same filters. Not interchangeable with tokens from GET /sales.

    Example: "66bcbtzelrubzeuzruzgu76678trncH"

  • minimum: 1maximum: 25default: 10

    Maximum number of results per page.

    Example: 10

Type to search…