Update shipping details for all items in a specific cart
Update shipping details for all items in a specified cart. Shipping details include the shipment’s delivery address, shipment method, pickup persons’ details, warehouse ID, store ID, and more.
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\"}"
API Key for Gateway
"zaCELgL.0imfnc8mVLWwsAawjYr4Rx-Af50DDqtlx"
Authorization token for the user
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjYxZjIyMTU4..."
Path Parameters
ID of cart for which shipping data is being updated
"d7e78a21-bee3-4448-bf1c-d5b5461dbda2"
Body
Shipping details to be updated
Cart ID
"d7e78a21-bee3-4448-bf1c-d5b5461dbda2"
Shipping details ID
"fef78121-bee3-4448-bf1c-d5b5461dbda2"
Shipping method and details
Shipping address
Shipping type
"SHIP_TO_ADDRESS"
Shipping tax code
"FR1000"
true: Item is set for pickup<br />false: Item is set for delivery
true
Alternative pickup person
Designated pickup person
Warehouse ID
"XYZ-1234"
Store ID
"ABC-123"
Estimated date for shipping
"2022-02-18T15:12:40.974580"
Estimated date for delivery
"2022-02-18T15:12:40.974580"
Store ID
"Additional user instructions for shipping"
Response
Shipping response body
Shipping details ID
"fef78121-bee3-4448-bf1c-d5b5461dbda2"
Cart ID
"d7e78a21-bee3-4448-bf1c-d5b5461dbda2"
Shipping details creation time
"2022-02-18T15:12:40.974580"
Last time shipping details were updated
"2022-02-18T15:12:40.974580"
Shipping method and details
Shipping address
Shipping type
"SHIP_TO_ADDRESS"
Shipping tax code
"FR1000"
true: Item is set for pickup<br />false: Item is set for delivery
true
Alternative pickup person
Designated pickup person
Warehouse ID
"XYZ-1234"
Store ID
"ABC-123"
Estimated date for shipping
"2022-02-18T15:12:40.974580"
Estimated date for delivery
"2022-02-18T15:12:40.974580"
Store ID
"Additional user instructions for shipping"
Was this page helpful?