Emporix · Schema
Coupon Redemption
Defines a coupon redemption response.
CompanyCommerceE-CommerceB2B CommerceHeadless CommerceComposable CommerceCommerce OrchestrationAgentic CommerceiPaaSSoftware-as-a-Service
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier of the redemption. |
| redeemedAt | string | Timestamp of the redemption. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-redemption-schema.json",
"title": "Coupon Redemption",
"description": "Defines a coupon redemption response.",
"x-generated": "2026-10-18",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/emporix-coupon-openapi.yml#/components/schemas/redemption",
"type": "object",
"allOf": [
{
"$ref": "#/$defs/redemption-creation"
}
],
"properties": {
"id": {
"description": "Unique identifier of the redemption.",
"type": "string"
},
"redeemedAt": {
"description": "Timestamp of the redemption.",
"type": "string",
"format": "date-time"
}
},
"$defs": {
"currency-amount": {
"type": "object",
"title": "Money amount",
"description": "Defines an amount in a specific currency.",
"properties": {
"amount": {
"type": "number",
"default": 0,
"minimum": 0,
"description": "Total amount in the specified currency."
},
"currency": {
"type": "string",
"default": "USD",
"pattern": "^[A-Z]{3}$",
"description": "ISO 4217 currency code, e.g.: USD, EUR, CHF."
}
}
},
"redemption-creation": {
"type": "object",
"title": "Coupon Redemption Request",
"description": "Defines a coupon redemption request payload that affects a coupon instance.",
"properties": {
"orderCode": {
"description": "Code of the associated order.",
"type": "string"
},
"customerNumber": {
"type": "string",
"description": "The customer Id of the user, e.g. C0123456789. Can be specified only if coupon.coupon_redeem_on_behalf scope is present."
},
"legalEntityId": {
"type": "string",
"description": "The id of the legal entity to which customer is assigned. When customer is assigned to many legal entities then he can redeem the same coupon separately for each legal entity."
},
"orderTotal": {
"allOf": [
{
"$ref": "#/$defs/currency-amount"
},
{
"description": "The amount of the purchase."
}
]
},
"discount": {
"allOf": [
{
"$ref": "#/$defs/currency-amount"
},
{
"description": "The absolute amount of the granted discount."
}
]
}
},
"required": [
"orderTotal",
"discount"
]
}
}
}
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/emporix-redemption"
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.