Skip to main content
PATCH
Update a customer

Authorizations

Authorization
string
header
required

Authentication header of the form api key, where api key is your organization api key.

Headers

X-API-Version
enum<string>
default:1.0.0
required

Specifies the version of the API to use

Available options:
1.0.0

Path Parameters

id
string
required

The ID of the customer to update

Body

application/json

Update customer data

address
object

Billing address of the customer

email
string

Email address of the customer

Example:

"jane.doe@example.com"

full_name
string

Full name of the customer

Example:

"Jane Doe"

metadata
object

Custom metadata associated with the customer. A dictionary of key-value pairs that is deep-merged into any existing metadata.

Example:
phone
string

Phone number of the customer in E.164 format

Example:

"+1234567890"

Response

OK

address
object

Address associated with customer

created_at
string

The date and time the customer was created in UTC format

Example:

"2025-05-28T14:00:00Z"

email
string

Email of the customer

Example:

"alice.johnson@example.com"

external_id
string

External ID of the customer

Example:

"ext_001"

full_name
string

Full name of the customer

Example:

"Alice Johnson"

id
string

Unique identifier

Example:

"cus_b8d0fe7e-3a7f-4b5f-a68b-d31358b49c3f"

metadata
object

Additional metadata as a JSON object

Example:
payment_methods
(Card API Schema · object | PayPal API Schema · object | Venmo API Schema · object | CashApp API Schema · object | Apple Pay API Schema · object | Google Pay API Schema · object)[]
phone
string

Customer's phone number

Example:

"+1-555-123-4567"

subscriptions
object[]
updated_at
string

The date and time the customer was last updated in UTC format

Example:

"2025-05-28T14:05:00Z"