- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
getExistingPriceListsPriceIdsStep - Medusa Core Workflows Reference
This documentation provides a reference to the getExistingPriceListsPriceIdsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step retrieves prices of price lists.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { getExistingPriceListsPriceIdsStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = getExistingPriceListsPriceIdsStep({8 "price_list_ids": [9 "{value}"10 ]11 })12 }13)
Input#
GetExistingPriceListsPriceIdsStepInput
GetExistingPriceListsPriceIdsStepInputThe data to retrieve the prices of price lists.
GetExistingPriceListsPriceIdsStepInput
GetExistingPriceListsPriceIdsStepInputprice_list_ids
string[]The IDs of the price lists to retrieve the prices for.
price_list_ids
string[]Output#
GetExistingPriceListsPriceIdsStepOutput
GetExistingPriceListsPriceIdsStepOutputAn object whose keys are price list IDs and values are arrays of its price IDs.
GetExistingPriceListsPriceIdsStepOutput
GetExistingPriceListsPriceIdsStepOutputGetExistingPriceListsPriceIdsStepOutput
Record<string, string[]>An object whose keys are price list IDs and values are arrays of its price IDs.
GetExistingPriceListsPriceIdsStepOutput
Record<string, string[]>Was this page helpful?