Customer Segment Member
Requires access scope. Also: The user must not have restricted access.
The member of a segment.
Anchor to Fields and connectionsFields and connections
- 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!non-null
Name The full name of the member, which is based on the values of the
and
fields. 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
namespace
andkey
, 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 metafieldsByIdentifiersmetafields•[Metafield]!non-null
By Identifiers The metafields associated with the resource matching the supplied list of namespaces and keys.
- 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
The list of members, such as customers, that's associated with an individual segment. The maximum page size is 1000.