- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
createStockLocations - Stock Location Next Module Reference
This documentation provides a reference to the createStockLocations
method. This belongs to the Stock Location Next Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
createStockLocations(input, context?): Promise<StockLocationDTO>#
This method creates a stock location.
Example#
Parameters#
The stock location to create.
A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<StockLocationDTO>The created stock location.
Promise
Promise<StockLocationDTO>createStockLocations(input, context?): Promise<StockLocationDTO[]>#
This method creates stock locations.
Example#
Parameters#
input
CreateStockLocationInput[]The stock locations to create.
input
CreateStockLocationInput[]A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<StockLocationDTO[]>The created stock locations.
Promise
Promise<StockLocationDTO[]>Was this page helpful?