FixedPricePromotion
Type: schema
TypeScript Definition
typescript
FixedPricePromotion: {{
/**
* @description discriminator enum property added by openapi-typescript
* @enum {string}
*/
promotion_type: "fixed-price";
offer_price: number;
minimum_quantity: number;
maximum_quantity: number | null;
};
/** FixedPriceRule */
}OpenAPI Schema
json
{
"title": "FixedPricePromotion",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/FixedPricePromotion",
"description": "API reference for the FixedPricePromotion schema"
},
"required": [
"promotion_type",
"offer_price",
"minimum_quantity",
"maximum_quantity"
],
"properties": {
"promotion_type": {
"type": "string",
"const": "fixed-price"
},
"offer_price": {
"type": "number"
},
"minimum_quantity": {
"type": "integer",
"minimum": 1
},
"maximum_quantity": {
"type": [
"integer",
"null"
],
"minimum": 1
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions