Skip to content

v3.28.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
Immutable release. Only release title and notes can be modified.
9b19ec4

What's Changed

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

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

  • chore(deps): update pypa/gh-action-pypi-publish action to v1.14.3 by @renovate[bot] in #1094
  • chore(deps): update dependency python_dateutil to v3 by @renovate[bot] in #1095
  • chore(deps): update actions/setup-python action to v7.1.0 by @renovate[bot] in #1096
  • chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3.6.1 by @renovate[bot] in #1097
  • chore(deps): update dependency pytest-asyncio to v1.4.1 by @renovate[bot] in #1099
  • chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.7.0 by @renovate[bot] in #1101
  • chore(deps): update dependency pytest to v9.2.0 by @renovate[bot] in #1102
  • chore(deps): update dependency pytest-asyncio to v1.4.1.post1 by @renovate[bot] in #1104
  • chore(deps): update suzuki-shunsuke/pinact-action action to v3.1.0 by @renovate[bot] in #1100
  • fix(deps): update openapi-generator-version to v7.27.0 by @renovate[bot] in #1105
  • chore(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.7.0 by @renovate[bot] in #1106
  • chore(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.8.0 by @renovate[bot] in #1107
  • chore(deps): update dependency pytest-asyncio to v1.5.0 by @renovate[bot] in #1108
  • fix(deps): update dependency io.pebbletemplates:pebble to v4.1.3 by @renovate[bot] in #1109

Other Changes

  • test(coupon): cover optional coupon period usages by @habara-k in #1112

Full Changelog: v3.27.0...v3.28.0


This release is prepared by @habara-k