Batch create customers
Create up to 100 customers in a single request.
Create up to 100 customers in a single request.
ApiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
1 <= items <= 100curl -X POST "https://commet.co/api/customers/batch" \ -H "Content-Type: application/json" \ -d '{ "customers": [ { "billingEmail": "user@example.com" } ] }'Create up to 100 customers in a single request.
{
"success": true,
"data": {
"successful": [
{
"id": "string",
"billingEmail": "string"
}
],
"failed": [
{
"index": 0,
"error": "string",
"data": {
"property1"
{
"success": false,
"code": "string",
"message": "string",
"details": null
}