Type Definitions
Point
| Name | Type | Description |
|---|---|---|
| point_type | String | Type of points |
| amount | Number | Amount of points |
Example
json
{
"point_type": "Point",
"amount": 100
}Customer Card
| Name | Type | Description |
|---|---|---|
| id | String | Customer card ID |
| expired_at | Date | Expiration date/time of the customer card |
| card | Card | Object of card |
Card
| Name | Type | Description |
|---|---|---|
| id | String | Card ID |
| name | Date | Card name |
| description | String | Card description |
| image_url | String | Card image URL |
Example
json
{
"id": "17590684-b536-4296-ab29-bfdf5c280600",
"expired_at": "2024-10-16T09:31:16.535Z",
"card": {
"id": "57de4cad-bb80-4516-94f6-e2da75eb39ab",
"name": "PLATINUM",
"description": "สมาชิก PLATINUM",
"image_url": "https://example.com/card-img.jpg"
}
}