Skip to content

ProductHistoricalPrice

The ProductHistoricalPrice object represents the price of a product on a given date.

classDiagram
  direction LR
  ProductHistoricalPrice --> Price
  ProductHistoricalPrice --> Date
  class Date{
  }
  class Price{
  }
  class ProductHistoricalPrice{
    Price price
    Date date
  }

Properties

Attribute name Type Description
price Price The Price object representing the historical price for variant.
date Date The Date object representing a date that historical price was saved.

Examples

price property

{{ productHistoricalPrice.price.formatGross }}
$12.34

date property

{{ productHistoricalPrice.date.date }}
1 september 2023