/customers

Add or update customers.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Add or update customers by sending a JSON body with key, private_key, and a customers array. Each entry is a customer object.

AttributeRequired
customeridRequired if email is not sent
emailRequired if customerid is not sent or if using Email and Audience

The example includes both identifiers and sets subscribed to false.

Use the same identifier when updating a record. Use PATCH /customers to update selected attributes.

Once a customer is created, do not change its customerid or email identity fields.

A response with status ok acknowledges the request. Changes may not be visible immediately; use GET /customers to verify the stored result.

Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.

Body Params
string
required

Your Store's public API key.

string
required

Your Store's private API key. Keep it on your server.

customers
array
required

A list of customer objects. Each requires customerid or email.

customers*
Response

Language
Credentials
Query
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json