Skip to main content

PointHistory-KTSP

Function

Get KTSP Point History

Endpoint

  • /v1/point/ktsp-list

HTTP Method

  • POST

Request Headers

  • Authorization: Bearer {token}
  • X-App-Key: {appKey}

Request Payload

{
"pageNo": 1,
"pageSize": 10,
"memberId": "KT00000001"
}

Request Parameters

FieldRequiredTypeRemarkSample
pageNoNointegerPagination page number, 0 represents the first page1
pageSizeNointegerNumber of entries per page, maximum 20010
memberIdYesstringmemberId

Response Payload

{
"status": 1,
"errorCode": 0,
"message": "success",
"morePage": true,
"pageNo": 1,
"pageSize": 10,
"items": [
{
"pointCode": "2024092711198051931691286528",
"pointTime": "2024-09-27T13:43:22+08:00",
"point": 1000,
"pointType": "Sale",
"storeCode": "KTSP010000001",
"storeNameEn": "Shop name (EN)",
"storeNameSc": "Shop name (SC)",
"storeNameTc": "Shop name (TC)",
"descEn": "",
"descSc": "",
"descTc": ""
}
]
}

Response Parameters

FieldRequiredTypeRemarkSample
statusYesstringstatus code of the api call
messageYesstringdetail message of the api call
errorCodeNostring
morePageNobooleanWhether has more page. If this value is true, you may want to continue to check next pagetrue
pageNoNointegerPagination page number, 0 represents the first page1
pageSizeNointegerNumber of entries per page, maximum 20010
itemsNoobject[]
. pointCodeYesstringpoint codexx
. pointTimeYesstringpoint time, rfc3339 format2024-09-27T13:43:22+08:00
. pointYesintegerpoint1000
. pointTypeYesstringPoint type: Sale、Redeption、Manual、Promotion、Conversion、OtherSale
. storeCodeNostringStore Code
. storeNameEnNostringStore name (EN)
. storeNameScNostringStore name (SC)
. storeNameTcNostringStore name (TC)
. descEnNostringDesc (EN)
. descScNostringDesc (SC)
. descTcNostringDesc (TC)

Response Headers

Error Codes

Status CodeStatus Description
1Internal Error
3Missing Parameter
4Invalid Input
4100Member not found