- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPriceListsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createPriceListsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates a price list.
Example#
Input#
CreatePriceListsWorkflowStepDTO
CreatePriceListsWorkflowStepDTOThe data to create price lists.
CreatePriceListsWorkflowStepDTO
CreatePriceListsWorkflowStepDTOThe price lists to create.
variant_price_map
Record<string, string>An object whose keys are variant IDs and values are price set IDs.
variant_price_map
Record<string, string>Output#
PriceListDTO[]
PriceListDTO[]
PriceListDTO[]
PriceListDTO[]PriceListDTO
PriceListDTOA price list's details.
PriceListDTO
PriceListDTOWas this page helpful?