PreviousPrice
A previous price record for a product variant, containing historical pricing information including gross and net prices along with the timestamp of when the price was last updated.
Type Definition
type PreviousPrice {
price: Float
netPrice: Float
updatedAt: String
}Fields
| Field | Type | Description |
|---|---|---|
| price | Float | The previous price value. |
| netPrice | Float | The previous net price value. |
| updatedAt | String | The date and time when this price was last updated (RFC 2822 format). |
Relationships
The PreviousPrice type is used to track historical pricing data for product variants. It is returned as the node within PreviousPriceEdge connections and is accessible through the previousLowerPrice field on ProductVariant objects, allowing you to retrieve and compare previous pricing information for products.
Example
{
price
netPrice
updatedAt
}Implements
This type does not implement any interfaces.