Update Coupon Code

Updates a coupon code specified by the given identifier synchronously. We allow updating the 'status' and 'expires_at' of coupon codes.

Rate limits:
Burst: 350/s
Steady: 3500/m

Scopes: coupon-codes:write

Options

Id
The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.
Revision
API endpoint revision (format: YYYY-MM-DD[.suffix])
Body
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • Type:
  • Id: The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.
  • Attributes:
  • Relationships:
  • Links:

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.