PUT
/
carts
/
{cartId}
/
shipping-details
/
{shippingDetailId}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-fabric-tenant-id
string
required

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
string

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.

x-fabric-request-id
string

Unique request ID

Path Parameters

cartId
string
required

Cart ID

shippingDetailId
string
required

Shipping detail identifier

Body

application/json

Request body to update shipping details

type
string
required

Shipping type

address
object

Shipping address

taxCode
string | null

Shipping tax code

isPickup
boolean

true: Item is set for pickup<br />false: Item is set for delivery

locationNumber
integer

Number of location where item is to be picked up

altPickupPerson
object

Alternative pickup person

pickupPerson
object

Designated pickup person

warehouseId
string | null

Warehouse ID

storeId
string | null

Store ID

shippingCost
number

Shipping cost

shippingMethodId
string

Shipping method ID

shippingDiscount
number

Discount amount

shippingMethodName
string | null

Shipping method name

Response

200 - application/json

Shipping Details

id
string

Shipping details ID

createdAt
string

Time shipping detail was created

updatedAt
string

Time shipping detail was last updated

address
object

Shipping address

type
string

Shipping type

taxCode
string | null

Shipping tax code

isPickup
boolean

true: Item is set for pickup<br />false: Item is set for delivery

altPickupPerson
object

Alternative pickup person

pickupPerson
object

Designated pickup person

warehouseId
string | null

Warehouse ID

storeId
string | null

Store ID

shippingCost
number

Shipping cost

shippingMethodId
string

Shipping method ID

shippingDiscount
number

Discount amount

shippingMethodName
string | null

Shipping method name

Was this page helpful?