- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
upsertStockLocations - Stock Location Next Module Reference
This documentation provides a reference to the upsertStockLocations
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.
upsertStockLocations(data, sharedContext?): Promise<StockLocationDTO[]>#
This method updates or creates stock location service nexts if they don't exist.
Example#
Parameters#
data
UpsertStockLocationInput[]The list of Make all properties in t optional
data
UpsertStockLocationInput[]Returns#
Promise
Promise<StockLocationDTO[]>The created or updated stock location service nexts.
Promise
Promise<StockLocationDTO[]>upsertStockLocations(data, sharedContext?): Promise<StockLocationDTO>#
This method updates or creates a stock location service next if it doesn't exist.
Example#
Parameters#
Make all properties in T optional
Returns#
Promise
Promise<StockLocationDTO>The created or updated stock location service next.
Promise
Promise<StockLocationDTO>Was this page helpful?