--- title: Target APIs description: >- When you build a customer account UI extension, Shopify automatically provides you with specific APIs based on where your extension runs within customer accounts. This ensures extensions receive exactly the data and functionality they need for their particular use case, while maintaining security and performance. api_version: 2026-04 api_name: customer-account-ui-extensions source_url: html: >- https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis md: >- https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis.md --- # Target APIs When you build a customer account UI extension, Shopify automatically provides you with specific APIs based on where your extension runs within [customer accounts](https://shopify.dev/docs/apps/customer-accounts). This ensures extensions receive exactly the data and functionality they need for their particular use case, while maintaining security and performance. Your [target](https://shopify.dev/docs/api/customer-account-ui-extensions/2026-04/targets) determines which APIs you receive because different locations in customer accounts require different capabilities. ## Account APIs Account APIs provide access to customer identity, authentication, and account-level data for extensions running in customer accounts. These APIs let you personalize experiences based on who the customer is, manage privacy consent, and query the full [Customer Account API](https://shopify.dev/docs/api/customer) for orders, profiles, and more. | Name | Description | | - | - | | [Authenticated Account API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/account-apis/authenticated-account-api) | Access information about the authenticated customer, including customer details and B2B purchasing company data. | | [Authentication State API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/account-apis/authentication-state-api) | Determine the customer's current authentication state to conditionally render content based on sign-in status. | | [Checkout Settings API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/account-apis/checkout-settings-api) | Access checkout configuration settings that affect the customer account experience. | | [Customer Account API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/account-apis/customer-account-api) | Query the Customer Account API using `fetch()` to read and write customer data, orders, metafields, and more. | | [Customer Privacy API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/account-apis/customer-privacy-api) | Manage customer privacy consent, including marketing and analytics opt-in preferences. | | [Require Login API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/account-apis/require-login-api) | Control authentication requirements for order status page extensions. | ## Order APIs Order APIs provide access to order-specific data for extensions that render on order status pages. These APIs let you display order details, pricing breakdowns, and fulfillment information that customers need when checking their order status. | Name | Description | | - | - | | [Addresses API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/addresses-api) | Access shipping and billing address information associated with an order. | | [Attributes API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/attributes-api) | Read custom key-value attributes attached to an order. | | [Buyer Identity API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/buyer-identity-api) | Retrieve the buyer's identity information, including customer and purchasing company context. | | [Cart Lines API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/cart-lines-api) | Access line item data, including product details, quantities, and pricing for items in an order. | | [Cost API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/cost-api) | Retrieve order cost breakdowns, including subtotals, taxes, shipping, and total amounts. | | [Discounts API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/discounts-api) | Access discount information applied to an order, including discount codes and automatic discounts. | | [Gift Cards API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/gift-cards-api) | Retrieve gift card payment information applied to an order. | | [Metafields API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/metafields-api) | Read metafield data attached to orders for use in order status page extensions. | | [Note API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/note-api) | Access the note attached to an order at checkout. | | [Order API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/order-api) | Retrieve order details, including order name, ID, and status information on the Order status page. | | [Order Status Localization API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/order-status-localization-api) | Localize order status page extensions with currency, language, country, market, and timezone data. | | [Shop API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/order-apis/shop-api) | Access shop information like the store name, domain, and other store-level details. | ## Platform APIs Platform APIs provide cross-cutting functionality available to all customer account UI extensions regardless of their target. These APIs let you localize content, track analytics, navigate between pages, authenticate requests to your backend, and query the [Storefront API](https://shopify.dev/docs/api/storefront). | Name | Description | | - | - | | [Analytics API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/analytics-api) | Emit analytics events to web pixels for tracking customer interactions. | | [Extension API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/extension-api) | Access extension metadata, including the extension's handle, capabilities, and editor settings. | | [Intents API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/intents-api) | Invoke existing customer account workflows for managing customer information, such as editing addresses or payment methods. | | [Localization API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/localization-api) | Localize your extension with translation utilities, currency formatting, and customer language and country context. | | [Navigation API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/navigation-api) | Navigate between customer account pages and extensions using custom protocols and URLs. | | [Session Token API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/session-token-api) | Retrieve session tokens for authenticating requests to your app's backend server. | | [Settings API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/settings-api) | Access merchant-configured settings defined in your extension's configuration file. | | [Storage API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/storage-api) | Persist key-value data locally within the customer's browser for your extension. | | [Storefront API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/storefront-api) | Query the Storefront API for product, collection, and metaobject data. | | [Toast API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/toast-api) | Display brief, non-disruptive confirmation messages to customers after completing an action. | | [Version API](https://shopify.dev/docs/api/customer-account-ui-extensions/latest/target-apis/platform-apis/version-api) | Check the current API version your extension is running against. | ***