Price - Pricing Module Data Models Reference

This documentation provides a reference to the Price data model. It belongs to the Pricing Module.

idPrimaryKeyModifier<IdProperty>
The ID of the price.
currency_codeTextProperty
The currency code of the price. For example, usd.
amountBigNumberProperty
The amount of the price.
price_setBelongsTo<PriceList>
The associated PriceSet.
price_rulesHasMany<PriceRule>
The associated PriceRule records.
titleTextPropertyOptional
The title of the price
min_quantityNumberPropertyOptional
The minimum quantity that must be available in the cart for the price to be applied.
max_quantityNumberPropertyOptional
The maximum quantity allowed to be available in the cart for the price to be applied.
rules_countNumberPropertyOptional
The total number of rules of the price.
price_listBelongsTo<PriceList>Optional
The associated PriceList.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break