Update a customer

Updates information on an existing customer.

PUT

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the customer to update.

Request Body

application/json
string

The name of the customer.

email

The email address of the customer.

tel

The phone number of the customer. (eg +597-8123456).

string

Currency code in ISO 4217 format.

SRDUSDEUR
object

Customer billing details.

string

Address line 1.

string

Address line 2.

string

City.

string

State.

string

Zip code.

string

Country code in ISO 3166-1 alpha-2 format.

object

Customer shipping details schema.

string

Full name of the customer.

string

Phone number of the customer. (e.g. +597-8123456)

string

Address line 1.

string

Address line 2.

string

City.

string

State.

string

Zip code.

string

Country code in ISO 3166-1 alpha-2 format.

object

Custom metadata. Can be up to 5 custom key-value pairs.

Response Body

application/json
boolean

Indicates that the request was successful.

string

A descriptive message regarding the result.