Shipping Method
Add items to shipping methods
Associated items to a shipping method
POST
/
shipping
/
{shipMethodId}
/
item
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
x-site-context
string
requiredThe 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
required24-character system-generated unique ID for shipping method
Body
application/json
List of item IDs
itemIds
string[]
requiredList of item IDs
Response
200 - application/json
shippingMethodId
string
required24-character system-generated shipping method ID
itemId
string
requiredItem ID
deleted
boolean
true: Item is deleted <br /> false: Item is not deleted
Was this page helpful?