REST API

Documentation


Track & Trace

Are your orders shipped by parcel post? When the status of an order changes to Shipped, the API will make a Track & Trace URL from our shipping partner available if possible. This URL lets your customer track their shipment online.

$order = $api->get('/orders/12345');

if ($order->status === 'Shipped') {
    echo 'Order shipped! <br />';
    if (isset($order->trackingUrl)) {
        echo 'Track & Trace: ' . $order->trackingUrl;
    }
}

It may occur that the Track & Trace URL is not available right away. We recommend to always check whether the trackingUrl field is present.

Next