Actions150
- Branches Actions
- Carts Actions
- Catalog Actions
- Customers Actions
- Add Customers To Group Customer
- Create Customer Group
- Delete Customer Group
- List Customer Groups
- Update Customer Group
- Ban Customer
- Create Customer
- Customer Details
- Delete Customer
- List Customers
- Un-Ban customer
- Update Customer
- Customer Loyalty Points
- Update Customer Loyalty Points
- List Reviews
- Review Details
- Update Review
- Finance Actions
- Locations Actions
- Marketing Actions
- Merchant Actions
- Orders Actions
- List Auto Assignment Rules
- Order Assigned Employees Details
- Create Order History
- List Order Histories
- Create Invoice
- Create Order Invoice
- Invoice Details
- List Invoices
- Send Order Invoice
- Create Order Item
- Delete Order Item
- List Order Items
- Update Order Item
- List Order Reservations
- Create Custom Order Status
- List Order Statuses
- Order Status Details
- Update Custom Order Status
- Update Order Status
- Create Order
- Duplicate Order
- List Orders
- Order Actions
- Order Details
- Relocate Order Stock
- Update Order
- Products Actions
- Attach Digital Code
- Attach Digital File
- Delete Digital File
- Attach Image
- Attach Video by SKU
- Attach Youtube Video
- Delete Image
- Update Image
- List Product Quantities
- List Quantity Audit
- List Quantity Change Reasons
- Update Bulk Quantities
- Delete Option Template
- List Option Templates
- Option Template Details
- Create Product Option Value
- Delete Product Option Value
- Product Option Value Details
- Update Product Option Value
- Create Product Option
- Delete Product Option
- Product Option Details
- Update Product Option
- Create Product Tag
- List Product Tags
- List Product Variants
- Product Variant Details
- Update Product Variant
- Change Product Status
- Create Product
- Delete Product
- Delete Product By SKU
- List Products
- Product Details
- Product Details By SKU
- Update Product
- Update Product By SKU
- Update Product Price By SKU
- Shipping Actions
Marketing → Update Coupon
AI-generatedSummary
Update an existing marketing coupon in Salla by specifying its unique Coupon Id and optional fields to modify the coupon's properties such as code, type, amount, usage restrictions, scope limits (products, categories, brands, groups, shipping companies), and marketing commission details.
Inputs
- Sub-resource (required) — Select a sub-resource within the Marketing category, typically 'coupons' for this operation.
- Return Mode — Choose the response format: 'Data Only' for the Salla data payload or 'Full Envelope' for the complete backend response including status and raw data.
- Coupon Id (required) — The unique identification number assigned to the Coupon to update.
- Additional Fields — Optional fields to update coupon details, including but not limited to Coupon Code, Type (percentage or fixed amount), Amount, Start and Expiry Dates, Usage Limits, Minimum and Maximum Amounts, Free Shipping flag, Exclusions or Inclusions of Products, Categories, Brands, Groups, Shipping Companies, Payment Methods, and Marketing commission details such as marketer name, type, amount, and visibility.
Output shape
a list of JSON objects representing the updated coupon data or the full response envelope, depending on the Return Mode selected.
The output contains either the specific data payload for the updated coupon or the full backend response envelope. Arrays in data payloads may emit multiple items. Errors from the Salla API are surfaced as node execution errors with detailed messages.
Examples
Example 1: Update the amount and usage limit of an existing coupon
Specify the Coupon Id, set the 'type' to 'fixed', set the new 'amount', and optionally update 'usage_limit'. Choose 'Data Only' as Return Mode to get the updated coupon payload.