POST
/
businesses
/
{id}
/
customers
/
batch_update

Batch update is done as “all or nothing.” If any of the updates causes an error (say after updating two customers would have had the same email address), all updates in the batch are cancelled.

Authorizations

Authorization
string
header
required

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
customers
object[]
required

An array of customer data to update. Must identify every customer with their ID

Response

200 - application/json
customers
object[]
required

An array of updated Customer objects