Upsert customers in bulk
Creates or updates up to 50 customers in a single request. Each record is matched on customer_id: existing customers are updated, new ones are created. Validation is performed per item — rejected items are returned in rejected_items while valid items are accepted. Processing is asynchronous, so changes may not be immediately visible on subsequent reads.
Parameters
Header Parameters
[Authentication] Required API key.
"^[a-zA-Z0-9-]{20,64}$"Request Body
Responses
Objects have been sent to the processing queue. Partially invalid objects are rejected and returned in rejected_items.
Upsert customers in bulk Creates or updates up to 50 customers in a single request. Each record is matched on customer_id: existing customers are updated, new ones are created. Validation is performed per item — rejected items are returned in rejected_items while valid items are accepted. Processing is asynchronous, so changes may not be immediately visible on subsequent reads. POST /v1/customers bulkCreateCustomers Customers spm-api-key [Authentication] Required API key. Objects have been sent to the processing queue. Partially invalid objects are rejected and returned in rejected_items. All objects are invalid, or the request body is not an array, or the array exceeds the maximum allowed size Server error - Internal processing failure