Customers
Update a customer
Update a customer for the authenticated workspace.
PATCH
/
customers
/
{id}
Authorizations
Authorization
string
headerrequiredDefault authentication mechanism
Path Parameters
id
string
requiredThe unique identifier of the customer in Dub.
Body
application/json
email
string | null
Email of the customer in the client's app.
name
string | null
Name of the customer in the client's app. If not provided, a random name will be generated.
avatar
string | null
Avatar URL of the customer in the client's app.
externalId
string
Unique identifier for the customer in the client's app.
Response
200 - application/json
id
string
requiredThe unique identifier of the customer in Dub.
externalId
string
requiredUnique identifier for the customer in the client's app.
name
string
requiredName of the customer.
email
string | null
Email of the customer.
avatar
string | null
Avatar URL of the customer.
createdAt
string
requiredThe date the customer was created.
Was this page helpful?