# Subflow: Change Address

**LFS version:** requires Limio for Salesforce v12.39 or later

**Limio version requirement**: requires Limio v93 or later

In previous versions, this process was referred to as "Change Delivery Address" and it only allowed customers to update their delivery address. The updated process now allows customers to update their billing address as well, or both their billing and delivery addresses, all in a single order.

### Action visibility rules

Change address action is allowed if a subscription is not a purchased gift and its end date is in the future. This rule can be customised if needed via Apex: [Override Supported Subscription Actions](/integrations/setting-up-limio-for-salesforce/subscription-actions-rules/override-subscription-actions.md)

### Flow overview

This flow consists of the following elements:

<figure><img src="/files/HMJ1QWZMYFl64TB83Zdb" alt=""><figcaption></figcaption></figure>

Input properties of this flow include *recordId* (which is passed form the parent flow) and current *subscription* in context of which the flow is being run.

1. **Specify address type**\
   For bundle or physical subscriptions, users will have to choose which address type they want to amend: delivery, billing, or both:\
   \
   Labels on this screen are configurable in the flow builder.

   *This step is omitted for digital subscriptions: users are navigated straight to the form to update a Billing address if the subscription is digital.*<br>

   <figure><img src="/files/SsU8gYPnloXsFegGW5HG" alt=""><figcaption></figcaption></figure>
2. Change address form

   Label at the top of the form reflects the address type chosen on the previous step or defaults to Billing for digital subscriptions.\
   \
   If selected "Both", the label changes to "Delivery and Billing Address Details":\
   \
   \- This component includes an Address book feature. It is a dropdown menu that displays previously used customer addresses. Users can select an address from the dropdown to automatically fill in the form fields with the corresponding values.<br>

   <figure><img src="/files/Lk4lEjQdsKHTlTQarMIX" alt=""><figcaption></figcaption></figure>

\- Built-in validation of the postal/zip code comes from the metadata config and can be customised: [Enforce Address Postcode Validation](/integrations/using-limio-for-salesforce/address-mandatory-fields/address-postcode-validation.md)

\- The available countries in the dropdown menu of the form are determined by the list of allowed countries specified in the associated offer.\
**Note**: To customise the country list, provide a list of iso2Code strings in the Allowed Countries input property. To see all countries, simply clear the Allowed Countries input property.

1. **Order Summary Screen**

The final screen provides a summary of the address type being modified and the corresponding value:<br>

<figure><img src="/files/iw38TmnAI4dCsxWiSJAe" alt=""><figcaption></figcaption></figure>

### Known limitations

Customer Timeline component will reflect an event for change\_address order type, but the content is not available in the current Limio version.

### Implementation details

**Note**: a new package version installation does not affect your existing flow copies.\
With the new version, Change address becomes available to all subscriptions (digital and physical). To make sure that your flow works as expected, navigate to you Change address flow copy and make the necessary changes, there are several options:

1. Use *selectedSubscription.hasDelivery* property to verify if you expect the Change Address action to be available.
2. Optional: Add a screen with radio buttons to let users select the address type to update: *delivery*, *billling* or *all*.
3. Populate **Address type to update** input property on **Limio Delivery Address** and **Limio Order Summary** components with "*delivery*" to execute the flow only for Delivery address updates. Alternatively, pass the selected choice from the radio buttons:

   <figure><img src="/files/ipN9BQwJRS5sXrvrTTHz" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/N2IBJBKWNWKVgfGmRvJh" alt=""><figcaption></figcaption></figure>

### Related articles:

[Override Supported Subscription Actions](/integrations/setting-up-limio-for-salesforce/subscription-actions-rules/override-subscription-actions.md)

[Enforce Address Postcode Validation](/integrations/using-limio-for-salesforce/address-mandatory-fields/address-postcode-validation.md)


---

# 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.limio.com/integrations/using-limio-for-salesforce/manage-subscriptions-flow/subflow-change-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.
