Skip to navigation

Get Partner Orders

View as Markdown

The Get Partner Orders is an authenticated API that returns your orders across all your users. Call it from your backend with only your Partner Access Token.

To fetch the orders of one user with the user’s token, use Get User Orders.

Headers

x-access-tokenstringRequired

Your Partner Access Token, valid for 7 days. See how to create a Partner Access Token.

Query parameters

partnerOrderIdstringOptional
Your own unique order ID.
statuslist of stringsOptional

The order status, for example COMPLETED.

walletAddressstringOptional
The user's wallet address.
productsAvailedlist of enumsOptional

BUY, SELL, or both. Default: both.

Allowed values:
startDatedateOptional

Start date in YYYY-MM-DD format (UTC, inclusive). Send it with endDate. It must be on or after 2019-01-01, and at most 31 days before endDate. Without both dates, the last 3 months are searched.

endDatedateOptional

End date in YYYY-MM-DD format (UTC, inclusive). Send it with startDate. A date after today counts as today.

limitintegerOptional1-500Defaults to 100
The number of orders per page, from 1 to 500.
offsetintegerOptional>=0Defaults to 0

The number of orders to skip. To get the next page, set offset to offset + limit while pagination.hasMore is true.

Response

200 - Success

datalist of objects
The matching orders, newest first. Empty when no order matches.
paginationobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error