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.

var order = await client.Orders.GetAsync(id);

if (order.Status == OrderStatus.Shipped)
{
    Console.WriteLine("Order shipped!");

    if (!string.IsNullOrEmpty(order.TrackingUrl))
    {
        Console.WriteLine("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