Skip to content

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
{
  "type": "object",
  "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
    }
  },
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/admin-pos/schemas/FixedPricePromotion"
  },
  "required": [
    "promotion_type",
    "offer_price",
    "minimum_quantity",
    "maximum_quantity"
  ],
  "title": "FixedPricePromotion"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: