Skip to main content

CustomerUser

No description

type CustomerUser implements Node {
id: ID!
orders(
connection: OrdersConnectionInput
): OrderConnection
reviews(
connection: ReviewsConnectionInput
): [ProductReview!]!
name: String
email: String
phone: String
storeId: String
isGuest: Boolean
createdAt: DateTime
updatedAt: DateTime
addresses: [CustomerAddress!]
totalSpending: Money
totalOrderCount: Int
}

Fields

CustomerUser.id ● ID! non-null scalar

CustomerUser.orders ● OrderConnection object

CustomerUser.orders.connection ● OrdersConnectionInput input

CustomerUser.reviews ● [ProductReview!]! non-null object

CustomerUser.reviews.connection ● ReviewsConnectionInput input

CustomerUser.name ● String scalar

CustomerUser.email ● String scalar

CustomerUser.phone ● String scalar

CustomerUser.storeId ● String scalar

CustomerUser.isGuest ● Boolean scalar

CustomerUser.createdAt ● DateTime scalar

CustomerUser.updatedAt ● DateTime scalar

CustomerUser.addresses ● [CustomerAddress!] list object

CustomerUser.totalSpending ● Money object

CustomerUser.totalOrderCount ● Int scalar

Interfaces

Node interface

Returned By

createCustomer mutation ● updateCustomer mutation

Member Of

Cart object ● CustomerUserConnection object ● Order object ● ProductReview object ● TopCustomer object