Skip to main content

Action Extension API
API

This API is available to all action extension types. Refer to the tutorial for more information. Note that the AdminAction component is required to build Admin action extensions.

required

Provides methods for authenticating calls to an app backend.

() => void
required

Closes the extension. Calling this method is equivalent to the merchant clicking the "x" in the corner of the overlay.

required

Information about the currently viewed or selected items.

{ target: ; }
required

The identifier of the running extension target.

required

Utilities for translating content according to the current localization of the admin. More info - /docs/apps/checkout/best-practices/localizing-ui-extensions

required

Provides information to the receiver of an intent.

required

Renders a custom Picker dialog allowing users to select values from a list.

< = unknown, Variables = { [key: string]: unknown; }>(query: string, options?: { variables?: Variables; version?: Omit<, "2023-04">; }) => Promise<{ data?: ; errors?: GraphQLError[]; }>
required

Used to query the Admin GraphQL API

required

Renders the Resource Picker, allowing users to select a resource for the extension to use as part of its flow.

required

Provides methods for setting, getting, and clearing browser data from the extension

Was this section helpful?