Update a customer

Update the attributes of a specific customer.

Request

Path Parameters
Path Parameters

The ID of the Customer object.

Header Parameters
Header Parameters

Example: "Bearer sk_1234567890ABCdefGHIjklMNOpqrSTUvwxYZ_1234567890-Ab_cdeFGHijkLMNopq"

This parameter accepts the Merchant API Secret key to authorise requests coming from the merchant's backend.

It ensures that ensures that each request is authenticated and authorised by verifying the secret key. The secret key should be included in all request headers as a Bearer token.

info

For more information, see: Authentication

Request body
Body object

The full name of the customer.

The name of the customer's business.

The email address of the customer.

note

This value must be unique for each customer for one merchant. If the email address matches an existing customer, an error is returned.

The phone number of the customer in E.164 format.

The birth date of the customer.

Response

OK

Response body
Body object

Permanent customer ID used to retrieve, update, and delete a customer.

The full name of the customer.

The name of the customer's business.

The phone number of the customer in E.164 format.

The date and time the customer was created.

The data and time the customer was last updated.

The email address of the customer.

The birth date of the customer.

Was this page helpful?