Skip to content

CustomerLoyaltyTier ​

Type: schema

TypeScript Definition ​

typescript
CustomerLoyaltyTier: {{
            id: string;
            name: string;
            total_spent_threshold: number | null;
            total_orders_threshold: number | null;
            points_earning_rate: number | null;
            fixed_points: number | null;
        };
        /** CustomerMandate */
}

OpenAPI Schema ​

json
{
  "title": "CustomerLoyaltyTier",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/CustomerLoyaltyTier",
    "description": "API reference for the CustomerLoyaltyTier schema"
  },
  "required": [
    "id",
    "name",
    "total_spent_threshold",
    "total_orders_threshold",
    "points_earning_rate",
    "fixed_points"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "total_spent_threshold": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "total_orders_threshold": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "points_earning_rate": {
      "type": [
        "number",
        "null"
      ]
    },
    "fixed_points": {
      "type": [
        "integer",
        "null"
      ]
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: