User
A user.
type User implements Node {
addresses(
filter: UserAddressFilterInput
first: Int
orderBy: UserAddressOrderInput
skip: Int
): UserAddressConnection!
id: UUID!
coupons(
filter: CouponFilterInput
first: Int
orderBy: CouponOrderInput
skip: Int
): CouponConnection!
discountUsages(
first: Int
orderBy: DiscountUsageOrderInput
skip: Int
): DiscountUsageConnection!
notifications(
first: Int
orderBy: NotificationOrderInput
skip: Int
): NotificationConnection!
orders(
first: Int
skip: Int
orderBy: OrderOrderInput
): OrderConnection!
paymentInformations(
skip: Int = 0
first: Int = 2147483647
orderBy: PaymentInformationOrder
filter: PaymentInformationFilter
): PaymentInformationConnection
returns(
first: Int
orderBy: ReturnOrderInput
skip: Int
): ReturnConnection!
reviews(
first: Int
skip: Int
orderBy: ReviewOrderInput
): ReviewConnection!
shoppingcart: ShoppingCart!
birthday: Date
dateJoined: DateTime!
gender: Gender
name: Name!
username: String!
wishlists(
first: Int
skip: Int
orderBy: WishlistOrderInput
): WishlistConnection!
}
Fields
User.addresses
● UserAddressConnection!
non-null object
Get all address the user received
User.addresses.filter
●UserAddressFilterInput
inputFiltering
User.addresses.first
● Int
scalar
Number of items to return
User.addresses.orderBy
● UserAddressOrderInput
input
Ordering
User.addresses.skip
● Int
scalar
Number of items to skip
User.id
● UUID!
non-null scalar
The ID of the node.
User.coupons
● CouponConnection!
non-null object
Get all coupons this user has claimed
User.coupons.filter
●CouponFilterInput
inputFiltering
User.coupons.first
● Int
scalar
Number of items to return
User.coupons.orderBy
● CouponOrderInput
input
Ordering
User.coupons.skip
● Int
scalar
Number of items to skip
User.discountUsages
● DiscountUsageConnection!
non-null object
Get all the discount usages by this user
User.discountUsages.first
●Int
scalarNumber of items to return
User.discountUsages.orderBy
● DiscountUsageOrderInput
input
Ordering
User.discountUsages.skip
● Int
scalar
Number of items to skip
User.notifications
● NotificationConnection!
non-null object
Get all notifications the user received
User.notifications.first
●Int
scalarNumber of items to return
User.notifications.orderBy
● NotificationOrderInput
input
Ordering
User.notifications.skip
● Int
scalar
Number of items to skip
User.orders
● OrderConnection!
non-null object
Retrieves orders of user.
User.orders.first
●Int
scalarDescribes that the
first
N orders should be retrieved.
User.orders.skip
● Int
scalar
Describes how many orders should be skipped at the beginning.
User.orders.orderBy
● OrderOrderInput
input
Specifies the order in which orders are retrieved.
User.paymentInformations
● PaymentInformationConnection
object
A connection for an users payment informations.
User.paymentInformations.skip
●Int
scalarNumber of items to skip
User.paymentInformations.first
● Int
scalar
Number of items to return
User.paymentInformations.orderBy
● PaymentInformationOrder
input
Ordering
User.paymentInformations.filter
● PaymentInformationFilter
input
Filtering
User.returns
● ReturnConnection!
non-null object
Get all returns of this user
User.returns.first
●Int
scalarNumber of items to return
User.returns.orderBy
● ReturnOrderInput
input
Ordering
User.returns.skip
● Int
scalar
Number of items to skip
User.reviews
● ReviewConnection!
non-null object
Retrieves reviews of user.
User.reviews.first
●Int
scalarDescribes that the
first
N reviews should be retrieved.
User.reviews.skip
● Int
scalar
Describes how many reviews should be skipped at the beginning.
User.reviews.orderBy
● ReviewOrderInput
input
Specifies the order in which reviews are retrieved.
User.shoppingcart
● ShoppingCart!
non-null object
Shopping cart of the user.
User.birthday
● Date
scalar
The birthday of the user
User.dateJoined
● DateTime!
non-null scalar
The date when the user joined
User.gender
● Gender
enum
The gender of the user
User.name
● Name!
non-null object
The name of the user
User.username
● String!
non-null scalar
The username of the user
User.wishlists
● WishlistConnection!
non-null object
Retrieves wishlists of user.
User.wishlists.first
●Int
scalarDescribes that the
first
N wishlists should be retrieved.
User.wishlists.skip
● Int
scalar
Describes how many wishlists should be skipped at the beginning.
User.wishlists.orderBy
● WishlistOrderInput
input
Specifies the order in which wishlists are retrieved.
Interfaces
Node
interface
An object with an ID.
Returned By
currentUser
query ● updateUser
mutation ● user
query
Member Of
DiscountUsage
object ● Notification
object ● Order
object ● PaymentInformation
object ● Review
object ● UserAddress
object ● UserConnection
object ● Wishlist
object