- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteServiceZonesWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the deleteServiceZonesWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes one or more service zones. It's used by the Remove Service Zones from Fulfillment Set Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to delete service zones within your custom flows.
Source CodeExamples#
Steps#
Workflow Hook
Step conditioned by when
Input#
DeleteServiceZonesWorkflowInput
DeleteServiceZonesWorkflowInputThe data to delete one or more service zones.
DeleteServiceZonesWorkflowInput
DeleteServiceZonesWorkflowInputids
string[]The IDs of the service zones to delete.
ids
string[]Was this page helpful?