Skip to main content

How to integrate Onro with Foodhub

Discover how to integrate with Foodhub, syncing orders and deliveries by following key setup steps and configuration details.

Updated this week

This guide provides step-by-step instructions for integrating Foodhub with Onro. The integration enables the synchronization of order and delivery information between the two platforms, improving operational efficiency.

We also integrate with other point-of-sale systems, such as Shopify. To learn more about integrating with Shopify, please read this article.

Prerequisite

Before starting the integration, we need the following information:

Note: This integration with FoodHub is implemented using the Partner API.

Client ID and Client Secret:

To proceed, you'll need the Client ID and Client Secret from your partner account (the account that receives orders from FoodHub):

  1. Contact an authorized FoodHub representative
    Reach out to a FoodHub contact who is authorized to provide API access and client credentials.

  2. Request client credentials
    Ask specifically for the Client ID and Client Secret required for the Partner API authentication.

  3. Wait for authorization
    Your request will be reviewed and, once approved, FoodHub will issue the credentials.

  4. Receive your Client ID and Client Secret
    After authorization, you will receive the Client ID and Client Secret, which you should save somewhere safe because we're going to need them.



    Store ID:

    For each store in FoodHub from which you want to receive orders, a Business Customer must be created in the partner’s system, and the corresponding FoodHub Store ID must be entered for that Business Customer.

Here’s how to obtain the Store ID for each of your stores:

  1. Identify the store in FoodHub
    The Store ID is assigned to your store (or your client) when it is registered in the FoodHub system. Typically, this ID can be found in the FoodHub Point of Sale (POS) software or your FoodHub merchant dashboard.

  2. Contact the FoodHub support or account manager
    If you cannot find the Store ID yourself, reach out to the FoodHub support team or your FoodHub account manager. Request the Store ID for your store.

  3. Request the Store ID to be linked to your partner account
    Inform the FoodHub team that you need the Store ID added to your partner account for API integration purposes. They will handle linking the Store ID to your account.

  4. Wait for confirmation
    Once the FoodHub team adds the Store ID to your partner account, you will be able to use it in your API integration.


Creating a business account for the corresponding store:

For each store in FoodHub that you want to receive orders from, you need to create a corresponding Business Customer account in the Admin Center. To learn about registering a new business customer, read this article.


There are some important points after you've created the business account:

  1. Set Minimum Balance to a Negative Value
    To allow the customer to place orders, make sure their Minimum Balance is set to a negative amount.

    • Go to: Admin Center → Customers

    • Select the customer and click on Details

    • Click on Edit, then set the Minimum Balance field to a negative value

  2. Set a Default Pickup Address
    Ensure the customer has a default pickup address set.

    • While on the customer’s Details page, go to the Addresses tab

    • Add or edit an address, and mark it as the Default


FoodHub integration settings

To start the integration, follow the path below:

Admin Center -> Integration -> POS (tab) -> selcet FoodHub

Do not close this page or click outside the modal. If you do, your progress will be lost. Please keep this page open until you complete the process.

Provide the required information:

  1. Business: Select the business name from the list.

  2. Order Type: Choose the order type that corresponds to the orders coming from Foodhub for this customer.

  3. Service: Select the service you want to associate with the Foodhub orders for this customer.

  4. Vehicle Type: Choose the vehicle type to be used for the Foodhub orders for this customer.

  5. Client ID: Please paste your Client ID here. Refer to the section above for instructions on how to obtain it.

  6. Client Secret: Please paste your Client Secret here. Refer to the section above for instructions on how to obtain it.

  7. Store ID: Paste the related Store ID here for this business.

  8. Webhook URL: Copy the Webhook URL by clicking on the copy button, log in to your Foodhub partner or restaurant dashboard, and navigate to the Integration Settings section. Locate the webhook configuration area, typically under API Settings or External Integrations, and paste the Onro Webhook URL into the designated field. Finally, save the changes to complete the connection between Foodhub and Onro.

Note: All orders from FoodHub are received in the system. The payment method of the orders that are paid in cash will appear as Cash on Delivery (COD), while non-cash orders will be shown as Wallet.

There you have it, the integration has been completed at this point.

Did this answer your question?