- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
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": "Delbert"9 })10 }11)
Input#
CreateShippingProfilesStepInput
CreateShippingProfilesStepInputThe shipping profiles to create.
CreateShippingProfilesStepInput
CreateShippingProfilesStepInputname
stringThe name of the shipping profile.
name
stringtype
stringOptionalThe type of the shipping profile.
type
stringOptionalmetadata
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?