curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/account/addresses/{id} \
--header 'Authorization: Bearer <token>'{
"error": "The resource you were looking for could not be found."
}This endpoint removes the specified address for the current user. It uses a soft delete to retain address information for pre-existing orders.
curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/account/addresses/{id} \
--header 'Authorization: Bearer <token>'{
"error": "The resource you were looking for could not be found."
}User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
The ID of the specified address.
"1"
204 Success No Content Returned - Requested Address has been removed from the User Account
Was this page helpful?