Shopify-api-node icon indicating copy to clipboard operation
Shopify-api-node copied to clipboard

customerAddress delete

Open mahaboobkhan29 opened this issue 3 years ago • 2 comments

if i create a address by create(customerId, params) for the 1st time it set as default: true and then if i use this to delete delete(customerId, id) it's not deeting say's Response code 422 (Unprocessable Entity) please let me know what's worng

mahaboobkhan29 avatar Nov 02 '21 11:11 mahaboobkhan29

You can probably get more details by logging err.response.body where err is the Error instance.

lpinca avatar Nov 02 '21 17:11 lpinca

i got undefined on error when i delete the default address otherwise it's delete perfectly the non default addresss

mahaboobkhan29 avatar Nov 03 '21 04:11 mahaboobkhan29

I'm closing this due to inactivity.

lpinca avatar Jan 13 '24 14:01 lpinca