put/customer/by-id
Update Customer
Update an existing customer's name, email, or metadata.
Authentication required: Bearer Token in
Authorization header.Parameters
Idempotency-Key
string (header)Client-generated unique key making a mutating request idempotent. Replaying a request with the same key returns the original result instead of duplicating side effects. Optional on POST/PUT/PATCH/DELETE.
e.g. <IDEMPOTENCY-KEY>Request Body (application/json)
namerequired
stringcustomerIdrequired
stringThe unique identifier of the customer to update
email
stringResponses
200Customer updated successfully
Response Body (200)
action
stringstatus
booleancode
integerRequest Example
Response (200 OK)