PATCH
/
order
/
{orderId}
/
shipto
/
{shipToId}
/
pickup

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

orderId
string
required
shipToId
string
required

Body

application/json

Details of the person who picks up the order

email
string
name
object

Name for order details

phone
object

Contact details of customer for the order

pickupType
enum<string>
Available options:
Primary,
Alternate

Response

200 - application/json

Order shipping info

shipToId
string
required

Unique ID to link item with its shipping address. If all items of an order are shipped to single address, then all items will have same shipTo id. If multiple items of an order are shipped to multiple shipping address, then corresponding shipTo id is linked to each item.

attributes
object
estimatedDeliveryDate
string
estimatedShipDate
string
locationNum
string

Location number to be used for BOPIS (Buy Online Purchase In Store) to identify the pickup store

pickup
object[]
shipmentInstructions
string

Additional user instructions

shipMethod
string
shipToAddress
object

Order billing or shipping address

shipToDiscount
number

Discount amount applied for shipping the item to the address

shipToPrice
number

Amount applicable for shipping the item to the address

shipToTaxTotal
number

Total tax applicable to ship the item to the address

shipToType
string
taxCode
string

Code for the tax applied for shiping of items to the adress

taxDetail
object[]