Update shipment
Updates shipment details by shipment ID
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The x-site-context
header is a JSON object that contains information about the source you wish to pull from. The mandatory account
is the 24 character identifier found in Copilot. The channel
(Sales channel ID), stage
(environment name), and date
attributes can be used to further narrow the scope of your data source.
"{\"date\": \"2023-01-01T00:00:00.000Z\", \"channel\": 12, \"account\": \"1234abcd5678efgh9ijklmno\",\"stage\":\"production\"}"
Path Parameters
Body
Shipment details
24-character fabric-generated unique ID of shipment
"627963716b19511e8a3a631b"
Shipment number (external)
"78974156816152"
fabric-generated Invoice ID
"5674156816152"
Allocation ID for an order, generated from allocation service
"112345678912340"
Order number. It's usually generated by another system, such as an external checkout system.
["112345678912340", "112345678912340"]
Purchase order number (generally, vendor-generated)
"1125"
Vendor ID
"56"
Shipment status code
SHIPMENT_CREATED
, SHIPMENT_CANCELLED
, PICKUP_CREATED
, PICKUP_COMPLETED
, SHIPMENT_RETURN_PENDING
, SHIPMENT_RETURN_RECEIVED
, SHIPMENT_PARTIALLY_DELIVERED
, SHIPMENT_DELIVERED
"SHIPPED"
shipment type
STANDARD
, RESHIP
, RETURN
, SCRATCH
, PICKUP
"STANDARD"
Reason code for reshipment
"Order went missing"
Time of shipping
"2022-06-06T07:58:30.996Z"
location number from location service to get exact address.
"132412"
Location type based on location service such as store, distribution center (DC)
"DC"
Total number of cartons
2
Main tracking number, to track fulfillment of all the orders
"TX112345678"
Ship-to ID refers to item's delivery address
"1"
Details of delivery address
Recipient details for shipment
Carton details
details of scratched items
Shipment details of return items
Time of shipment creation
"2022-06-06T07:58:30.996Z"
Time of last update
"2022-06-06T07:58:30.996Z"
Details of audit logs
Audit details
Attribute details for additional information
Response
Shipment details
24-character fabric-generated unique ID of shipment
"627963716b19511e8a3a631b"
Shipment number (external)
"78974156816152"
fabric-generated Invoice ID
"5674156816152"
Allocation ID for an order, generated from allocation service
"112345678912340"
Order number. It's usually generated by another system, such as an external checkout system.
["112345678912340", "112345678912340"]
Purchase order number (generally, vendor-generated)
"1125"
Vendor ID
"56"
Shipment status code
SHIPMENT_CREATED
, SHIPMENT_CANCELLED
, PICKUP_CREATED
, PICKUP_COMPLETED
, SHIPMENT_RETURN_PENDING
, SHIPMENT_RETURN_RECEIVED
, SHIPMENT_PARTIALLY_DELIVERED
, SHIPMENT_DELIVERED
"SHIPPED"
shipment type
STANDARD
, RESHIP
, RETURN
, SCRATCH
, PICKUP
"STANDARD"
Reason code for reshipment
"Order went missing"
Time of shipping
"2022-06-06T07:58:30.996Z"
location number from location service to get exact address.
"132412"
Location type based on location service such as store, distribution center (DC)
"DC"
Total number of cartons
2
Main tracking number, to track fulfillment of all the orders
"TX112345678"
Ship-to ID refers to item's delivery address
"1"
Details of delivery address
Recipient details for shipment
Carton details
details of scratched items
Shipment details of return items
Time of shipment creation
"2022-06-06T07:58:30.996Z"
Time of last update
"2022-06-06T07:58:30.996Z"
Details of audit logs
Audit details
Attribute details for additional information