Home > @infiniteobjects/shopify-data-manager > AdminTypes > CustomerMergePreviewDefaultFields
The fields that will be kept as part of a customer merge preview.
Signature:
export interface CustomerMergePreviewDefaultFields
Property | Modifiers | Type | Description |
---|---|---|---|
addresses | MailingAddressConnection | The merged addresses resulting from a customer merge. | |
defaultAddress? | Maybe<MailingAddress> | (Optional) The default address resulting from a customer merge. | |
discountNodeCount | Scalars[‘UnsignedInt64’][‘output’] | The total number of customer-specific discounts resulting from a customer merge. | |
discountNodes | DiscountNodeConnection | The merged customer-specific discounts resulting from a customer merge. | |
displayName | Scalars[‘String’][‘output’] | The full name of the customer, based on the values for first_name and last_name . If first_name and last_name aren’t available, then this field falls back to the customer’s email address. If the customer’s email isn’t available, then this field falls back to the customer’s phone number. |
|
draftOrderCount | Scalars[‘UnsignedInt64’][‘output’] | The total number of merged draft orders. | |
draftOrders | DraftOrderConnection | The merged draft orders resulting from a customer merge. | |
email? | Maybe<CustomerEmailAddress> | (Optional) The email state of a customer. | |
firstName? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The first name resulting from a customer merge. | |
giftCardCount | Scalars[‘UnsignedInt64’][‘output’] | The total number of merged gift cards. | |
giftCards | GiftCardConnection | The merged gift cards resulting from a customer merge. | |
lastName? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The last name resulting from a customer merge. | |
metafieldCount | Scalars[‘UnsignedInt64’][‘output’] | The total number of merged metafields. | |
note? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The merged note resulting from a customer merge. | |
orderCount | Scalars[‘UnsignedInt64’][‘output’] | The total number of merged orders. | |
orders | OrderConnection | The merged orders resulting from a customer merge. | |
phoneNumber? | Maybe<CustomerPhoneNumber> | (Optional) The phone number state of a customer. | |
tags | Array<Scalars[‘String’][‘output’]> | The merged tags resulting from a customer merge. |