- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
createShippingProfilesStep - Medusa Core Workflows Reference
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": "Ellsworth",9 "type": "{value}"10 })11 }12)
Input#
CreateShippingProfilesStepInput
CreateShippingProfilesStepInputThe shipping profiles to create.
CreateShippingProfilesStepInput
CreateShippingProfilesStepInputname
stringThe name of the shipping profile.
name
stringtype
stringThe type of the shipping profile.
type
stringmetadata
null | Record<string, unknown>OptionalHolds custom data in key-value pairs.
metadata
null | Record<string, unknown>OptionalOutput#
ShippingProfileDTO[]
ShippingProfileDTO[]
ShippingProfileDTO[]
ShippingProfileDTO[]ShippingProfileDTO
ShippingProfileDTOThe shipping profile details.
ShippingProfileDTO
ShippingProfileDTOWas this page helpful?