Remove Customer's Address
DELETE
/store/customers/me/addresses/{address_id}
Customers
Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request DELETE '{{BASE_URL}}/store/customers/me/addresses/' \
--header 'x-publishable-api-key;'
Response Response Example
200 - Example 1
{
"id": "string",
"object": "address",
"deleted": true,
"parent": {
"id": "string",
"email": "user@example.com",
"default_billing_address_id": "string",
"default_shipping_address_id": "string",
"company_name": "string",
"first_name": "string",
"last_name": "string",
"phone": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"addresses": [
{
"id": "string",
"address_name": "string",
"is_default_shipping": true,
"is_default_billing": true,
"customer_id": "string",
"company": "string",
"first_name": "string",
"last_name": "string",
"address_1": "string",
"address_2": "string",
"city": "string",
"country_code": "usd",
"postal_code": "string",
"phone": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"province": "us-ca"
}
]
}
}
Request
Path Params
address_id
stringÂ
required
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields. This API route restricts the fields that can be selected. Learn how to override the retrievable fields in the Retrieve Custom Links documentation.Header Params
x-publishable-api-key
stringÂ
required
Responses
Modified at 2025-06-17 04:21:30