PATCH
Update a customer

Authorizations

Authorization
string
header
required

Your API key, sent as Authorization: Bearer <key>. Create keys in the Cerium dashboard. Keep them on your servers only.

Path Parameters

customerId
string
required

The customer's Cerium id, as returned when you created them.

Body

application/json
name
string
Maximum string length: 255
email
string<email>
Maximum string length: 320
phone
string
Pattern: ^\+[1-9]\d{6,14}$
tags
string[]

The whole set. Tags you leave out are removed, so send [] to clear them.

Maximum array length: 20
Maximum string length: 30
attributes
object

Values for your own attributes, by the name you gave them in the dashboard. Only the ones you send change; a blank value or null removes one. An attribute that does not exist is refused. A value is up to 120 characters.

Response

The updated customer.

message
string
status
string
Example:

"success"

data
object