API Reference

Update a customer

Updates the customer resource.

Here are the enums that are contained in the answer:

namevalue
autoCollectionon, off

Error codes:

NotFoundThere is no customer specified in the URL
Path Params
string
required
Defaults to your-site-name-1

Name of your project

string
required
Defaults to test-id

Id of the customer

Body Params
string

The first name of the created customer

string

The last name of the created customer

string

The unique customer’s email address

string

Company name of the customer

string

Phone number of the customer

string

The language of emails sent to the customer. Can be "en", "ua".

string

Optional, default autocollection status for new subscriptions, default=off

billingAddress
object

Billing address of the customer

additionalEmails
array of strings

Added customer emails

additionalEmails
Responses

Language
Credentials
:
Choose an example:
application/json