PATCH
/
order
/
{orderId}
/
customer

Authorizations

Authorization
string
headerrequired

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

Body

application/json

Order customer model

name
object

Name for order details

email
string
phone
object

Contact details of customer for the order

userId
string

It is shopper's ID who visits company website to purchase products.

accountId
string

Account ID such as loyalty account ID or memebr account ID. Refers to any external system or fabric's loyalty service that the user has account with.

employeeId
string

ID of the employee (sales person) who creates an order for shopper.

company
string

Response

200 - application/json

Order customer model

name
object

Name for order details

email
string
phone
object

Contact details of customer for the order

userId
string

It is shopper's ID who visits company website to purchase products.

accountId
string

Account ID such as loyalty account ID or memebr account ID. Refers to any external system or fabric's loyalty service that the user has account with.

employeeId
string

ID of the employee (sales person) who creates an order for shopper.

company
string