Component: Edit Address

Purpose: Allows customers to update their delivery address and/or billing address.

Props

Prop Name
Label
Type
Default Value
Description

hideBillingAddress

Hide Billing Address

boolean

false

If true the billing address is hidden

hideDeliveryAddress

Hide Delivery Address

boolean

false

If true the delivery address is hidden

editAddressButtonText

Edit address button text

string

Edit address

Text for edit address button

firstNameLabel

First name label

string

First name

Text of first name label

lastNameLabel

Last name label

string

Last name

Text of last name label

address1Label

Delivery address line 1 label

string

Address line 1

Text of address 1 label

address2Label

Delivery address line 1 label

string

Address line 2

Text of address 2 label

deliveryCompanyLabel

Delivery Company label

string

Company

Text of delivery company label

cityLabel

Delivery city label

string

City

Text of city label

stateLabel

Delivery county/state label

string

{{state_name_type}}

Text of state label

postalCodeLabel

Delivery postal code/ZIP code label

string

{{zip_name_type}}

Text of post code label

countryLabel

Delivery country label

string

Country

Text of country label

invalidFirstNameMessage

Invalid first name message

string

First name is required

Text for invalid first name error message

invalidLastNameMessage

Invalid last name message

string

Last name is required

Text for invalid last name error message

invalidAddressMessage

Invalid address message

string

Address is required

Text for invalid address error message

invalidCityMessage

Invalid city message

string

City is required

Text for invalid city error message

invalidStateMessage

Invalid state/county message

string

{{state_name_type}} is required

Text for invalid state error message

invalidPostalCodeMessage

Invalid zip/postal code message

string

{{zip_name_type}} is required

Text for invalid postcode error message

invalidCountryMessage

Invalid country message

string

Country is required

Text for invalid country error message

addressChangeSuccessText

Address change success text

string

Your address details have been updated

Text for address change success text

prefillMapping

Label Mapping

list

showCompanyField

how delivery company field?

boolean

false

If true the company field will show

showOptionalFields

Highlight optional fields?

boolean

false

If true the optional fields will be visually highlighted

Integration:

  • Webhooks: Any changes will trigger an event (order.address_change) and will be provided in the Address Change webhook - learn more

  • OOTB integration: Any updates to the address are applied to the following information:

    • Limio: Limio Customer's billing or delivery address will be updated.

    • Zuora: Limio will update the billToContact and soldToContact objects for billing and delivery address respectively.

    • Salesforce via Zuora Z360: Refer to Zuora .

Last updated

Was this helpful?