Emporix · Schema

Coupon Redemption Request

Defines a coupon redemption request payload that affects a coupon instance.

CompanyCommerceE-CommerceB2B CommerceHeadless CommerceComposable CommerceCommerce OrchestrationAgentic CommerceiPaaSSoftware-as-a-Service

Properties

Name Type Description
orderCode string Code of the associated order.
customerNumber string The customer Id of the user, e.g. C0123456789. Can be specified only if coupon.coupon_redeem_on_behalf scope is present.
legalEntityId string 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 object
discount object
View JSON Schema on GitHub

JSON Schema

emporix-redemption-creation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-redemption-creation-schema.json",
  "title": "Coupon Redemption Request",
  "description": "Defines a coupon redemption request payload that affects a coupon instance.",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-coupon-openapi.yml#/components/schemas/redemption-creation",
  "type": "object",
  "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"
  ],
  "$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."
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/emporix-redemption-creation"
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.