Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Products → Update Product Option

AI-generated

Summary

Update a specific product option in the Salla platform by providing the option ID and desired changes such as the option name, requirement status, display type, visibility rules, and option values.

Inputs

  • Sub-resource (required) — Select the sub-resource within Products; for updating a product option, select 'options'.
  • Option (required) — Option ID to update; obtained from the product options list.
  • Option Name — The title of the option as shown to customers (e.g., 'Size' or 'Color'); leave empty to keep unchanged.
  • Required — Boolean to require the customer to select a value before adding the product to the cart; leave empty to maintain current setting.
  • Additional Fields — Collection of optional fields to update, including display type (text, image, or color), visibility rules (always or conditionally visible), sort order, advanced flags, and availability constraints. Also includes detailed editing of option values with attributes like name, quantity, display value, and default status.
  • Return Mode — Choose whether node outputs only the Salla data payload or the full backend response envelope.

Output shape

a list of response items, each corresponding to an input item, containing either the updated product option data payload or the full backend response envelope depending on the Return Mode.

When 'Data Only' is selected, the node emits just the Salla data payload as output. When 'Full Envelope' is selected, the node emits the full API response including status and raw data. Errors from the API are thrown as n8n NodeApiError with detailed information. Multiple items may be processed in a single execution, emitting multiple output items accordingly.

Examples

Example 1: Update the display type and values of a product option with specific option ID.

Set 'Sub-resource' to 'options', specify the 'Option' ID, adjust 'Additional Fields' to set 'Display Type' and 'Values', and choose 'Return Mode' as needed.

Discussion