Skip to main content
PUT
Update customer

Authorizations

Authorization
string
header
required

Your secret key as a Bearer token. The key prefix selects the environment: sk_test_... (test) or sk_live_... (live).

Path Parameters

customerId
string
required

The merchant customer's unique identifier.

Body

application/json

At least one of firstname, lastname or email must be present.

firstname
string

New first name. Cannot be an empty string.

Minimum string length: 1
Example:

"Ada"

lastname
string

New last name. Cannot be an empty string.

Minimum string length: 1
Example:

"Eze"

email
string<email>

New email address. Stored lowercased and must not already belong to another customer on your account.

Response

Customer updated.

status
integer
Example:

200

message
string
Example:

"Customer fetched successfully"

data
object