For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update Customer

Update a customer's details.

Updates an existing customer's details. Only the fields you include in the request will be updated.

Endpoint

PATCH /v1/customers/:prop

Authentication

Accepts either a merchant API key or a business-user JWT.

Header
Value

Authorization

<api_key> or Bearer <jwt>

Path parameters

Parameter
Type
Description

prop

string

Customer UUID, email address, or refCode

Request body

All fields are optional — include only the fields you want to update.

Field
Type
Required
Description

firstName

string

No

Updated first name (minimum length 1)

lastName

string

No

Updated last name (minimum length 1)

phoneNumber

string

No

Updated phone number. Note: the update DTO does not apply @IsPhoneNumber validation, so any string is accepted at this layer; downstream consumers may still expect E.164 format.

Example request

Example response

Last updated