Delete addresses of a customer in bulk
DELETE/v2/customers/:lookupKey/:lookupValue/addresses/bulk
Removes every address named in the body from the customer identified by the URL.
Each id is deleted exactly as the single delete would delete it, and every deleted address emits its own event. An id that cannot be deleted lands in failedIds with an entry in failures saying why; the rest of the batch is deleted regardless, and repeated ids get one verdict.
An id that belongs to another customer reads as ADDRESS_NOT_FOUND_ERROR — the lookup is always scoped to the customer in the URL.
Request
Responses
- 200
Bulk delete completed. Read failures for the ids that were not deleted.