{"title":"Delete Address Form - Liquid Form Reference","slug":"delete-address-form-reference","url":"https://support.storeconnect.com/articles/delete-address-form-reference","url_markdown":"https://support.storeconnect.com/articles/delete-address-form-reference.md","subtitle":null,"summary":"The `delete-address` Liquid form removes an entry from the signed-in customer\u0026#39;s address book.","type":"Developer_Documentation","video_url":"","keywords":"liquid, forms, delete-address, address book, addresses, accounts, storeconnect, remote, data-success","last_modified":"2026-11-03T22:15:07+0000","body_markdown":"## Usage\n\n\n```liquid\n\n{% for address in current_customer.addresses %}\n  {% form \"delete-address\", address: address, data-success: \"sc.address-book.changed\", data-type: \"json\", remote: true %}\n    \u003cbutton type=\"submit\"\u003eDelete\u003c/button\u003e\n  {% endform %}\n{% endfor %}\n```\n\n\nThe `delete-address` form removes one entry from the signed-in customer's address book. It is typically rendered as a \"Delete\" button beside each saved address.\n\n| Property | Value |\n|----------|-------|\n| **Form Name** | `delete-address` |\n| **Category** | Accounts |\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `address` | Yes | The [CustomerAddress](customer-address-liquid-object-reference) entry to remove |\n\nAny other tag option is passed through as an HTML attribute on the `\u003cform\u003e` element.\n\nPair it with `remote: true` and a `data-success` event so a reloadable `{% component %}` can refresh the list in place rather than navigating the whole page.\n\n## What happens to a default\n\nWhen the deleted entry was the default shipping or billing address, the customer's oldest remaining entry becomes the new default. When no entries remain, `preferred_shipping_address` and `preferred_billing_address` return the account's own address.\n\n## Form Object\n\nInside the form block, you can access the `form` object which provides:\n\n- `form.errors` — Any validation errors after submission"}