Get historical orders
Get historical orders from the last six months. Multiple filters are available. Date ranges are limited to the six months ending on the current date. If no date range is supplied, the complete six-month window is returned. A fromDate earlier than the available window is adjusted to the six-month cutoff, and a toDate after the current date is adjusted to the current date.
Request
- Base URLhttps://api.stockx.com/v2
- AuthAPI key in header x-api-key and HTTP bearer
Query parameters
The start date of when the orders were created. Defaults to six months ago. Dates earlier than six months ago are adjusted to the six-month cutoff. Format is YYYY-MM-DD.
The end date of when the orders were created. Defaults to the current date. Later dates are adjusted to the current date. Format is YYYY-MM-DD.
The requested page number. By default the page number is 1
The number of orders to be returned. By default the number is 10
To filter your Orders by a given order status<br><br>Available values: "AUTHFAILED", "DIDNOTSHIP", "CANCELED", "COMPLETED", "RETURNED"
Unique StockX product ID
Unique StockX variant ID
Comma-separated list of inventory type(s). This field must not include array brackets [] or quotation marks ("| ''). The inventory types are STANDARD, FLEX or DIRECT.
The shipment's unique display id associated with the order. Note: This is the same ID generated when a Flex inbound list is created in StockX Pro.
Response
Ok
Example response
{
"count": 266,
"pageSize": 10,
"pageNumber": 1,
"hasNextPage": true,
"orders": [
{
"listingId": "35d76ac8-a112-4d75-b44f-c8ef04a87c93",
"askId": "13658831621304650018",
"amount": "140",
"currencyCode": "USD",
"createdAt": "2021-08-25T13:51:47.000Z",
"updatedAt": "2021-08-25T13:51:47.000Z",
"product": {
"productId": "bf364c53-eb77-4522-955c-6a6ce952cc6f",
"productName": "Gucci Duchessa Boston Bag"
},
"variant": {
"variantName": "Auston-Matthews-2016-Upper-Deck-Series-1-Young-Guns-Rookie-201:0",
"variantValue": "PSA 10"
},
"payout": {
"adjustments": [
{
"adjustmentType": "Shipping Fee (10%)"
}
]
},
"condition": "Used",
"conditionDescription": "Brand new, never worn"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.