Shipments

The Shipments resource is a pivotal component of the fulfillment process, providing detailed information about one or more shipments within a fulfillment order. It encompasses all the necessary details required to track and manage the delivery of goods, ensuring efficient coordination between ordering, packing, and transportation activities. This resource is essential for maintaining transparency and accuracy in the logistics workflow.

Returns a list of shipments

get

Get all shipments

Query parameters
endingBeforestringOptional

A cursor for use in pagination. The endingBefore parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with xyz your subsequent calls can include endingBefore=xyz in order to fetch the previous page of the list.

startingAfterstringOptional

A cursor for use in pagination. The startingAfter parameter is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with xyz, your subsequent calls can include startingAfter=xyz in order to fetch the next page of the list.

limitinteger · min: 1 · max: 100Optional

A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.

idsstring[]Optional

Only return objects with these IDs.

Responses
chevron-right
200

200 OK

application/json
hasMorebooleanOptional

Indicates whether or not there are more elements available after this set. If false this set represents the end of the list.

Example: true
get
/shipments

Gets a shipment by ID

get

Retrieves the details of a shipment. You must supply the unique identifier of the shipment.

Path parameters
idstringRequired

Shipment identifier.

Responses
chevron-right
200

OK.

application/json
idstringRead-onlyOptional

The unique identifier of a shipment.

Example: 29016544906
createdTimestring · date-timeRead-onlyOptional

Time when the shipment was created.

Example: 2018-04-25T20:36:00Z
fulfillmentOrderIdstringOptional

The identifier of the fulfillment order.

Example: 5774321009
fulfillmentOrderUpstreamIdstringOptional

The upstream identifier of the fulfillment order.

shippingChoiceIdstringRead-onlyOptional

The shipping method.

Example: SG
trackingCompanyIdstring · nullableRead-onlyOptional

The unique identifier of the tracking or carrier company.

Example: 0001
trackingCompanystringOptional

The name of the tracking or carrier company.

Example: Fedex
trackingNumberstringOptional

The tracking number provided by the carrier company.

Example: 5678901234
trackingUrlstringOptional

The URL of the fulfillment tracking page.

Example: http://www.digitalriver.com?code=5678901234
liveModebooleanOptional

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

Example: false
get
/shipments/{id}

Last updated