HighLevel · Schema
CreateCouponResponseDto
CompanySoftware-as-a-ServiceMarketingCRMAutomationMarketing Automation
Properties
| Name | Type | Description |
|---|---|---|
| _id | string | Unique MongoDB identifier for the coupon |
| usageCount | number | Number of times the coupon has been used |
| limitPerCustomer | number | Maximum number of times a customer can use this coupon (0 for unlimited) |
| altId | string | Location Id |
| altType | string | Type of entity |
| name | string | Display name of the coupon |
| code | string | Redemption code for the coupon |
| discountType | string | Type of discount (percentage or amount) |
| discountValue | number | Value of the discount (percentage or fixed amount) |
| status | string | Current status of the coupon |
| startDate | string | Date when the coupon becomes active |
| endDate | string | End date when the coupon expires |
| applyToFuturePayments | boolean | Indicates if the coupon applies to future recurring payments |
| applyToFuturePaymentsConfig | object | Configuration for how the coupon applies to future payments |
| userId | string | User ID associated with the coupon (if applicable) |
| createdAt | string | Creation timestamp |
| updatedAt | string | Last update timestamp |
| traceId | string | Unique identifier for tracing this API request |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/highlevel/main/json-schema/highlevel-create-coupon-response-dto-schema.json",
"title": "CreateCouponResponseDto",
"x-generated": "2026-09-22",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/highlevel-payments-openapi.json#/components/schemas/CreateCouponResponseDto",
"type": "object",
"properties": {
"_id": {
"type": "string",
"description": "Unique MongoDB identifier for the coupon"
},
"usageCount": {
"type": "number",
"description": "Number of times the coupon has been used"
},
"limitPerCustomer": {
"type": "number",
"description": "Maximum number of times a customer can use this coupon (0 for unlimited)"
},
"altId": {
"type": "string",
"description": "Location Id"
},
"altType": {
"type": "string",
"description": "Type of entity"
},
"name": {
"type": "string",
"description": "Display name of the coupon"
},
"code": {
"type": "string",
"description": "Redemption code for the coupon"
},
"discountType": {
"type": "string",
"description": "Type of discount (percentage or amount)",
"enum": [
"percentage",
"amount"
]
},
"discountValue": {
"type": "number",
"description": "Value of the discount (percentage or fixed amount)"
},
"status": {
"type": "string",
"description": "Current status of the coupon",
"enum": [
"scheduled",
"active",
"expired"
]
},
"startDate": {
"type": "string",
"description": "Date when the coupon becomes active"
},
"endDate": {
"type": "string",
"description": "End date when the coupon expires"
},
"applyToFuturePayments": {
"type": "boolean",
"description": "Indicates if the coupon applies to future recurring payments"
},
"applyToFuturePaymentsConfig": {
"description": "Configuration for how the coupon applies to future payments",
"allOf": [
{
"$ref": "#/$defs/ApplyToFuturePaymentsConfigDto"
}
]
},
"userId": {
"type": "string",
"description": "User ID associated with the coupon (if applicable)"
},
"createdAt": {
"type": "string",
"description": "Creation timestamp"
},
"updatedAt": {
"type": "string",
"description": "Last update timestamp"
},
"traceId": {
"type": "string",
"description": "Unique identifier for tracing this API request"
}
},
"required": [
"_id",
"usageCount",
"limitPerCustomer",
"altId",
"altType",
"name",
"code",
"discountType",
"discountValue",
"status",
"startDate",
"applyToFuturePayments",
"applyToFuturePaymentsConfig",
"createdAt",
"updatedAt",
"traceId"
],
"$defs": {
"ApplyToFuturePaymentsConfigDto": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Type of future payments configuration",
"enum": [
"forever",
"fixed"
]
},
"duration": {
"type": "number",
"description": "Duration value for fixed type configurations"
},
"durationType": {
"type": "string",
"description": "Duration type for fixed configurations (e.g. months)"
}
},
"required": [
"type"
]
}
}
}
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/highlevel-create-coupon-response-dto"
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.