HomeGuidesAPI ReferenceChangelog
Terms of Use
API Reference

Energy coupon template / Update

Update an energy coupon template. Only non-structural fields can be updated.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The energy coupon template ID

Body Params
string
length ≤ 255

Template name

integer | null
≥ 0

Maximum number of redemptions allowed. Can only be increased or removed (unlimited). Cannot be decreased.

date

Uses the YYYY-MM-DD date format.

redemptionRules
object

Rules that restrict who can redeem this template. Each rule is an independent check; enabling multiple rules stacks them.

restrictions
object

Restrictions that limit where and by whom coupons can be used. All sub-restrictions are always returned.

tags
array of strings

Tags to associate with this template. Replaces existing tags.

tags
Responses

Language
Credentials
Bearer
API Token
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json