PriceDTO

A price's data.

idstring
The ID of a price.
created_atDate
When the price was created.
updated_atDate
When the price was updated.
deleted_atnull | Date
When the price was deleted.
titlestringOptional
The title of the price.
currency_codestringOptional
The currency code of this price.
amountBigNumberValueOptional
The price of this price.
min_quantityBigNumberValueOptional
The minimum quantity required to be purchased for this price to be applied.
max_quantityBigNumberValueOptional
The maximum quantity required to be purchased for this price to be applied.
price_setPriceSetDTOOptional
The price set associated with the price.
price_listPriceListDTOOptional
The price list associated with the price.
price_set_idstringOptional
The ID of the associated price set.
price_rulesPriceRuleDTO[]Optional
The price rules associated with the price.
Was this page helpful?
Edit this page
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