Skip to main content

Customer Segment Template Extension API

This API is available to all customer segment template extension types.

Anchor to customersegmenttemplateapiCustomerSegmentTemplateApi

{ 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 the of an intent.

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

Used to query the Admin GraphQL API

Was this page helpful?