Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Products → Update Bulk Quantities

AI-generated

Summary

Update the stock quantities of multiple products in bulk by specifying each product's identifier, quantity adjustment mode, and other optional details like unlimited stock flag, branch, and reason for change.

Inputs

  • Sub-resource (required) — Select a sub-resource within the chosen category (should be 'inventory' for bulk quantity updates).
  • Return Mode — Choose whether to return only the Salla data payload or the full backend response envelope.
  • Products (required) — List of products to update with the following details per product: identifier type (Product ID, Variant ID, SKU), identifier value, quantity, mode (overwrite, increment, decrement), unlimited quantity flag, optional branch ID, and optional reason ID describing the quantity change.

Output shape

a list of objects representing the response data from Salla for each bulk quantity update operation; format depends on the selected Return Mode (data only or full envelope).

The output may return multiple items if multiple products are updated. The response shape adapts to 'Return Mode': 'Data Only' returns Salla's data payload arrays, 'Full Envelope' returns the complete backend response including status and raw data. Errors throw NodeApiError with detailed Salla API error info.

Discussion