- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPriceListsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createPriceListsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more price lists. It's used by the Create Price List Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to create price lists in your custom flows.
Source CodeExamples#
Steps#
Input#
CreatePriceListsWorkflowInput
CreatePriceListsWorkflowInputThe data to create price lists.
CreatePriceListsWorkflowInput
CreatePriceListsWorkflowInputprice_lists_data
CreatePriceListWorkflowInputDTO[]The price lists to create.
price_lists_data
CreatePriceListWorkflowInputDTO[]Output#
PriceListDTO[]
PriceListDTO[]
PriceListDTO[]
PriceListDTO[]PriceListDTO
PriceListDTOA price list's details.
PriceListDTO
PriceListDTOWas this page helpful?