Delete an address
Deactivates an address (soft delete). The record is kept but is no longer listed, reading it returns 404, and its primary flag is cleared. Creating an address with the same content later reactivates it with the same pk.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the address. Only addresses of the calling account can be addressed; any other identifier returns 404.
The address was deactivated.
No content
Authentication credentials were not provided or are invalid.
No active customer address of the calling account exists with the given identifier. This is also returned for addresses that belong to another user, addresses that were deleted, and addresses whose address_type is not customer.
DELETE /api/v1/remote/1/addresses/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

