Skip to Content

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

FieldTypeDescription
priceFloatThe previous price value.
netPriceFloatThe previous net price value.
updatedAtStringThe 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.