Local Sales API Overview
The Chef Local Sales API expects to receive a JSON message that contains encoded UTF-8 strings over HTTPS POST.
Required information:
URL:
https://chef.penguinpos.com/pcu/datasync/tlogService.php, where chef.penguinpos.com is a domain with valid TLS certificates.Add
[chef.ip.address] chef.penguinpos.comto the hosts file, where chef.ip.address refers to the the LAN IP of the Chef device on the network.Provider: established provider name
Password: provided by the onboarding team
Delete Tlog Summary
Delete TLOG should only be sent ‘On Required’ basis if we need to delete all day transactions (which has been sent until that point) for a given business date. It need not be sent with every modifyTlogs.
Delete all Sales in N Business Dates
{
"api_version":"2.00",
"provider":"PROVIDER",
"password":"PASSWORD",
”method":"deleteTlogs",
"params":[ {
"restaurant_id":"RESTAURANT_NUMBER",
"date":"DATE"
} ]
}
JSON Validation Check:
Perform these internal checks before posting the JSON file:
Check 01: pos_total_sales_amount which is sum (order_sub_total) of all orders should be within defined tolerance range compared with BOH reported Sales.
Check 02: Orders that have only header records and no products.
If any of the above checks fail, do not submit the JSON request.