Skip to content

v11.5.0 Add acquireEndTimestamp and expirationDay support to Coupon API

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 09:32
· 2 commits to master since this release
Immutable release. Only release title and notes can be modified.
f4efae3

What's Changed

  • Add acquireEndTimestamp and expirationDay support to Coupon API by @github-actions[bot] in #1921

Support coupon period options

Add acquireEndTimestamp and expirationDay to the Coupon API so developers can create coupons that expire relative to ticket acquisition.

  • Make endTimestamp optional in CouponCreateRequest.
  • Support a shared acquisition and usage deadline, an acquisition deadline with a ticket expiration period, a ticket expiration period alone, or no period fields.
  • Add nullable acquireEndTimestamp and expirationDay to CouponResponse.
  • Clarify that response endTimestamp contains the configured usage deadline, or a future timestamp when omitted at creation.

expirationDay accepts 1 to 365 days. Do not combine endTimestamp with either of the new fields.

News: https://developers.line.biz/en/news/2026/12/03/coupon-validity-period/

(original PR is line/line-openapi#134)

line-openapi updates

Dependency updates

Other Changes

Full Changelog: v11.4.0...v11.5.0


This release is prepared by @habara-k