Customer Segment Template
CustomerSegmentTemplate is used to configure a template rendered in the Customers section of the Shopify admin. Templates can be applied in the customer segment editor and used to create segments.
Anchor to customersegmenttemplatepropsCustomerSegmentTemplateProps
The localized description of the template. An array can be used for multiple paragraphs.
The code snippet to render in the template with syntax highlighting. The query
is not validated in the template.
The localized title of the template.
ISO 8601-encoded date and time string. A "New" badge will be rendered for templates introduced in the last month.
The list of customer standard metafields or custom metafields used in the template's query.
The code snippet to insert in the segment editor. If missing, query
will be used. The is not validated in the template.
Simple CustomerSegmentTemplate implementation
Preview
