Skip to content

Add acquireEndTimestamp and expirationDay support to Coupon API - #134

Merged
habara-k merged 1 commit into
mainfrom
support-coupon-period-options
Dec 3, 2026
Merged

habara-k merged 1 commit into
mainfrom
support-coupon-period-options

Conversation

@habara-k

@habara-k habara-k commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

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/

@habara-k habara-k closed this Dec 3, 2026
@habara-k habara-k reopened this Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

PYTHON

You can check generated code in python

Check the diff here

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

NODEJS

You can check generated code in nodejs

Check the diff here

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

GO

You can check generated code in go

Check the diff here

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

PHP

You can check generated code in php

Check the diff here

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

JAVA

You can check generated code in java

Check the diff here

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

RUBY

You can check generated code in ruby

Check the diff here

@habara-k
habara-k added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit fcbb27a Dec 3, 2026
38 of 40 checks passed
@habara-k
habara-k deleted the support-coupon-period-options branch December 3, 2026 06:19
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants