Crevio · Schema

Discount

Business FormationWebsite BuilderPaymentsCRM

Properties

Name Type Description
id string
object string
status string
discount_type string
code string
amount_off integernull
duration string
duration_in_months integernull
max_redemptions integernull
times_redeemed integer
starts_at stringnull
redeem_by stringnull
minimum_amount integernull
once_per_customer boolean
first_order_only boolean
created_at string
updated_at string
percent_off numbernull
currency stringnull
View JSON Schema on GitHub

JSON Schema

crevio-co-discount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-discount-schema.json",
  "title": "Discount",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-discounts-api-openapi.yml#/components/schemas/Discount",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive"
      ]
    },
    "discount_type": {
      "type": "string",
      "enum": [
        "percentage",
        "fixed"
      ]
    },
    "code": {
      "type": "string"
    },
    "amount_off": {
      "type": [
        "integer",
        "null"
      ]
    },
    "duration": {
      "type": "string",
      "enum": [
        "forever",
        "once",
        "repeating"
      ]
    },
    "duration_in_months": {
      "type": [
        "integer",
        "null"
      ]
    },
    "max_redemptions": {
      "type": [
        "integer",
        "null"
      ]
    },
    "times_redeemed": {
      "type": "integer"
    },
    "starts_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "redeem_by": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "minimum_amount": {
      "type": [
        "integer",
        "null"
      ]
    },
    "once_per_customer": {
      "type": "boolean"
    },
    "first_order_only": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "percent_off": {
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "currency": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "id",
    "object",
    "status",
    "discount_type",
    "code",
    "amount_off",
    "duration",
    "duration_in_months",
    "max_redemptions",
    "times_redeemed",
    "starts_at",
    "redeem_by",
    "minimum_amount",
    "once_per_customer",
    "first_order_only",
    "created_at",
    "updated_at",
    "percent_off",
    "currency"
  ]
}

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/crevio-co-discount"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.