Repository navigation
Add acquireEndTimestamp and expirationDay support to Coupon API - #134
Merged
Merged
Conversation
mokuzon
approved these changes
Dec 3, 2026
PYTHONYou can check generated code in python |
NODEJSYou can check generated code in nodejs |
GOYou can check generated code in go |
PHPYou can check generated code in php |
JAVAYou can check generated code in java |
RUBYYou can check generated code in ruby |
This was referenced Dec 3, 2026
Merged
Merged
habara-k
pushed a commit
to line/line-bot-sdk-go
that referenced
this pull request
Dec 3, 2026
line/line-openapi#134 ## 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/ Co-authored-by: github-actions <github-actions@github.com>
habara-k
pushed a commit
to line/line-bot-sdk-php
that referenced
this pull request
Dec 3, 2026
line/line-openapi#134 ## 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/ Co-authored-by: github-actions <github-actions@github.com>
habara-k
pushed a commit
to line/line-bot-sdk-python
that referenced
this pull request
Dec 3, 2026
line/line-openapi#134 ## 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/ Co-authored-by: github-actions <github-actions@github.com>
habara-k
pushed a commit
to line/line-bot-sdk-nodejs
that referenced
this pull request
Dec 3, 2026
line/line-openapi#134 ## 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/ Co-authored-by: github-actions <github-actions@github.com>
habara-k
pushed a commit
to line/line-bot-sdk-ruby
that referenced
this pull request
Dec 3, 2026
line/line-openapi#134 ## 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/ Co-authored-by: github-actions <github-actions@github.com>
habara-k
pushed a commit
to line/line-bot-sdk-java
that referenced
this pull request
Dec 3, 2026
line/line-openapi#134 ## 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/ Co-authored-by: github-actions <github-actions@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support coupon period options
Add
acquireEndTimestampandexpirationDayto the Coupon API so developers can create coupons that expire relative to ticket acquisition.endTimestampoptional inCouponCreateRequest.acquireEndTimestampandexpirationDaytoCouponResponse.endTimestampcontains the configured usage deadline, or a future timestamp when omitted at creation.expirationDayaccepts 1 to 365 days. Do not combineendTimestampwith either of the new fields.News: https://developers.line.biz/en/news/2026/12/03/coupon-validity-period/