Amelia icon

Amelia

Interact with Amelia API

Actions119

Coupons → Update Coupon

AI-generated

Summary

Sends an update request for an Amelia coupon, with event, package, service, limit, and status values in the request body. Requires the Amelia API key credential; the request URL comes from the configured Amelia admin AJAX URL.

Inputs

  • Events — JSON array of event IDs; defaults to [80].
  • Limit — Numeric limit; defaults to 40.
  • Packages — JSON array of package IDs; defaults to [].
  • Services — JSON array of service IDs; defaults to [1, 2].
  • Status — Coupon status string; defaults to "hidden".
  • Request Options — Optional HTTP request settings: batching, insecure SSL acceptance, proxy, and timeout. Batching defaults to 50 items per batch with a 1000 ms interval; use -1 to disable batching. Timeout defaults to 10000 ms.

Output shape

A response from the Amelia API, passed through the node's main output.

The supplied source shows the node's shared request configuration but not operation-specific execution or response transformation, so the exact response fields are unspecified. The API key credential is required.

Links

Discussion