Marketplace API / Types

ProductViewerState

Object

The authenticated user's relationship to a product.

type ProductViewerState

Fields

FieldTypeDescription
bookmarks[ProductVariantBookmark!]!
Bookmarks across this product's variants, newest first. The product is bookmarked when this list is not empty. Pass each productVariant.id to unbookmarkProductVariants to clear the product's saved state.
isSellerBoolean!
Whether the authenticated user is the product's seller.

Returned by