Skip to content

Type Definitions

Point

NameTypeDescription
point_typeStringType of points
amountNumberAmount of points

Example

json
{
    "point_type": "Point",
    "amount": 100
}

Customer Card

NameTypeDescription
idStringCustomer card ID
expired_atDateExpiration date/time of the customer card
cardCardObject of card

Card

NameTypeDescription
idStringCard ID
nameDateCard name
descriptionStringCard description
image_urlStringCard 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"
    }
}