- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
createShippingProfilesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the createShippingProfilesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow creates one or more shipping profiles. It's used by the Create Shipping Profile Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to create shipping profiles within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CreateShippingProfilesWorkflowInput
CreateShippingProfilesWorkflowInput
CreateShippingProfilesWorkflowInput
CreateShippingProfilesWorkflowInputdata
CreateShippingProfile[]The shipping profiles to create.
data
CreateShippingProfile[]Output#
CreateShippingProfilesWorkflowOutput
CreateShippingProfilesWorkflowOutput
CreateShippingProfilesWorkflowOutput
CreateShippingProfilesWorkflowOutputid
stringThe ID of the shipping profile.
id
stringname
stringThe name of the shipping profile.
name
stringtype
stringThe type of the shipping profile.
type
stringmetadata
null | Record<string, unknown>Holds custom data in key-value pairs.
metadata
null | Record<string, unknown>shipping_options
ShippingOptionDTO[]The shipping options associated with the shipping profile.
shipping_options
ShippingOptionDTO[]created_at
DateThe creation date of the shipping profile.
created_at
Dateupdated_at
DateThe update date of the shipping profile.
updated_at
Datedeleted_at
null | DateThe deletion date of the shipping profile.
deleted_at
null | DateWas this page helpful?