Skip to main content

Wishlist

The wishlist of a user.

type Wishlist {
id: UUID!
user: User!
name: String!
createdAt: DateTime!
lastUpdatedAt: DateTime!
productVariants(
first: Int
skip: Int
orderBy: CommonOrderInput
): ProductVariantConnection!
}

Fields​

Wishlist.id ● UUID! non-null scalar​

Wishlist UUID.

Wishlist.user ● User! non-null object​

User.

Wishlist.name ● String! non-null scalar​

Name of wishlist.

Wishlist.createdAt ● DateTime! non-null scalar​

Timestamp when wishlist was created.

Wishlist.lastUpdatedAt ● DateTime! non-null scalar​

Timestamp when wishlist was last updated.

Wishlist.productVariants ● ProductVariantConnection! non-null object​

Retrieves product variants.

Wishlist.productVariants.first ● Int scalar​

Describes that the first N product variants should be retrieved.

Wishlist.productVariants.skip ● Int scalar​

Describes how many product variants should be skipped at the beginning.

Wishlist.productVariants.orderBy ● CommonOrderInput input​

Specifies the order in which product variants are retrieved.

Returned By​

createWishlist mutation ● updateWishlist mutation ● wishlist query

Member Of​

WishlistConnection object