- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPriceListPricesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createPriceListPricesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates prices in price lists. It's used by other workflows, such as batchPriceListPricesWorkflow.
You can use this workflow within your customizations or your own custom workflows, allowing you to create prices in price lists in your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CreatePriceListPricesWorkflowInput
CreatePriceListPricesWorkflowInputThe data to create prices for price lists.
CreatePriceListPricesWorkflowInput
CreatePriceListPricesWorkflowInputThe prices to create.
Output#
CreatePriceListPricesWorkflowOutput
CreatePriceListPricesWorkflowOutputThe created prices.
CreatePriceListPricesWorkflowOutput
CreatePriceListPricesWorkflowOutputid
stringThe ID of a price.
id
stringcreated_at
DateWhen the price was created.
created_at
Dateupdated_at
DateWhen the price was updated.
updated_at
Datedeleted_at
null | DateWhen the price was deleted.
deleted_at
null | Datetitle
stringOptionalThe title of the price.
title
stringOptionalcurrency_code
stringOptionalThe currency code of this price.
currency_code
stringOptionalThe price of this price.
The minimum quantity required to be purchased for this price to be applied.
The maximum quantity required to be purchased for this price to be applied.
The price set associated with the price.
The price list associated with the price.
price_set_id
stringOptionalThe ID of the associated price set.
price_set_id
stringOptionalThe price rules associated with the price.
Was this page helpful?