Skip to main content

Price

No description

type Price {
id: String!
createdAt: DateTime!
lastModifiedAt: DateTime!
productId: Int!
per: Int!
list: Float!
costPrices: [CostPrice!]
suggested: Float
store: Float
bulkPriceDiscountType: PriceDiscountType!
defaultTaxCode: Taxcode!
display: PriceDisplay
cost: Float @deprecated
}

Fields​

Price.id ● String! non-null scalar​

Unique identifier for the price record

Price.createdAt ● DateTime! non-null scalar​

Timestamp when the price record was initially created

Price.lastModifiedAt ● DateTime! non-null scalar​

Timestamp when the price record was last updated

Price.productId ● Int! non-null scalar​

Product identifier for price association

Price.per ● Int! non-null scalar​

Unit quantity for the listed price.

Defines how many units of the product are included in the listed price. For example, a value of 1 means the price is per single unit, while 12 might indicate the price is per dozen.

Price.list ● Float! non-null scalar​

Base selling price for the product.

This is the standard price used for pricing calculations before applying customer-specific discounts, volume pricing, or promotional offers. Serves as the foundation for all pricing logic.

Price.costPrices ● [CostPrice!] list object​

Price.suggested ● Float scalar​

Manufacturer's recommended retail price (RRP).

The price recommended by the manufacturer or supplier for retail sales. Used as a reference point for pricing decisions and can be displayed to customers as a comparison price.

Price.store ● Float scalar​

Physical store selling price.

The price at which the product is sold in brick-and-mortar stores. May differ from online prices due to store-specific costs, regional pricing strategies, or channel-specific promotions.

Price.bulkPriceDiscountType ● PriceDiscountType! non-null enum​

Volume discount calculation method.

Defines how bulk discounts are applied: as a percentage reduction from the base price or as a fixed discounted price per unit. Determines the calculation logic for volume pricing.

Price.defaultTaxCode ● Taxcode! non-null enum​

Default tax code

Price.display ● PriceDisplay enum​

Frontend price display configuration.

Controls how the price should be presented in user interfaces. Options include standard display, promotional formatting, or special pricing indicators. Default value is 'DEFAULT'.

Show deprecated

Returned By​

price query ● priceCreate mutation ● priceUpdate mutation

Member Of​

PriceResponse object ● Product object