Products > Product Variants > productVariantsPage
Commerce APIProductsProduct VariantsproductVariantsPage
productVariantsPage
GET:product_variants/page.json

Description

Get all product variants.

See also: Pagination.

Permission bit: "product_variants.read"

Topic: Product Variants

Arguments

ignore_bundles: Boolean

Ignore bundle type variants


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


no_inventory: Boolean

Show only variants which have no inventory entry


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

ProductVariantPage

Preview (typescript)

Loading module