Loading...
Was this page helpful?
This documentation provides a reference to the createShippingProfilesStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step creates one or more shipping profiles.
1import { createWorkflow } from "@medusajs/framework/workflows-sdk"2import { createShippingProfilesStep } from "@medusajs/medusa/core-flows"3 4const myWorkflow = createWorkflow(5 "my-workflow",6 () => {7 const data = createShippingProfilesStep({8 "name": "Rickie",9 "type": "{value}"10 })11 }12)
CreateShippingProfilesStepInput
CreateShippingProfilesStepInputname
stringtype
stringmetadata
null | Record<string, unknown>OptionalShippingProfileDTO[]
ShippingProfileDTO[]id
stringname
stringtype
stringmetadata
null | Record<string, unknown>shipping_options
ShippingOptionDTO[]created_at
Dateupdated_at
Datedeleted_at
null | Date