Get warehouse orders
[ GET ] warehouse
Get warehouse orders based on your API Key
{
"data": {
"customerName": {
"customerNumber": string,
"orders": [
{
"warehouseID": string,
"VIN": string,
"BRAND": string,
"MODEL": string,
"ARRIVAL_DATE": string,
"LOCATION": string,
"KM": string,
"HANDOVER_ALLOWED": string,
"CONTAINS_WORKSHOPORDERS": string,
"customerNumber": string,
"released": string,
"created": string,
"DESIRED_DATE_DELIVERY": null|string
}
}
}
}
}
<?php
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => 'YOUR-BASEURL/warehouse']),
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);