Get total orderlist
[ GET ] warehouse/orderlist
Get a total orderlist
Query parameters
All filters are optional.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
from |
date (d-m-Y) |
No | Start date. Maximum 12 months back. Defaults to today minus 12 months. | 01-08-2026 |
to |
date (d-m-Y) |
No | End date. Maximum today. Defaults to today. | 01-09-2026 |
customer |
string | No | Customer number(s) from GET warehouse/addresses. Comma-separated for several customers. Defaults to all customers available to the API user. | 42886600 or 42886600,44210223 |
Example request
{
"data|errors": {
"customerName": {
"customerNumber": string,
"orders": [
{
"VIN": string,
"BOOK": string,
"PICKUP": {
"CODE": string,
"NAME": string,
"ADDRESS": string,
"ADDRESS2": object,
"POSTCODE": string,
"CITY": string,
"COUNTRY": string,
},
"DELIVERY": {
"CODE": string,
"NAME": string,
"ADDRESS": string,
"ADDRESS2": object,
"POSTCODE": string,
"CITY": string,
"COUNTRY": string,
},
"COMPANYNAME": string,
"CREATED": string,
"DELIVERYDATE": string,
"PHYSICALDEVDATE": string,
"STATE": string,
"BRAND": string,
"MODEL": string,
"CONTAINS_WORKSHOPORDERS": string,
"PICKUPADDRESS": string,
"DELIVERYADDRESS": string,
"CREATEDATTIMESTAMP": string|int,
"EXPECTEDTIMESTAMP": string|int,
"PHYSICALTIMESTAMP": string|int
}
}
}
}
}
Query parameters:
from:
Maximum of 12 months back.
If not provided it will be today minus 12 months.
to:
Maximum of today.
If not provided it will be today.
customer:
Get avaliable options from
/api/warehouse/addresses (customerNumber).
If not provided it will take all avaliable attached
to your api key.
Can select specifics by comma seperating.
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'YOUR-BASEURL/warehouse/orderlist']),
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTPHEADER => [
'X-Api-Key: YOUR-API-KEY'
],
]);
$response = curl_exec($ch);
curl_close($ch);