Skip to main content

customer-account.order-status.fulfillment-details.render-after

Requires access to protected customer data for some properties.

A static extension target that renders in the delivery status card on the Order Status page. A separate delivery status card is shown for each fulfillment.

The API object provided to this and other customer-account.order-status extension targets.

Anchor to analytics
analytics
required

Methods for interacting with Web Pixels, such as emitting an event.

Anchor to appliedGiftCards
appliedGiftCards
StatefulRemoteSubscribable<[]>
required

Gift Cards that have been applied to the order.

Anchor to appMetafields
appMetafields
StatefulRemoteSubscribable<[]>
required

The metafields requested in the shopify.ui.extension.toml file. These metafields are updated when there's a change in the merchandise items being purchased by the customer.

Requires access to protected customer data.

Anchor to attributes
attributes
StatefulRemoteSubscribable<[] | undefined>
required

Custom attributes left by the customer to the merchant, either in their cart or during checkout.

Anchor to authenticationState
authenticationState
StatefulRemoteSubscribable<>
required

The authentication state of Order status page.

Anchor to checkoutSettings
checkoutSettings
StatefulRemoteSubscribable<>
required

Settings applied to the buyer's checkout.

Anchor to checkoutToken
checkoutToken
StatefulRemoteSubscribable< | undefined>
required

id that represents the checkout used to create the order.

Matches the token field in the WebPixel checkout payload and the checkout_token field in the Admin REST API Order resource.

required

Details on the costs of the purchase for the buyer.

Anchor to discountAllocations
discountAllocations
StatefulRemoteSubscribable<[]>
required

Discounts that have been applied to the entire cart.

Anchor to discountCodes
discountCodes
StatefulRemoteSubscribable<[]>
required

A list of discount codes applied to the purchase.

Anchor to extension
extension
<Target>
required

Meta information about the extension.

Anchor to lines
lines
StatefulRemoteSubscribable<[]>
required

A list of lines containing information about the items the customer intends to purchase.

Anchor to localization
localization
required

Details about the location, language, and currency of the buyer. For utilities to easily format and translate content based on these details, you can use the i18n object instead.

Anchor to metafields
metafields
StatefulRemoteSubscribable<[]>
required

The metafields that apply to the current order. The actual resource on which these metafields exist depends on the source of the order:

  • If the source is an order, then the metafields are on the order.

  • If the source is a draft order, then the initial value of metafields are from the draft order, and any new metafields you write are applied to the order created by the checkout.

  • For all other sources, the metafields are only stored locally on the client creating the checkout, and are applied to the order that results from checkout.

These metafields are shared by all extensions running on checkout, and persist for as long as the customer is working on this checkout.

Once the order is created, you can query these metafields using the GraphQL Admin API

StatefulRemoteSubscribable<string | undefined>
required

A note left by the customer to the merchant, either in their cart or during checkout.

Anchor to order
order
StatefulRemoteSubscribable< | undefined>
required

Information about the order that was placed.

Anchor to requireLogin
requireLogin
() => Promise<void>
required

The requireLogin() method triggers login if the customer is viewing pre-authenticated Order status page.

required

Shop where the purchase took place.

Anchor to version
version
required

The renderer version being used for the extension.

Anchor to billingAddress
billingAddress
StatefulRemoteSubscribable< | undefined>

The buyer billing address used for the order.

Requires access to protected customer data.

Anchor to buyerIdentity
buyerIdentity

Information about the buyer that is interacting with the order.

Requires access to protected customer data.

Anchor to shippingAddress
shippingAddress
StatefulRemoteSubscribable< | undefined>

The buyer shipping address used for the order.

Requires access to protected customer data.

Anchor to extensionPoint
extensionPoint
Target
required

The identifier that specifies where in Shopify’s UI your code is being injected. This will be one of the targets you have included in your extension’s configuration file.

Deprecated

Deprecated as of version 2023-07, use extension.target instead.

The base API object provided to this and other customer-account extension targets.

Anchor to authenticatedAccount
authenticatedAccount
required

Information about the authenticated account.

Anchor to extension
extension
required

Meta information about the extension.

required

Utilities for translating content and formatting values according to the current localization of the user.

Anchor to localization
localization
required

Details about the language of the buyer.

Anchor to navigation
navigation
required
Anchor to query
query
<Data = unknown, Variables = { [key: string]: unknown; }>(query: string, options?: { variables?: Variables; version?: ; }) => Promise<{ data?: Data; errors?: []; }>
required

Used to query the Storefront GraphQL API with a prefetched token.

See storefront api access examples for more information.

Anchor to sessionToken
sessionToken
required

Provides access to session tokens, which can be used to verify token claims on your app's server.

See session token examples for more information.

Anchor to settings
settings
StatefulRemoteSubscribable<>
required

The settings matching the settings definition written in the shopify.ui.extension.toml file.

See settings examples for more information.

Note

When an extension is being installed in the editor, the settings will be empty until a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.

Anchor to storage
storage
required

Key-value storage for the extension target.

required

Methods to interact with the extension's UI.

Anchor to version
version
Version
required

The renderer version being used for the extension.

Anchor to extensionPoint
extensionPoint
Target
required

The identifier that specifies where in Shopify’s UI your code is being injected. This will be one of the targets you have included in your extension’s configuration file.

Deprecated

Deprecated as of version 2023-07, use extension.target instead.

The API object provided to customer-account.order-status.fulfillment-details extension targets.

Anchor to fulfillmentId
fulfillmentId
string
required

Id of a single fulfillment.

Examples
import {
reactExtension,
Banner,
} from '@shopify/ui-extensions-react/customer-account';

export default reactExtension(
'customer-account.order-status.fulfillment-details.render-after',
() => <Extension />,
);

function Extension() {
return <Banner>Note that tracking info update is subject to the courier who delivers your order</Banner>;
}
Was this page helpful?