Skip to content

docs: add get coupon by code endpoint to API reference#203

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/ae61e414
Open

docs: add get coupon by code endpoint to API reference#203
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/ae61e414

Conversation

@mintlify

@mintlify mintlify Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the new GET /coupons/code/{code} endpoint to the API reference so customers can look up a coupon by its promo code.

Changes

  • Added the /coupons/code/{code} path to api-reference/openapi.json, mirroring the upstream API definition (operation getCouponByCode, read scope, CouponResponse schema).

Context

Backend shipped a new endpoint to resolve coupons by promo code (e.g. for checkout or validation flows). The endpoint reuses the existing CouponResponse schema and requires API key auth. No UI or workflow changes were introduced, so the existing coupon guides do not need updates.

@mintlify

mintlify Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
flexprice 🟢 Ready View Preview Jun 16, 2026, 7:36 AM

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.

0 participants