Skip to content

FreeGoodsSlab ​

Type: schema

TypeScript Definition ​

typescript
FreeGoodsSlab: {{
            buy_quantity: number;
            get_quantity: number;
            /** @enum {string} */
            quantity_condition: "less" | "less-or-equal" | "greater" | "greater-or-equal";
        };
        /** FreeShippingCouponPromotion */
}

OpenAPI Schema ​

json
{
  "type": "object",
  "properties": {
    "buy_quantity": {
      "type": "integer",
      "minimum": 1
    },
    "get_quantity": {
      "type": "integer",
      "minimum": 1
    },
    "quantity_condition": {
      "type": "string",
      "enum": [
        "less",
        "less-or-equal",
        "greater",
        "greater-or-equal"
      ]
    }
  },
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/admin-pos/schemas/FreeGoodsSlab"
  },
  "required": [
    "buy_quantity",
    "get_quantity",
    "quantity_condition"
  ],
  "title": "FreeGoodsSlab"
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: