Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

object

Requires read_customers access scope. Also: The user must not have restricted access.

A dynamic collection of customers based on specific criteria.

DateTime!non-null

The date and time when the segment was added to the store.

ID!non-null

A globally-unique ID.

DateTime!non-null

The date and time when the segment was last updated.

String!non-null

The name of the segment.

String!non-null

A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers.


Was this section helpful?

query

The Customer Segment.

query

A list of a shop's segments.


Was this section helpful?

mutation

Creates a segment.

mutation

Updates a segment.


Was this section helpful?

interface

Was this section helpful?