Next Couriers

In AfterShip Tracking, if a shipment has multiple carriers, you can use the next_couriers field to specify the second carrier directly. This is useful when the first carrier does not provide such information to AfterShip.

This documentation describes how to define the next_couriers information for the shipments imported by Commerce API.

Kindly refer to the instructions on the Tracking common scenario page to properly create your order.

FieldDescriptionSample
delivery_methodDelivery method of the fulfillment, only shipping is accepted for defining next couriers informationshipping
trackings.*.tracking_numberTracking number123456789
trackings.*.next_couriersNext courier array, currently only 1 next carrier object is accepted-
trackings.*.next_couriers[0].tracking_numberThe tracking number of the next carrier123456789
trackings.*.next_couriers[0].slugThe slug of the next carrierusps

Recommended Optional Fields

FieldDescriptionSample
trackings.*.slugCarrier slugusps
preparing...