Discussions

Ask a Question
Back to All

Get Orders

Does your /orders endpoint only return "BUY" orders. We made a "SELL" order via our Transak account and everything worked great. However, when i queried our orders using an access token for "SELL" orders, it returened "BUY" orders and said we have none, which is indeed correct. But I wanted to see our 1 SELL order.

curl 'https://api.transak.com/partners/api/v2/orders?&startDate=2024-03-01&endDate=2024-03-25&filter%5B%22productsAvailed%22%5B=%5B%22SELL%22%5D' --header 'accept: application/json' --header 'access-token: '

{"meta"{"filter"{"productsAvailed"["BUY"]},"sortOrder":"desc","startDate":"2024-03-01","endDate":"2024-03-25","limit":100,"skip":0,"totalCount":0},"data":[]}

Thanks,

Thomas Cindric