Skip to main content
POST
Upsert Customers

Authorizations

X-API-Key
string
header
required

Body

application/json

Upsert customers request model.

data
CreateCustomerRequest · object[]
required

List of customers to create or update, up to 1000 customers and 5 MB per request. Each customer takes the same fields as Create customer. For an existing customer, omitted fields keep the current value, and null clears name, email and exemption.source_reported_exempt. A null source_updated_at keeps the current date. If the same customer appears more than once, every copy fails.

Maximum array length: 1000

Response

Successful Response

Upsert customers response model.

summary
BatchSummary · object
required

Number of items with each result.

data
BatchCustomerResult · object[]
required

Results in the same order as the request.

object
string
default:batch

Always batch.