Product Master
Get Product Master by Id
get/product-masters/{id}
Request
- Base URLhttps://openapi.flowaccount.com/v1
- Authnone declared. Required headers: Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
เลข Id ของ Product master
Headers
Authorizationstring required
Response
200 response
Example response
{
"data": [
{
"type": 1,
"name": "Product",
"code": "P001",
"categoryId": 123,
"categoryName": "Category A",
"inventorySettings": [
{
"inventoryPublishedOn": "2021-01-01"
}
],
"mainProductId": 12345,
"mainUnitId": 56789,
"mainUnitName": "หน่วย",
"productLists": [
{
"id": 456,
"unitId": 789,
"unitName": "ครั้ง",
"isMainProduct": true,
"sellPrice": 9345.794393,
"sellPriceWithVat": 10000,
"barcode": "SERVICE",
"convertRatio": 1
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.