Home > @infiniteobjects/shopify-data-manager > AdminTypes > CustomerSegmentMember
The member of a segment.
Signature:
export interface CustomerSegmentMember extends HasMetafields
Extends: HasMetafields
Property | Modifiers | Type | Description |
---|---|---|---|
amountSpent? | Maybe<MoneyV2> | (Optional) The total amount of money that the member has spent on orders. | |
defaultAddress? | Maybe<MailingAddress> | (Optional) The member’s default address. | |
defaultEmailAddress? | Maybe<CustomerEmailAddress> | (Optional) The member’s default email address. | |
defaultPhoneNumber? | Maybe<CustomerPhoneNumber> | (Optional) The member’s default phone number. | |
displayName | Scalars[‘String’][‘output’] | The full name of the member, which is based on the values of the first_name and last_name 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. |
|
firstName? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The member’s first name. | |
id | Scalars[‘ID’][‘output’] | The member’s ID. | |
lastName? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The member’s last name. | |
lastOrderId? | Maybe<Scalars[‘ID’][‘output’]> | (Optional) The ID of the member’s most recent order. | |
mergeable | CustomerMergeable | Whether the customer can be merged with another customer. | |
metafield? | Maybe<Metafield> | (Optional) Returns a metafield by namespace and key that belongs to the resource. | |
metafields | MetafieldConnection | List of metafields that belong to the resource. | |
note? | Maybe<Scalars[‘String’][‘output’]> | (Optional) A note about the member. | |
numberOfOrders? | Maybe<Scalars[‘UnsignedInt64’][‘output’]> | (Optional) The total number of orders that the member has made. | |
privateMetafield? | Maybe<PrivateMetafield> | (Optional) Returns a private metafield by namespace and key that belongs to the resource. | |
privateMetafields | PrivateMetafieldConnection | List of private metafields that belong to the resource. |