POST
luma_calendars_coupons_update.py
import asyncio
from charter.packs import luma
result = asyncio.run(luma.calendars_coupons_update.ainvoke({"code": ...}))
Body
| Field | Type | Description |
|---|---|---|
code * | string | The coupon’s code, which is how this call finds the coupon to change. |
remainingCount | integer | Number of times the coupon can still be used. Set to 1000000 for unlimited uses. ≥ -9007199254740991; ≤ 9007199254740991 |
validStartAt | string | ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z |
validEndAt | string | ISO 8601 Datetime. For example, 2022-10-19T03:27:13.673Z |