Skip to main content
Migrate to Polaris

Version 2025-07 is the last API version to support React-based UI components. Later versions use web components, native UI elements with built-in accessibility, better performance, and consistent styling with Shopify's design system. Check out the migration guide to upgrade your extension.

Addresses API

Requires access to protected customer data. Most properties require level 2 access. The company property requires level 1 access.

The Addresses API provides the buyer's shipping and billing addresses from the order. Use it to display address details or compare shipping and billing information on the Order status page.

  • Display shipping details: Show the shipping address associated with the order, such as the recipient name, street address, city, and country.
  • Display billing details: Show the billing address used for the order's payment.
  • Address comparison: Compare the shipping and billing addresses to determine if they differ, and display a summary to the buyer.

The Addresses API object provides the buyer's shipping and billing addresses. Access the following properties on the API object to read address data.

Anchor to billingAddress
billingAddress
StatefulRemoteSubscribable< | undefined>

The billing address associated with the buyer's payment method.

Anchor to shippingAddress
shippingAddress
StatefulRemoteSubscribable< | undefined>

The shipping address that the buyer provided for the order.


  • Gracefully handle missing addresses: Either the shipping or billing address may be undefined. Always check for undefined before rendering address fields.
  • Don't assume address completeness: Some fields like address2, company, and phone are optional and may not be present.

  • Addresses reflect the state at the time of checkout. If the customer updates their address in their account after placing the order, the values returned by this API don't change.

Was this page helpful?