Generates a prescription discount coupon for a selected pricing partner as a PNG image URL. Pass the partner name, NDC, quantity, and price from the pricing response to receive a coupon your customer can present at the pharmacy counter.
Two formats are available:
| Format | Endpoint | Returns | Use when |
|---|---|---|---|
POST /marketplace/v1/coupon/print | printCouponURL | Browser print | |
| View | POST /marketplace/v1/coupon/view | couponURL | In-app or web display |
The View endpoint accepts an optional locale field — pass "es-US" for Spanish.
Both endpoints return cardDetails — BIN, PCN, group number, and member ID — which the pharmacist can enter manually at the counter.
