The API for interacting with addresses.
View AddressesThe API for interacting with web pixels.
View AnalyticsThe API for interacting with cart and checkout attributes.
View AttributesThe API for interacting with the buyer identity.
View Buyer IdentityThe API for interacting with the buyer journey.
View Buyer JourneyInstructions used to create the checkout.
View Cart InstructionsThe API for interacting with the cart lines.
View Cart LinesThe API for interacting with the token of a checkout.
View Checkout TokenThe API for interacting with the cost of a checkout.
View CostThe API for interacting with a customer's privacy consent. It is similar to the [Customer Privacy API in storefront](/docs/api/customer-privacy).
View Customer PrivacyThe APIs for interacting with delivery and shipping options. > > Tip: Not all extension targets implement all APIs. Check the documentation for the extension target you are using to see which APIs are available.
View DeliveryThe API for interacting with discounts.
View DiscountsThe API for interacting with the metadata of an extension.
View ExtensionThe API for interacting with gift cards.
View Gift CardsThe APIs for localizing your extension.
View LocalizationThe API for interacting with metafields.
View MetafieldsThe API for interacting with the note applied to checkout.
View NoteThe API for interacting with the order confirmation, available on the **Thank You** page.
View OrderThe API for interacting with the payment options.
View PaymentsQuerying the Storefront API.
View Storefront APIThe API for interacting with session tokens.
View Session TokenThe API for interacting with merchant settings.
View SettingsThe API for interacting with shop.
View ShopThe API for interacting with local storage.
View StorageThe API for interacting with the extension’s UI.
View UIReturns the full API object that was passed in to your extension when it was created. Depending on the extension target, this object can contain different properties. For example, the `purchase.checkout.cart-line-item.render-after` extension target will return the [CartLineDetailsApi](/docs/api/checkout-ui-extensions/apis/cartlinedetailsapi) object. Other targets may only have access to the [StandardApi](/docs/api/checkout-ui-extensions/apis/standardapi) object, which contains a basic set of properties about the checkout. For a full list of the API available to each extension target, see the [ExtensionTargets type](/docs/api/checkout-ui-extensions/apis/extensiontargets).
View useApi()Returns the full API object that was passed in to your extension when it was created. Depending on the extension target, this object can contain different properties. For example, the `purchase.checkout.cart-line-item.render-after` extension target will return the [CartLineDetailsApi](/docs/api/checkout-ui-extensions/apis/cartlinedetailsapi) object. Other targets may only have access to the [StandardApi](/docs/api/checkout-ui-extensions/apis/standardapi) object, which contains a basic set of properties about the checkout. For a full list of the API available to each extension target, see the [ExtensionTargets type](/docs/api/checkout-ui-extensions/apis/extensiontargets). > Caution: This is deprecated, use `useApi` instead.
View useExtensionApi()Subscribes to the special wrapper type that all “changeable” values in the checkout use. This hook extracts the most recent value from that object, and subscribes to update the value when changes occur in the checkout. > Note: > You generally shouldn’t need to use this directly, as there are dedicated hooks > for accessing the current value of each individual resource in the checkout.
View useSubscription()