Skip to Content

PreviousPrice

A previous price record for a product variant. This type represents historical pricing information, including both gross and net prices with their last update timestamp.

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

PreviousPrice is used to track historical pricing data for product variants. It appears as the node type in PreviousPriceEdge connections and is referenced by ProductVariant to indicate the previous lower price point. This allows clients to display pricing history and price change information.

Example

{ price netPrice updatedAt }

Implements

This type does not implement any interfaces.

  • PreviousPriceEdge
  • ProductVariant