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.
Get all shipments
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.
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.
A limit on the number of objects returned. Limit can range between 1 and 100, and the default is 10.
Only return objects with these IDs.
200 OK
400 Bad Request
401 Unauthorized
403 Forbidden
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
GET /shipments HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
"hasMore": true,
"data": [
{
"id": "29016544906",
"createdTime": "2018-04-25T20:36:00Z",
"fulfillmentOrderId": "5774321009",
"fulfillmentOrderUpstreamId": "text",
"shippingChoiceId": "SG",
"trackingCompanyId": "0001",
"trackingCompany": "Fedex",
"trackingNumber": "5678901234",
"trackingUrl": "http://www.digitalriver.com?code=5678901234",
"items": [
{
"id": "8760948870",
"fulfillmentOrderItemId": "650398674428",
"fulfillmentOrderItemUpstreamId": "650398674428",
"inventoryItemId": "text",
"partNumber": "SWG1224J10L",
"quantity": 1,
"trackingUrls": [
{
"trackingNumber": ".",
"trackingUrl": "."
}
],
"unitAttributes": [
{
"serialNumber": ".",
"imeiNumber": ".",
"simCardNumber": "."
}
]
}
],
"liveMode": false
}
]
}
Retrieves the details of a shipment. You must supply the unique identifier of the shipment.
Shipment identifier.
OK.
400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
GET /shipments/{id} HTTP/1.1
Host: api.digitalriver.com
Accept: */*
{
"id": "29016544906",
"createdTime": "2018-04-25T20:36:00Z",
"fulfillmentOrderId": "5774321009",
"fulfillmentOrderUpstreamId": "text",
"shippingChoiceId": "SG",
"trackingCompanyId": "0001",
"trackingCompany": "Fedex",
"trackingNumber": "5678901234",
"trackingUrl": "http://www.digitalriver.com?code=5678901234",
"items": [
{
"id": "8760948870",
"fulfillmentOrderItemId": "650398674428",
"fulfillmentOrderItemUpstreamId": "650398674428",
"inventoryItemId": "text",
"partNumber": "SWG1224J10L",
"quantity": 1,
"trackingUrls": [
{
"trackingNumber": ".",
"trackingUrl": "."
}
],
"unitAttributes": [
{
"serialNumber": ".",
"imeiNumber": ".",
"simCardNumber": "."
}
]
}
],
"liveMode": false
}
Last updated