Authorization: Bearer ********************
curl --location --request GET 'https://api.gofive.co.th/v2/products/' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json'
{
"status": {
"code": "1000",
"description": "Success"
},
"data": {
"productCode": "OSP100",
"productBarcode": "",
"productName": "Singel Open API-2",
"productDescription": "Open API Test",
"category": "Open API",
"cost": 10,
"prices": [
{
"priceTierName": "Normal Price",
"regularPrice": 5000,
"salePrice": 2500,
"vatValue": 7,
"useDefaultVat": false
}
],
"productUnitName": "API",
"productTag": [],
"productImage": [
"https://i.postimg.cc/8zj5pZf8/Ea-Ix-XP-VAAY2-K8-X.jpg"
],
"trackInventory": true,
"qty": 90,
"lowStockAlert": 10,
"useWarranty": false,
"visibility": true,
"active": true
}
}