Skip to content

InapplicableCoupon

Type: schema

TypeScript Definition

typescript
InapplicableCoupon: {{
            id?: string;
            name?: string;
            coupon_type?: components["schemas"]["CouponType"];
            coupon_code?: string[];
            reason?: string;
            suggestion?: string;
        };
}

Component References

ReferenceResolves To
components["schemas"]["CouponType"]CouponType

OpenAPI Schema

json
{
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/InapplicableCoupon",
    "description": "API reference for the InapplicableCoupon schema"
  },
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "coupon_type": {
      "$ref": "#/components/schemas/CouponType"
    },
    "coupon_code": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "reason": {
      "type": "string"
    },
    "suggestion": {
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: