FreeGoodCouponPromotion
Type: schema
TypeScript Definition
typescript
FreeGoodCouponPromotion: {components["schemas"]["CouponPromotionCommonDetail"] & {
details: components["schemas"]["FreeGoodsRule"]
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CouponPromotionCommonDetail"] | CouponPromotionCommonDetail |
components["schemas"]["FreeGoodsRule"] | FreeGoodsRule |
OpenAPI Schema
json
{
"title": "FreeGoodCouponPromotion",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/FreeGoodCouponPromotion",
"description": "API reference for the FreeGoodCouponPromotion schema"
},
"allOf": [
{
"$ref": "#/components/schemas/CouponPromotionCommonDetail"
},
{
"type": "object",
"required": [
"details",
"applies_to_product"
],
"properties": {
"details": {
"$ref": "#/components/schemas/FreeGoodsRule"
},
"applies_to_product": {
"enum": [
"product"
]
}
}
}
]
}Auto-generated from OpenAPI spec and TypeScript definitions