Properties
| Name | Type | Description |
|---|---|---|
| constraint | object | The limitations or restrictions of the coupon. |
| discountAmount | object | The discount amount after the coupon is applied. |
| discountType | string | The type of discount that the coupon applies. For implementation help, refer to eBay API documentation |
| message | string | A description of the coupon. Note: The value returned in the termsWebUrl field should appear for all experiences when displaying coupons. The value i |
| redemptionCode | string | The coupon code. |
| termsWebUrl | string | The URL to the coupon terms of use. Note: The value returned in the termsWebUrl field should appear for all experiences when displaying coupons. The |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/AvailableCoupon",
"title": "AvailableCoupon",
"type": "object",
"properties": {
"constraint": {
"description": "The limitations or restrictions of the coupon.",
"$ref": "#/components/schemas/CouponConstraint"
},
"discountAmount": {
"description": "The discount amount after the coupon is applied.",
"$ref": "#/components/schemas/Amount"
},
"discountType": {
"type": "string",
"description": "The type of discount that the coupon applies. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/buy/browse/types/gct:CouponDiscountType'>eBay API documentation</a>"
},
"message": {
"type": "string",
"description": "A description of the coupon.<br><br><span class=\"tablenote\"><b>Note:</b> The value returned in the <code>termsWebUrl</code> field should appear for all experiences when displaying coupons. The value in the <code>availableCoupons.message</code> field must also be included if returned in the API response.</span>"
},
"redemptionCode": {
"type": "string",
"description": "The coupon code."
},
"termsWebUrl": {
"type": "string",
"description": "The URL to the coupon terms of use.<br><br><span class=\"tablenote\"><b>Note:</b> The value returned in the <code>termsWebUrl</code> field should appear for all experiences when displaying coupons. The value in the <code>availableCoupons.message</code> field must also be included if returned in the API response.</span>"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ebay-availablecoupon"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.