- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteStockLocationsWorkflow - Medusa Core Workflows Reference
This documentation provides a reference to the deleteStockLocationsWorkflow
. It belongs to the @medusajs/medusa/core-flows
package.
This workflow deletes one or more stock locations. It's used by the Delete Stock Location Admin API Route.
You can use this workflow within your own customizations or custom workflows, allowing you to delete stock locations in your custom flows.
Source CodeExamples#
Steps#
Input#
DeleteStockLocationWorkflowInput
DeleteStockLocationWorkflowInputThe data to delete stock locations.
DeleteStockLocationWorkflowInput
DeleteStockLocationWorkflowInputids
string[]The IDs of the stock locations to delete.
ids
string[]Was this page helpful?