Skip to main content
POST
Make sure your integration follows the latest authentication and IP whitelisting guidelines.
Part of the Generating Shipping Documents integration guide — see it for when and how to use this endpoint.

Body

application/json

Identifies which orders or parcels to dispatch. Supply at least one of ParcelCodes, TrackingNumbers, OrderIds, or MerchantOrderIds. Only one resolution method applies per request: (1) If ParcelCodes is non-empty, only those parcels are dispatched and TrackingNumbers and order identifiers in the same request are ignored. (2) Else if TrackingNumbers is non-empty, only matching parcels are dispatched and order identifiers in the same request are ignored. (3) Else order-level dispatch uses OrderIds and/or MerchantOrderIds (existing behaviour). When both TrackingNumbers and ParcelCodes are sent, ParcelCodes are used. When dispatching by parcel identifiers, only matching parcels are dispatched; the rest of the order stays open.

HubCode
string

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

OrderIds
string[]

Global-e order IDs for order-level dispatch when you do not send parcel identifiers. Ignored when a non-empty ParcelCodes or TrackingNumbers list is used.

MerchantOrderIds
string[]

Your eCommerce order numbers for order-level dispatch when you do not send parcel identifiers. For Shopify, use either the Shopify Order Name (default), e.g. #12345, or the Shopify Order Number, e.g. 12345. Ignored when a non-empty ParcelCodes or TrackingNumbers list is used.

ParcelCodes
string[]

Merchant parcel identifiers for the parcels to dispatch. Each code must match a parcel that is Received In Hub, belongs to your account, and when HubCode is supplied, belongs to that hub.

TrackingNumbers
string[]

AWB or tracking numbers for the parcels to dispatch. Each number matches a parcel at parcel level, or at order level for single-parcel or consolidated orders where tracking is stored on the order. Parcels must be Received In Hub, belong to your account, and when HubCode is supplied, belong to that hub.

Response

Successful response.

IsSuccess
boolean

Indicates whether the API call was successful.

ErrorText
string | null

Description of the error for getting documents.

ShipperManifests
OrderDocument · object[] | null

List of OrderDocument objects that hold shipper manifest documents.

Errors
ShipperManifestError · object[] | null

The orders or parcels that could not be dispatched, one entry each. See DispatchOrders error codes.