Skip to main content

Wishlist

A wishlist containing items.

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

Fields

Wishlist.id ● ID! non-null scalar

The Globally Unique ID of this object

Wishlist.name ● String! non-null scalar

Wishlist name

Wishlist.isDefault ● Boolean! non-null scalar

Whether this is the default wishlist

Wishlist.createdAt ● DateTime scalar

Creation date

Wishlist.user ● User object

User who owns this wishlist

Wishlist.items ● WishlistItemCountableConnection! non-null object

List of items in this wishlist

Wishlist.items.before ● String scalar

Returns the items in the list that come before the specified cursor.

Wishlist.items.after ● String scalar

Returns the items in the list that come after the specified cursor.

Wishlist.items.first ● Int scalar

Returns the first n items from the list.

Wishlist.items.last ● Int scalar

Returns the items in the list that come after the specified cursor.

Interfaces

Node interface

An object with a Globally Unique ID

Member Of

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

Was this page helpful?