Products > Product Variants > storefrontProductVariantsPage
Storefront APIProductsProduct VariantsstorefrontProductVariantsPage
storefrontProductVariantsPage
GET:storefront/product_variants/page.json

Description

Get all product variants.

See also: Pagination.

Permission bit: "product_variants.read"

Topic: Product Variants

Arguments

last_key: String

Key of the last item from previous page. See also: Pagination


limit: Int

Return up to N entries (pagination). See also: Pagination


offset: Int

Skip N entries (pagination). See also: Pagination


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


sort_by: ProductVariantsPageSortBy

Whether to sort output in some specific way. See also: Pagination


sort_desc: Boolean

Whether to use descending sort order. See also: Pagination


Result

StorefrontProductVariantPage

Preview (typescript)

Loading module