Products > Product Variants > productVariantsPriceHistory
Commerce APIProductsProduct VariantsproductVariantsPriceHistory
productVariantsPriceHistory
GET:product_variants/price_history.json

Description

Get product variant price history.

Permission bit: "product_variants.read"

Topic: Product Variants

Arguments

currency: String

Query price history in specific currency

Example: "USD"


customer_group_id: String

Query price history of a customer group


from: String!


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


to: String!


variant_id: String!

Unique variant identifier. See also: Unique Identifiers

Example: "va_EQzGqWoY"


Result

[ProductVariantPriceHistory!]

Preview (typescript)

Loading module