Skip to main content
POST
Get shipping documents
Part of the Shipping Documents API integration guide — see it for when and how to use this endpoint.

Body

application/json
OrderId
string
required

"eCommerce order number" as passed down in the order payload. For Shopify, should be either the Shopify Order Name (default), e.g. #12345; or the Shopify Order Number, e.g. 12345.

Parcels
Parcel · object[]
required
DeliveryReferenceNumber
string

Additional informative dispatch reference.

HubCode
string

When dispatching from multiple hubs, indicates for a given call which hub the related shipment will be dispatched from.

Response

Successful response, or a 200 carrying object-level processing errors (IsSuccess=false with the Errors array populated).

IsSuccess
boolean

Indicates whether the API call was successful.

ErrorText
string | null

Description of the error for getting documents.

Documents
OrderDocument · object[] | null

List of OrderDocument objects that hold the shipping documents.

ParcelsTracking
Merchant.ParcelTracking · object[] | null

The list of Merchant.ParcelTracking objects. Each object holds the parcel tracking number and the full tracking URL of the relevant shipper (with the parcel tracking number).

TrackingDetails
Merchant.TrackingDetails · object | null

Order tracking information.

DeliveryAdviceInformation
DeliveryAdviceInformation · object[] | null

List of DeliveryAdviceInformation objects that hold the information required for the "Delivery Advice" document.

Errors
OrderProcessingError · object[] | null

Object-level processing errors (returned with HTTP 200).