- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
cancelBeginOrderEditWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the cancelBeginOrderEditWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow cancels a requested edit for an order. It's used by the Cancel Order Edit Admin API Route.
You can use this workflow within your customizations or your own custom workflows, allowing you to cancel an order edit in your custom flow.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
CancelBeginOrderEditWorkflowInput
CancelBeginOrderEditWorkflowInputThe data to cancel a requested order edit.
CancelBeginOrderEditWorkflowInput
CancelBeginOrderEditWorkflowInputorder_id
stringThe ID of the order to cancel the edit for.
order_id
stringWas this page helpful?