PATCH
/
customers
/
{id}
curl --request PATCH \
  --url https://commerce.driv.ly/api/customers/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "addresses": [
    "<string>"
  ],
  "phoneNumbers": [
    "<string>"
  ]
}'
{
  "data": {
    "id": "<string>",
    "addresses": [
      "<string>"
    ],
    "phoneNumbers": [
      "<string>"
    ]
  },
  "success": true
}

Path Parameters

id
string
required

Customer is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Body

application/json
id
string

Customer is uniquely identified by id

addresses
array

Customer is located at Addresses

phoneNumbers
string[]

Customer has Phone Number

Response

200
application/json
Customer Updated
data
object
success
boolean