User
A user.
type User implements Node {
coupons(
filter: CouponFilterInput
first: Int
orderBy: CouponOrderInput
skip: Int
): CouponConnection!
discountUsages(
first: Int
orderBy: DiscountUsageOrderInput
skip: Int
): DiscountUsageConnection!
id: UUID!
}
Fields
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.id
● UUID!
non-null scalar
The ID of the node.
Interfaces
Node
interface
An object with an ID.
Member Of
DiscountUsage
object ● UserConnection
object
Implemented By
_Entity
union