How to bulk delete customer addresses

Brian_Kidd
Excursionist
35 0 8

Per the documentation, multiple addresses can be deleted using a PUT and providing the address ids:  https://shopify.dev/docs/admin-api/rest/reference/customers/customer-address#destroy-2020-07

I'm using this: https://<my-subdomain>/admin/api/2020-07/customers/<customer-id>/addresses/set.json?address_ids[]=<a...

but only the first address is deleted.  Is comma (,) the separator or should I be doing something else?  I am receiving a 200 response.  Thanks.

0 Likes