PATCH
/
shipping
/
{shipmethodId}

Authorizations

Authorization
string
header
required

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

Headers

x-site-context
string
required

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.

Path Parameters

shipmethodId
string
required

24-character system-generated unique ID of shipping method

Body

application/json

Details of shipping method

addressType
string
required

Address type of delivery

channel
string
required

Sales channel

cost
number
required

Shipping cost

createdBy
string
required

User who created the shipping method

cutOffTime
integer
required

Cut off delivery time

description
string
required

Brief description of shipping method

maximumDays
integer
required

Maximum days for delivery

minimumDays
integer
required

Minimum days for delivery

name
string
required

Shipping method name

taxCode
string
required

Tax code based on the state

cartValue
object

Min-max value

configuredBy
string

User who configured the shipping method

createdAt
string

Time of shipping method creation

deleted
boolean

true: Shipping method is deleted <br /> false: Shipping method is active

dimension
object

Min-Max dimension details

region
string

Region or state of shipping

shippingMethodId
string

24-character system-generated unique shipping method ID. Optional in the request body

updatedAt
string

Time of shipping method creation

updatedBy
string

User who last modified the shipping method

weight
object

Min-max value

Response

200 - application/json

Details of shipping method

addressType
string
required

Address type of delivery

channel
string
required

Sales channel

cost
number
required

Shipping cost

createdBy
string
required

User who created the shipping method

cutOffTime
integer
required

Cut off delivery time

description
string
required

Brief description of shipping method

maximumDays
integer
required

Maximum days for delivery

minimumDays
integer
required

Minimum days for delivery

name
string
required

Shipping method name

taxCode
string
required

Tax code based on the state

cartValue
object

Min-max value

configuredBy
string

User who configured the shipping method

createdAt
string

Time of shipping method creation

deleted
boolean

true: Shipping method is deleted <br /> false: Shipping method is active

dimension
object

Min-Max dimension details

region
string

Region or state of shipping

shippingMethodId
string

24-character system-generated unique shipping method ID. Optional in the request body

updatedAt
string

Time of shipping method creation

updatedBy
string

User who last modified the shipping method

weight
object

Min-max value