# Address

Displays the current order's billing and shipping addresses, lets the user pick from the customer's saved addresses, and supports creating a new address inline. Pairs with **Customer/Vendor Selection** (which sets the customer) and **Select Customer Address** (which provides the picker).

## Available in

* Order Form modules **only**

## When to use

* Standard placement on every Order Form page that ships physical goods or invoices to a billing address.
* Order types where the address differs from the customer's default (e.g. drop-ship, delivery).
* For pickup-only orders with no shipping, you can configure Order Types so the block hides automatically.

## Settings

| Setting                  | Description                                                                                                                                                                                                                               |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Title**                | Heading text shown above. Default: *Address*.                                                                                                                                                                                             |
| **Address Type**         | Which address(es) to show: Billing, Shipping, or Both. Default: Billing.                                                                                                                                                                  |
| **Order Types**          | Multi-select filter — block only shows for the selected order types. Options: Cash & Carry, Drop Ship, Delivery, Pickup, Special Order, Quote. Empty list = always show.                                                                  |
| **Use Location Address** | When on, the block uses the order's active location address as the default for the configured order types, rather than the customer's saved address. Useful for workflows where the ship-from or bill-to is the store/warehouse location. |
| **Debug mode**           | Surface diagnostic info for troubleshooting address issues. Off / On. Default: Off.                                                                                                                                                       |

## How it works

1. Reads the selected customer from session state (set by Customer/Vendor Selection).
2. Loads the customer's address book.
3. Displays the configured Address Type with default-address pre-selected.
4. The user can switch the displayed address (via Select Customer Address) or create a new one inline (via the New Address dialog).
5. The chosen address is written to session state and used at order submit.

If **Order Types** is configured, the block checks the current order type and hides itself when not in the list.

A request-ID mechanism prevents stale fetches from overwriting newer data when the user changes customer or order type rapidly.

{% hint style="info" %}
For separate **Bill To** and **Ship To**, use two Address blocks — one with Address Type = Billing and one with Shipping. Or use a single block with Address Type = Both for a stacked display.
{% endhint %}

## Examples

**Standard delivery flow.** Customer/Vendor Selection at top → Select Customer Address (Shipping) → Address (Address Type: Both, Order Types empty). Customer's default ship/bill addresses load; user can change.

**Pickup-only order.** Address with Order Types = `[Cash & Carry, Pickup]`. The block hides for Delivery and Drop Ship orders.

**Drop-ship workflow.** Address with Order Types = `[Drop Ship]` only. Address only appears when the order type is Drop Ship.

## Related

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Select Customer Address</strong></td><td>The picker that drives which address Address displays.</td><td><a href="/pages/j6kVrqUIcgwEwgtDlLFv">/pages/j6kVrqUIcgwEwgtDlLFv</a></td></tr><tr><td><strong>Customer/Vendor Selection</strong></td><td>Sets the customer whose addresses are read.</td><td><a href="/pages/km19hjFIFOFjRK0yQAJp">/pages/km19hjFIFOFjRK0yQAJp</a></td></tr><tr><td><strong>Shipping Method</strong></td><td>The shipping-method picker that pairs with the shipping address.</td><td><a href="/pages/qR1vezn1pMunZ6MiIque">/pages/qR1vezn1pMunZ6MiIque</a></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.in8sync.com/client-admin-guide/active-workflows/getting-started/entity-components/address.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
