Skip to main content

giftCards Query

List of gift cards.

Requires MANAGE_GIFT_CARDpermission.
giftCards(
sortBy: GiftCardSortingInput
filter: GiftCardFilterInput
search: String
before: String
after: String
first: Int
last: Int
): GiftCardCountableConnection

Arguments

giftCards.sortBy ● GiftCardSortingInput input gift-cards

Sort gift cards.

giftCards.filter ● GiftCardFilterInput input gift-cards

Filtering options for gift cards.

giftCards.search ● String scalar miscellaneous

Search gift cards by email and name of user, who created or used the gift card, and by code.

giftCards.before ● String scalar miscellaneous

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

giftCards.after ● String scalar miscellaneous

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

giftCards.first ● Int scalar miscellaneous

Retrieve the first n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

giftCards.last ● Int scalar miscellaneous

Retrieve the last n elements from the list. Note that the system only allows fetching a maximum of 100 objects in a single query.

Type

GiftCardCountableConnection object gift-cards