POST
/
businesses
/
{id}
/
customers

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the business

Body

application/json
email_address
string
required

The email address of the customer

phone_number
string | null

The phone number of the customer

metadata
any | null

Any metadata to attach to the customer

Response

200 - application/json
id
string
required

The ID of the customer

email_address
string | null
required

The email address of the customer

phone_number
string | null
required

The phone number of the customer

metadata
any
required

The metadata associated with this customer