Marketplace API / Queries

bookmarkedProductVariants

The authenticated user's bookmarked product variants, ordered by newest bookmark by default. Paging is limited to the first 1,000 variants. The page that reaches that limit ends there and has hasNextPage: false. A page that starts at or after it fails with PAGE_OUT_OF_RANGE.

bookmarkedProductVariants(
  after: String
  first: Int
  offset: Int
  sort: BookmarkedProductVariantsSortInput
  where: BookmarkedProductVariantsWhereInput
): BookmarkedProductVariantConnection!

Arguments

ArgumentTypeDescription
afterStringForward cursor. Mutually exclusive with offset.
firstIntMaximum number of variants to return. Defaults to 20. Values outside 1 through 100 are rejected.
offsetIntZero-based offset for page-based pagination. Providing it with after or using a negative value is rejected.
sortBookmarkedProductVariantsSortInputSort order for the results. Defaults to newest-bookmarked first.
whereBookmarkedProductVariantsWhereInputFilters to apply.

Return type

BookmarkedProductVariantConnection!