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
200

200 OK

application/json
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
200

OK.

application/json
get
/shipments/{id}

Last updated