Przejdź do głównej zawartości

PriceReductionInfo

Statutory reference of an announced price reduction (EU price-indication rules): the lowest price the variant was sold at during the 30 days before the current cut, plus the data needed to display it correctly. Present only while the variant is reduced and the reference can be proven.

type PriceReductionInfo {
label: String!
lowestPriorPrice: Money!
lowestPriorPriceWithConversion: PriceMoney
percentageOffLowestPrior: Float!
reductionStartedAt: DateTime!
referenceWindowStartedAt: DateTime!
referenceWindowTruncated: Boolean!
}

Fields

PriceReductionInfo.label ● String! non-null scalar

Ready-to-render legal sentence in the shop language with the amount already formatted in the shop locale (the statutory "lowest price in the 30 days before the reduction" wording). Render it verbatim.

PriceReductionInfo.lowestPriorPrice ● Money! non-null object

Lowest price in effect during the reference window (shop base currency). Show it next to the strike-through price, at least as prominently as the current price.

PriceReductionInfo.lowestPriorPriceWithConversion ● PriceMoney object

Optional opt-in: lowestPriorPrice with full conversion transparency — converted with the same rate as price.

PriceReductionInfo.percentageOffLowestPrior ● Float! non-null scalar

Discount measured against lowestPriorPrice, in percent (2 decimals). Zero or negative means the current price is not lower than the lowest prior price — do not advertise a discount then.

PriceReductionInfo.reductionStartedAt ● DateTime! non-null scalar

When the current reduction was introduced. Each deeper cut of a rolling promotion starts a new reduction.

PriceReductionInfo.referenceWindowStartedAt ● DateTime! non-null scalar

Start of the reference window — 30 days before the cut, or later when the product was published (or its price history began) inside those 30 days.

PriceReductionInfo.referenceWindowTruncated ● Boolean! non-null scalar

True when the window is shorter than 30 days (product offered for less than 30 days). The reference is then the lowest price since the offer began.

Member Of

Product object ● ProductVariant object