KitchenHub / DL Cobalt Integration
Description:
DeliverLogic Middleware:
Contains multiple instances. Each instance has unique order information.
Each instance sends its order information, along with a unique identifier (ID), to the Kitchenhub Tablet.
It listens for status updates from the Kitchenhub Tablet, updating the appropriate instance using the unique ID.
Kitchenhub Tablet:
Processes orders received from DeliverLogic Middleware instances.
Determines the status of the order, either: Accept (with a time), Delayed (with a time), or Cancel (with a reason).
Sends the determined status with the associated ID back to the DeliverLogic Middleware.
Communication:
Bidirectional communication between the systems using unique order IDs ensures proper routing.
Integration can be achieved via APIs, Webhooks, or other suitable methods.
Actionables:
For the DeliverLogic Team:
API Development:
Develop an API endpoint to send order details along with a unique ID.
Develop an API endpoint to receive status updates based on the unique ID.
Data Structure:
Ensure that each order has a unique ID.
Standardize the order info data structure to include necessary details like product, quantity, and special instructions.
Testing:
Test the API endpoints with mock data to ensure they are working as expected.
Coordinate with the Kitchenhub team for end-to-end testing.
For the Kitchenhub Team:
API Development:
Develop an API endpoint to receive order details with unique IDs.
Develop an API endpoint to send status updates based on the unique ID.
Order Processing Logic:
Implement logic to process received orders and determine the status.
Ensure the status (Accept, Delayed, Cancel) is associated with the correct unique ID when sending back to DeliverLogic.
Testing:
Test the API endpoints with mock data.
Coordinate with the DeliverLogic team for end-to-end testing.
Conclusion:
By following the schematic and actionables outlined in this article, we aim to achieve a seamless integration between the DeliverLogic Middleware and Kitchenhub Tablet systems. Proper collaboration between both teams is essential for a successful implementation.