Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2025-08-06 | 7.0 kB | |
v9.10.0 Add Coupon API Support to Messaging API source code.tar.gz | 2025-08-06 | 3.8 MB | |
v9.10.0 Add Coupon API Support to Messaging API source code.zip | 2025-08-06 | 4.5 MB | |
Totals: 3 Items | 8.3 MB | 1 |
What's Changed
This release introduces Coupon API support to the Messaging API, enabling developers to create, manage, and deliver coupons directly through bot integrations. These new features mirror capabilities previously only available through the LINE Official Account Manager, offering greater flexibility in automating coupon workflows via the Messaging API.
✨ New API Endpoints
-
POST
/v2/bot/coupon
Create a new coupon, including metadata such as title, description, validity period, image URLs, acquisition conditions, and reward details (e.g., fixed-amount discounts). -
GET
/v2/bot/coupon
Retrieve a list of all coupons associated with your bot. -
GET
/v2/bot/coupon/{couponId}
Fetch detailed metadata of a specific coupon. -
PUT
/v2/bot/coupon/{couponId}
Mark a coupon as expired.
💬 Messaging API Enhancements
- Added support for a new message type:
type=coupon
You can now send coupons directly to users using the Messaging API, similar to sending text, image, or template messages.
📌 Example Use Cases
- Create a 1000 yen off coupon
- Send the coupon to a user using the new coupon message type
For detailed usage examples, see the official documentation.
📢 Official Announcement:
LINE Developers News — Coupon API Released (2025/08/06)
line-openapi updates
- Add Coupon API Support to Messaging API by @github-actions[bot] in https://github.com/line/line-bot-sdk-java/pull/1684
Dependency updates
- chore(deps): update dependency gradle to v8.14.2 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1642
- fix(deps): update junit5 monorepo by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1643
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.0 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1644
- fix(deps): update dependency org.wiremock:wiremock-standalone to v3.13.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1645
- fix(deps): update jackson monorepo to v2.19.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1646
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1648
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.2 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1649
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.3 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1650
- fix(deps): update dependency org.junit.platform:junit-platform-launcher to v1.13.2 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1652
- fix(deps): update junit to v5.13.2 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1653
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1654
- chore(deps): update dependency org.openapitools:openapi-generator to v7.14.0 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1655
- chore(deps): update dependency org.openapitools:openapi-generator-gradle-plugin to v7.14.0 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1656
- fix(deps): update openapi-generator-version to v7.14.0 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1657
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v10.3.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1659
- chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.0 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1660
- fix(deps): update dependency io.github.littleproxy:littleproxy to v2.4.3 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1661
- chore(deps): update dependency gradle to v8.14.3 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1663
- fix(deps): update junit-framework monorepo by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1664
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.2 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1665
- chore(deps): update dependency org.apache.maven.plugins:maven-enforcer-plugin to v3.6.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1667
- fix(deps): update jackson to v2.19.2 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1669
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v10.4 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1670
- fix(deps): update junit-framework monorepo by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1671
- fix(deps): update dependency com.ocadotechnology.gembus:test-arranger to v1.6.4.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1672
- fix(deps): update okhttp monorepo to v5 (major) by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1662
- chore(deps): update dependency org.springframework.boot:spring-boot-gradle-plugin to v3.5.4 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1673
- chore(deps): update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.2.3 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1682
- fix(deps): update dependency com.nimbusds:nimbus-jose-jwt to v10.4.1 by @renovate[bot] in https://github.com/line/line-bot-sdk-java/pull/1683
Other Changes
- Fix pebble for array-type query parameter by @habara-k in https://github.com/line/line-bot-sdk-java/pull/1629
- Add option to skip signature verification by @habara-k in https://github.com/line/line-bot-sdk-java/pull/1635
- Update Kotlin version to 2.2.0 and adjust compiler options by @eucyt in https://github.com/line/line-bot-sdk-java/pull/1658
- Update CONTRIBUTING.md to enhance development guidelines by @eucyt in https://github.com/line/line-bot-sdk-java/pull/1666
- OSSRH is deprecated by @habara-k in https://github.com/line/line-bot-sdk-java/pull/1674
Full Changelog: https://github.com/line/line-bot-sdk-java/compare/v9.8.0...v9.10.0