Skip to main content
Skip to main content

delete - Stock Location Next Module Reference

This documentation provides a reference to the delete method. This belongs to the Stock Location Next Module.

This method deletes a stock location by its ID.

Example

await stockLocationModuleService.delete("sloc_123")

Parameters

idstringRequired
The ID of the stock location.
contextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<void>Required
Resolves when the stock location is deleted successfully.
Was this section helpful?