Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Products → Update Product Variant

AI-generated

Summary

Update a specific product variant in Salla by providing its unique variant ID and required details such as SKU, barcode, price, sale price, cost price, weight, MPN, GTIN, and optionally stock quantity and multi-branch quantities.

Inputs

  • Sub-resource (required) — Select 'variants' as the sub-resource to update a product variant.
  • Variant (required) — Unique identification number assigned to the Product SKU Variant to update.
  • Sku (required) — Stock Keeping Unit (SKU), a unique code for identifying the product variant.
  • Barcode (required) — Barcode value of the product variant.
  • Price (required) — Regular price of the product variant.
  • Sale Price (required) — Sale price of the product variant.
  • Cost Price (required) — Original or purchase price at which this product variant was acquired.
  • Weight (required) — Weight of the product variant.
  • Mpn (required) — Manufacturer Part Number for the variant.
  • Gtin (required) — Global Trade Item Number for the variant; must be set if product_type is compatible.
  • Stock Quantity — Total stock quantity for the default branch; ignored if multi-branch quantities are provided.
  • Quantities — Optional multi-branch stock quantities specifying stock per branch, each with branch ID, quantity, and optional reason ID.
  • Return Mode — Choose whether to return only the data payload or the full backend response envelope.

Output shape

a list of one or more items representing updated product variant data or full response envelopes depending on Return Mode.

Supports batch processing with multiple input items. The Return Mode property controls the response format: 'Data Only' returns the updated variant data, while 'Full Envelope' returns the entire API response including status and raw data. If multi-branch quantities are specified, the stock_quantity field is ignored.

Discussion