Skip to main content
PATCH
Update a customer

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

business_id
string<biz_string>
required
customer_id
string<cus_string>
required

Body

application/json
name
string | null

The name of the customer

Maximum string length: 255
email
string | null

The email address of the customer

Maximum string length: 255
billing_address
Address · object | null

The billing address of the customer

shipping_address
Address · object | null

The shipping address of the customer

phone_number
string | null

The phone number of the customer

Maximum string length: 32
is_disabled
boolean | null

Whether the customer is disabled. Set to false to re-enable a disabled customer.

Response

Successful Response

data
Customer · object
required