Skip to main content
POST
Updates an existing customer’s information.

Path parameters

string
required
The unique identifier for the customer

Request body

string
Customer name (minimum 3 characters)
string
Customer email address (must be valid email format)
string
A tax or business registration number for the customer (e.g., VAT ID, EIN, GST number).
object
Customer’s shipping address

Response

Returns a success message upon successful update.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique identifier of the transaction to update

Body

application/json
name
string

A display name for this customer.

Minimum string length: 3
email
string<email>

Email address of the customer.

shipping_address
object

Address object. Only country is required at the schema level. All other field requirements (including postal_code and state) vary by country — use the /address-requirements endpoint to check which fields are REQUIRED, OPTIONAL, or IGNORED for a given country. When provided, postal codes and state codes are validated against country-specific formats and allowed values.

business_identification_number
string

Business identification number for the customer (e.g., tax ID, VAT number, or EIN).

Response

Information about the customer after the update

message
string
Example:

"Successfully updated customer."