PATCH
/
customers
/
{customer_id}

Authorizations

Authorization
string
header
required

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

Path Parameters

customer_id
string
required
Maximum length: 50

Body

application/json

Payload to update customer

address
object

billing address of the customer

name
string

Name of the Customer

Required string length: 3 - 255
primaryEmail
string

Primary email of the customer

Maximum length: 320

Response

200 - application/json

Structure of customer

address
object
required

billing address of the customer

billingAddress
string
required

billing address of the customer

Maximum length: 1000
createdAt
string
required
id
string
required

Identifier of customer

Maximum length: 50
name
string
required

Name of the Customer

Required string length: 3 - 255
primaryEmail
string
required

Primary email of the customer

Maximum length: 320
status
enum<string>
required

Status of the customer

Available options:
ACTIVE,
ARCHIVED
togaiCustomerId
string
required

Unique identifier of customer

updatedAt
string
required