Actions144
- 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
Updates an existing coupon's details and scope (products, categories, payment methods, etc.) in Salla.
Inputs
- Coupon Id (required) — Unique identification number assigned to the Coupon.
- Return Mode — Choose how the node should emit responses: Data Only (returns Salla payload) or Full Envelope (returns status, raw data, and envelope).
- Code — Coupon Code. Body field.
- Type — Coupon type. Percentage or fixed amount discount. Body field.
- Amount — Coupon Amount. Required if the variable
typeis updated. Body field. - Start Date — Optional coupon start date. Accepted formats: YYYY-MM-DD or YYYY-MM-DD HH:MM:SS. Leave empty to keep the current value. Body field.
- Expiry Date — New expiry date. Must be a valid future date/time (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS). Leave empty to keep the existing expiry date. Body field.
- Applied In — Coupon to be applied at. Value can either
allorweborappBody field. - Usage Limit — Coupon Usage Limit. Body field.
- Usage Limit Per User — Coupon Usage Limit Per User. Body field.
- Minimum Amount — Coupon Minimum Amount. Body field.
- Maximum Amount — Coupon Maximum Amount Body field.
- Free Shipping — Whether or not the coupon include free shipping Body field.
- Exclude Sale Products — Whether or not the coupon exclude on-sale products Body field.
- Show Maximum Amount — Whether or not to show the maximum amount of the coupon Body field.
- Marketing Show Maximum Amount — Whether or not to show the marketing maximum amount of the coupon to the marketer Body field.
- Marketing Active — Whether or not the coupon include a marketer Body field.
- Marketing Name — Marketer Name. required-if marketing_active = true Body field.
- Marketing Type — Marketing commission type for this coupon. Body field.
- Marketing Amount — Marketing Amount. required-if marketing_active = true Body field.
- Marketing Hide Total Sales — Whether or not hide total sales Body field.
- Marketing Maximum Amount — Marketing Maximum Amount Value. required-if marketing_active = true Body field.
- Marketing Info — Marketing Additional Info Body field.
- Beneficiary Domain — Beneficiary Email Domain Body field.
- Products Include (IDs) — Update scope: limit this coupon to these product IDs. Leave empty to keep current scope.
- Products Exclude (IDs) — Update scope: exclude these product IDs from this coupon.
- List Include Categories (IDs) — Restrict this coupon to these category IDs.
- List Exclude Categories (IDs) — Exclude these category IDs from this coupon.
- List Exclude Brands (IDs) — Exclude these brand IDs from this coupon.
- List Include Groups (IDs) — Limit this coupon to these customer group IDs.
- List Exclude Groups (IDs) — Exclude these customer group IDs from this coupon.
- List Exclude Shipping (IDs) — Exclude these shipping companies from this coupon.
- Payment Methods — Limit this coupon to specific payment methods. Leave empty to allow all payment methods.
Output shape
A single record or an array of records representing the updated coupon, depending on the Return Mode.
When Return Mode is 'Full Envelope', the node returns the backend response envelope including status and raw data. The 'Additional Fields' section also supports advanced raw ID lists if the builder fields are not sufficient.
Examples
Example 1: Update a coupon's expiry date and enable free shipping
Coupon Id: 12345, Expiry Date: 2025-12-31, Free Shipping: true
Example 2: Restrict a coupon to specific products and payment methods
Coupon Id: 12345, Products Include: [10, 20], Payment Methods: [credit_card, paypal]
Example 3: Update marketing tracking for a coupon
Coupon Id: 12345, Marketing Active: true, Marketing Name: 'Affiliate Campaign', Marketing Type: 'percentage', Marketing Amount: 10