OLD - Got It - Biz API
Every single Got It voucher is belong to a product. Product is one of physical products from vendor (e.g. a cup of coffee at Highlands store); or as a cash amount can be used to pay the bill at store (e.g. voucher 100.000 VND to pay bill at Ministop)
Fields and Data Type:
Product Unique Id
Product Name
Link to product image
Brand Id
Brand Name
Array of product sizes or product prices
Product Text Description
Text of Terms & Conditions
Array of stores that the voucher can be redeemed at.
Link to see the product details at Got It site
{CategoryID}
{CategoryID}
Authentication
Path variables
Responses
Request body
{
"minPrice" : 0,
"maxPrice" : 0,
"categoryId" : 0,
"orderBy" : 0,
"brandId" : 0,
"pagination" : {
"pageSize" : 5,
"page" : 1
}
}
Responses
Authentication
Request body
{
"productId" : 20
}
Responses
Authentication
Responses
Authentication
Responses
Authentication
Request body
Format “YYYY-MM-DD”
Voucher Reference ID Unique
Responses
Authentication
Used to check vouchers after initial transaction.
Request headers
Request body
Responses
Authentication
Request body
Format “YYYY-MM-DD”
Voucher Reference ID Unique
Responses
Body
Authentication
Used to check mutliple vouchers which have same voucherRefId after initial transaction.
Request headers
Request body
Responses
Authentication
Request body
Responses
Sent successfully
Body
Status. If success, stt = 1
Sent failed with message
Body
Error code
Message from error
Body
Authentication
Request body
Responses
Sent Successfully
Body
Status. If success, stt = 1
Sent failed with message
Body
Error code
Message from error