- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
deleteStockLocationsStep - Medusa Core Workflows Reference
This documentation provides a reference to the deleteStockLocationsStep
. It belongs to the @medusajs/medusa/core-flows
package.
This step deletes one or more stock locations.
Input#
DeleteStockLocationsStepInput
DeleteStockLocationsStepInputThe IDs of stock locations to delete.
DeleteStockLocationsStepInput
DeleteStockLocationsStepInputDeleteStockLocationsStepInput
string[]The IDs of stock locations to delete.
DeleteStockLocationsStepInput
string[]Output#
DeleteEntityInput
DeleteEntityInputThe details of a data model's record whose linked records should be deleted. Usually used after the
data model's record is deleted.
The key is the data model's name. Its value is an object that has the ID of the data model's record.
DeleteEntityInput
DeleteEntityInputDeleteEntityInput
objectThe details of a data model's record whose linked records should be deleted. Usually used after the
data model's record is deleted.
The key is the data model's name. Its value is an object that has the ID of the data model's record.
DeleteEntityInput
objectWas this page helpful?