Search via Waybill Number
This endpoint allows you get an order via clients own waybill number (unique idnetifier)
Endpoint => /orders/search/{waybillNumber}
Headers
Name
Type
Description
Params
Name
Type
Description
{
"status": "Success",
"description": "Order Fetch Successfully",
"data": {
"orderNumber": "KMXH15082440",
"waybillNumber": "74U839SUSY7"
}
}<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://apisandbox.fezdelivery.co/v1/orders/search/64-UU0P8-NG',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'secret-key: {{Your Secret Key}}'
)
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;
Last updated