- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
getVariantPriceSetsStep - Medusa Core Workflows Reference
This documentation provides a reference to the getVariantPriceSetsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step retrieves the calculated price sets of the specified variants.
Example#
To retrieve a variant's price sets:
To retrieve the calculated price sets of a variant:
Input#
GetVariantPriceSetsStepInput
GetVariantPriceSetsStepInputThe details of the variants to get price sets for.
GetVariantPriceSetsStepInput
GetVariantPriceSetsStepInputvariantIds
string[]The IDs of the variants to get price sets for.
variantIds
string[]context
Record<string, unknown>OptionalThe context to use when calculating the price sets.
Learn more in this documentation.
context
Record<string, unknown>OptionalOutput#
WorkflowDataProperties
WorkflowDataProperties<object>Was this page helpful?