LoyaltyPointActivity
Type: schema
Description
Loyalty Point Activity
TypeScript Definition
typescript
LoyaltyPointActivity: {{
/** @enum {string} */
activity_type?: "earned" | "redeemed";
/** @constant */
activity?: "order";
reference_number?: string;
title?: string;
loyalty_point?: number;
remarks?: string;
/** Format: date-time */
created_at?: string;
/** Format: date-time */
modified_at?: string;
};
/** MeasurementUnit */
}OpenAPI Schema
json
{
"title": "LoyaltyPointActivity",
"description": "Loyalty Point Activity",
"type": "object",
"externalDocs": {
"url": "https://llm-docs.commercengine.io/storefront/schemas/LoyaltyPointActivity",
"description": "API reference for the LoyaltyPointActivity schema"
},
"properties": {
"activity_type": {
"type": "string",
"enum": [
"earned",
"redeemed"
]
},
"activity": {
"const": "order"
},
"reference_number": {
"type": "string"
},
"title": {
"type": "string"
},
"loyalty_point": {
"type": "integer"
},
"remarks": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"modified_at": {
"type": "string",
"format": "date-time"
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions