post
https://{host}/marketplace/v1/coupon/view
Generates a prescription discount coupon optimized for on-screen display, returned as a PNG image URL.
Supports localization — pass a locale field for non-English coupons.
Note: The drug field is optional. The live request body in the collection omits it.
Differences from /marketplace/v1/coupon/print:
- Accepts an optional
localefield (BCP 47, e.g."es-US"for Spanish) - Returns
couponURL(notprintCouponURL) — image sized for screen, not print
400 error variants:
- Invalid/unknown
pricingPartner→"Failed to find Contact Source for partner <name>" - Missing or zero
Quantity→ structured errors object withUnitQtykey - Missing or zero
price→ structured errors object withPricekey - NDC not in Medispan →
"Medispan drug not found for NDC: <value>"
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
