Skip to main content
PATCH
/
order
/
{orderId}
/
customer
Update customer information for an order
curl --request PATCH \
  --url https://prod01.oms.fabric.inc/api/v2/order/{orderId}/customer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-site-context: <x-site-context>' \
  --data '{
  "name": {
    "first": "John",
    "middle": "Middle",
    "last": "Doe"
  },
  "email": "[email protected]",
  "phone": {
    "number": "55555555555",
    "type": "MOBILE"
  },
  "userId": "62272e917b12209e68751d94",
  "accountId": "62272e917b12209e68751d94",
  "employeeId": "62272e917b12209e68751d94",
  "company": "fabric"
}'
{
  "name": {
    "first": "John",
    "middle": "Middle",
    "last": "Doe"
  },
  "email": "[email protected]",
  "phone": {
    "number": "55555555555",
    "type": "MOBILE"
  },
  "userId": "62272e917b12209e68751d94",
  "accountId": "62272e917b12209e68751d94",
  "employeeId": "62272e917b12209e68751d94",
  "company": "fabric"
}

Authorizations

Authorization
string
header
required

Headers

x-site-context
string
required
Example:

Path Parameters

orderId
string
required
Example:

Body

application/json
name
object
email
string
Example:
phone
object
userId
string
Example:
accountId
string
Example:
employeeId
string
Example:
company
string
Example:

Response

name
object
email
string
Example:
phone
object
userId
string
Example:
accountId
string
Example:
employeeId
string
Example:
company
string
Example: