Shipments

The Shipments resource describes one or more shipments in a fulfillment order.

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: {"offset":{"totalSeconds":0,"id":"Z","rules":{"fixedOffset":true,"transitions":[],"transitionRules":[]}},"nano":0,"year":2018,"monthValue":4,"dayOfMonth":25,"hour":20,"minute":36,"second":0,"dayOfWeek":"WEDNESDAY","dayOfYear":115,"month":"APRIL"}
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