- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
updateShippingOptionsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the updateShippingOptionsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow updates one or more shipping options. It's used by the Update Shipping Options Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to update shipping options within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
UpdateShippingOptionsWorkflowInput
UpdateShippingOptionsWorkflowInputThe data to update the shipping options.
UpdateShippingOptionsWorkflowInput
UpdateShippingOptionsWorkflowInputUpdateShippingOptionsWorkflowInput
UpdateShippingOptionsWorkflowInput[]The data to update the shipping options.
UpdateShippingOptionsWorkflowInput
UpdateShippingOptionsWorkflowInput[]Output#
UpdateShippingOptionsWorkflowOutput
UpdateShippingOptionsWorkflowOutput
UpdateShippingOptionsWorkflowOutput
UpdateShippingOptionsWorkflowOutputid
stringThe updated shipping option's ID.
id
stringWas this page helpful?