API Documentation >> API 2.0 Main >> Order Management >> Filter Orders
actor
parameter (buyer or seller) and the state
parameter (bought, paid, sent, received, lost, cancelled). Only orders for the authenticated user are returned. You can specify parameters for start and maximum results returned. If the response would have more than 100 entities a 410 Gone is returned. In this case the start parameter (and pagination) becomes mandatory.https://api.cardmarket.com/ws/v2.0/orders/:actor/:state[/:start]
actor
seller
or 1
buyer
or 2
state
bought
or 1
paid
or 2
sent
or 4
received
or 8
lost
or 32
cancelled
or 128
start
1. Returns orders 101 to 200 (partial content), where the authenticated user is seller and that are marked as received (i.e. all completed orders)
GET https://api.cardmarket.com/ws/v2.0/orders/seller/received/101
or
GET https://api.cardmarket.com/ws/v2.0/orders/1/8/101
2. Returns all orders, where the authenticated user is buyer and that are marked as sent
GET https://api.cardmarket.com/ws/v2.0/orders/buyer/sent
or
GET https://api.cardmarket.com/ws/v2.0/orders/2/4