Commerce and checkout
GET/v1/orders

List orders

View as .md
curl -X GET "https://api.52-28-238-205.sslip.io/v1/orders" \  -H "Cookie: <console session cookie>"

Lists orders with line items and the intents that paid them: an agent sees its own, a merchant its incoming orders, an organization all of its orders. Agent credential, or console session or API key with payment:read.

Server URLhttps://api.52-28-238-205.sslip.io
GET/v1/ordersBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
  • agentKeyAuthorization: Bearer agk_test_...
Query
  • statusstring

    Comma list of order statuses to include (open, paid, fulfilled, failed, cancelled).

  • cursorstring

    next_cursor from the previous page.

  • limitinteger

    Page size (default 50, max 200).

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Query Parameters

status?|

Comma list of order statuses to include (open, paid, fulfilled, failed, cancelled).

cursor?|

next_cursor from the previous page.

limit?Limit

Page size (default 50, max 200).

Range1 <= value <= 200
Default50

Response Body

Success.

application/json
  1. response
data*array<>
next_cursor?|

Cursor for the next page, or null on the last page.

[key: string]?any