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_... (staging) or sk_live_... (production); a key on the wrong host is refused with 403 Unauthorized Access. Each key is limited to 10 requests per minute (429 beyond that) and, on production, to the IP addresses on your dashboard allowlist when one is configured.

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