v2

latestOpenAPI 3.1.12026-08-06856719.6 KB

Update Customer

This endpoint allows you to update a customer's details.

patch/v1/customers/{customer_id}

Path parameters

customer_idstring required

The Customer id

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Request body

namestring

The name of the customer

emailstring

The email of the customer

phone_numberstring

The phone number of the customer

phone_number_country_codestring

The country code of the phone number

remarkstring

The remark of the customer

birth_datestring date

The birth date of the customer

genderstring

The gender of the customer

Example request

{
  "name": "John Doe"
}

Response

200

idstring required
namestring required
birth_datestring required
emailstring required
phone_numberstring required
genderstring required
remarkstring required
phone_number_country_codestring required
created_atstring required
updated_atstring required