Marketplace API / Types
ProductViewerState
ObjectThe authenticated user's relationship to a product.
type ProductViewerStateFields
| Field | Type | Description |
|---|---|---|
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. |
isSeller | Boolean! | Whether the authenticated user is the product's seller. |