Customers
BulkDeleteCustomers
Deletes multiple customer profiles.
The endpoint takes a list of customer IDs and returns a map of responses.
post/v2/customers/bulk-delete
Request body
Example request
{
"customer_ids": [
"8DDA5NZVBZFGAX0V3HPF81HHE0",
"N18CPRVXR5214XPBBA6BZQWF3C",
"2GYD7WNXF7BJZW1PMGNXZ3Y8M8"
]
}Response
Success
Example response
{
"responses": {
"2GYD7WNXF7BJZW1PMGNXZ3Y8M8": {
"errors": [
{
"category": "INVALID_REQUEST_ERROR",
"code": "NOT_FOUND",
"detail": "Customer with ID `2GYD7WNXF7BJZW1PMGNXZ3Y8M8` not found."
}
]
},
"8DDA5NZVBZFGAX0V3HPF81HHE0": {},
"N18CPRVXR5214XPBBA6BZQWF3C": {}
}
}