Loading...
Was this page helpful?
This documentation provides a reference to the createShippingOptionsPriceSetsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates price sets for one or more shipping options.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { createShippingOptionsPriceSetsStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = createShippingOptionsPriceSetsStep({8 "id": "id_UofT3yvNZtMC",9 "prices": [{10 "currency_code": "fkp",11 "amount": 612 }]13 })14 }15)
CreateShippingOptionsPriceSetsStepInput
CreateShippingOptionsPriceSetsStepInputid
stringprices
(ShippingOptionsPriceCurrencyCode | ShippingOptionsPriceRegionId)[]object[]
object[]id
stringpriceSetId
string