Update a customer

Updates the email, first name and/or last name of an existing customer. Only the provided fields are changed. If another customer of the merchant already uses the new email, the request fails with HTTP 409 (customers are not merged). Use the X-On-Behalf-Of header to target a connected sub-merchant.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique identifier of the customer (e.g. cus_abc123)

Body Params
string

New email address for the customer

string | null

First name of the customer

string | null

Last name of the customer

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json