Salla icon

Salla

Execute Salla Merchant API operations through the unified Actions backend.

Actions150

Marketing → Change Special Offer Status

AI-generated

Summary

Change the status of a special offer within the Marketing resource by specifying the offer ID and the desired new status.

Inputs

  • Sub-resource (required) — Select the sub-resource within Marketing to target, such as 'specialOffers'.
  • Offer (required) — The unique identification number of the special offer to update.
  • Status (required) — The new status for the special offer, either 'active' or 'inactive'.
  • Return Mode — Choose to return either only the data payload or the full backend response envelope, including status and raw data.

Output shape

a list of response objects, each reflecting the status change result for a single input item

The output depends on the selected Return Mode: 'Data Only' returns just the Salla data payload; 'Full Envelope' returns the complete backend response including HTTP status and raw data. Multiple input items produce an array of respective response items.

Examples

Example 1: Activate a special offer by its ID

Provide Sub-resource as 'specialOffers', specify the Offer ID, set Status to 'active', and choose Return Mode as needed.

Discussion