createPriceSetsStep - Medusa Core Workflows Reference
This documentation provides a reference to the createPriceSetsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more price sets.
Example#
Input#
CreatePriceSetWorkflowInput
CreatePriceSetWorkflowInputThe price sets to create.
CreatePriceSetWorkflowInput
CreatePriceSetWorkflowInputThe prices to create and add to this price set.
Output#
PriceSetDTO[]
PriceSetDTO[]
PriceSetDTO[]
PriceSetDTO[]id
stringThe ID of the price set.
id
stringThe prices that belong to this price set.
The calculated price based on the context.
Was this page helpful?