Skip to main content

Wishlist

Wishlist item.

type Wishlist implements Node {
id: ID!
createdAt: DateTime!
name: String!
isDefault: Boolean!
user: User
items(
before: String
after: String
first: Int
last: Int
): WishlistItemCountableConnection
}

Fields

Wishlist.id ● ID! non-null scalar

The ID of the object

Wishlist.createdAt ● DateTime! non-null scalar

Wishlist.name ● String! non-null scalar

Wishlist.isDefault ● Boolean! non-null scalar

Wishlist.user ● User object

Wishlist.items ● WishlistItemCountableConnection object

List of the wishlist's items.

Wishlist.items.before ● String scalar

Return the elements in the list that come before the specified cursor.

Wishlist.items.after ● String scalar

Return the elements in the list that come after the specified cursor.

Wishlist.items.first ● Int scalar

Return the first n elements from the list.

Wishlist.items.last ● Int scalar

Return the last n elements from the list.

Interfaces

Node interface

An object with an ID

Member Of

WishlistCountableEdge object ● WishlistCreate object ● WishlistCreateForBuyer object ● WishlistDelete object ● WishlistItem object ● WishlistSetDefault object ● WishlistUpdate object

Was this page helpful?