CreatePriceListPriceWorkflowDTO

The data to create a price list's price.

Properties#

amountnumber
The amount for the price.
currency_codestring
The currency code for the price.
variant_idstring
The ID of the variant that this price applies to.
max_quantitynull | numberOptional
The maximum quantity of the variant allowed in the cart for this price to be applied.
min_quantitynull | numberOptional
The minimum quantity of the variant required in the cart for this price to be applied.
rulesRecord<string, string>Optional
Additional rules for the price list.
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