- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createPriceListPricesStep - Medusa Core Workflows Reference
This documentation provides a reference to the createPriceListPricesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates prices for a price list.
Example#
Input#
CreatePriceListPricesWorkflowStepDTO
CreatePriceListPricesWorkflowStepDTOThe data to create prices for price lists.
CreatePriceListPricesWorkflowStepDTO
CreatePriceListPricesWorkflowStepDTOdata
Pick<CreatePriceListWorkflowInputDTO, "prices"> & object[]The prices to create.
data
Pick<CreatePriceListWorkflowInputDTO, "prices"> & object[]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#
Was this page helpful?