- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateShippingProfilesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the updateShippingProfilesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow updates one or more shipping profiles. It's used by the Update Shipping Profiles Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to update shipping profiles within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
UpdateShippingProfilesWorkflowInput
UpdateShippingProfilesWorkflowInput
UpdateShippingProfilesWorkflowInput
UpdateShippingProfilesWorkflowInputselector
FilterableShippingProfilePropsThe filter to select the shipping profiles to update.
selector
FilterableShippingProfilePropsupdate
UpdateShippingProfileThe data to update in the shipping profile.
update
UpdateShippingProfileOutput#
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?