Customer Segment Member
Requires access scope. Also: The user must not have restricted access.
The member of a segment.
Anchor to FieldsFields
- Anchor to amountSpentamount•Money
Spent V2 The total amount of money that the member has spent on orders.
- Anchor to defaultAddressdefault•Mailing
Address Address The member's default address.
- Anchor to defaultEmailAddressdefault•Customer
Email Address Email Address The member's default email address.
- Anchor to defaultPhoneNumberdefault•Customer
Phone Number Phone Number The member's default phone number.
- Anchor to displayNamedisplay•String!
Name non-null The full name of the member, which is based on the values of the
andfields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used.- Anchor to firstNamefirst•String
Name The member's first name.
- •ID!non-null
The member’s ID.
- Anchor to lastNamelast•String
Name The member's last name.
- Anchor to lastOrderIdlast•ID
Order Id The ID of the member's most recent order.
- Anchor to mergeablemergeable•Customer
Mergeable! non-null Whether the customer can be merged with another customer.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespaceandkey, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection! non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to notenote•String
A note about the member.
- Anchor to numberOfOrdersnumber•Unsigned
Of Orders Int64 The total number of orders that the member has made.
Anchor to QueriesQueries
- •query
A paginated list of customers that belong to an individual
Segment. Segments group customers based on criteria defined through ShopifyQL queries. Access segment members with their profile information and purchase summary data. The connection includes statistics for analyzing segment attributes (such as average and sum calculations) and a total count of all members. The maximum page size is 1000.