Products > Product Variants > storefrontProductVariants
Storefront APIProductsProduct VariantsstorefrontProductVariants
storefrontProductVariants
GET:storefront/product_variants.json

Description

Get all or specific product variants.

Topic: Product Variants

Arguments

ids: [String!]

List of product variant ids. See also: Unique Identifiers

Example: ["va_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


product_id: String

Unique product identifier. See also: Unique Identifiers

Example: "pd_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[StorefrontProductVariant!]

Preview (typescript)

Loading module