Create shipping details for specified cart. Shipping detail is identified by a unique ID, and includes the shipment’s delivery address, shipment method, pickup person’s details, warehouse ID, store ID, and more.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
Cart ID
"b8a64b52-dab4-8137-8d6a-f2c2337abc1"
Request body containing shipping details to be created
Request body to create shipping details
Shipping type
"SHIP_TO_ADDRESS"
Shipping address
Shipping tax code
"FR1000"
true: Item is set for pickup
false: Item is set for delivery
true
Number of location where item is to be picked up
15
Alternative pickup person
Designated pickup person
Warehouse ID
"XYZ-1234"
Store ID
"ABC-123"
Shipping cost
150.25
Shipping method ID
"dfsae-2d32113-32lpdd"
Discount amount
150.25
Shipping method name
"Express Delivery"
Created
Shipping Details
Shipping details ID
"fef78121-bee3-4448-bf1c-d5b5461dbda2"
Time shipping detail was created
"2022-09-06T14:07:17.000Z"
Time shipping detail was last updated
"2022-09-06T14:07:17.000Z"
Shipping address
Shipping type
"SHIP_TO_ADDRESS"
Shipping tax code
"FR1000"
true: Item is set for pickup
false: Item is set for delivery
true
Alternative pickup person
Designated pickup person
Warehouse ID
"XYZ-1234"
Store ID
"ABC-123"
Shipping cost
150.25
Shipping method ID
"dfsae-2d32113-32lpdd"
Discount amount
150.25
Shipping method name
"Express Delivery"