Customise Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorised as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyse the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customised advertisements based on the pages you visited previously and to analyse the effectiveness of the ad campaigns.

No cookies to display.

How Can We Help?
< All Topics
Print

Rest API

The Rest API plugin connects your food mobile application with your WordPress website. It syncs all the food and restaurant-related data like restaurant listings, food listings, order details etc on your website with the FoodMato mobile application.

Installation of Rest API

Like all other premium plugins of FoodMato , the installation of Rest API requires the core plugin. 

There are two ways to install the plugin.

  • Manually: You can install the plugin manually using SFTP or FTP tools. Click here to learn the process. 
  • Automatically: You can install the plugin automatically from the backend of your website. Click here to learn the process.

General Settings

The ‘General Settings’ option allows the user to use the application with ease.

Follow the path to go to ‘General Settings’.

  1. WP-admin>>Food Manager>>Rest API>>General Settings
  2. general-settings-tab

  3. It has three options.
    • Enable Rest API Key: Tick the box if you want to enable the Rest API functionality on your website.
    • Application Name: Put the name of the application.
    • App Logo: Upload the logo you want to display on your mobile application.
    • general-settings-options

API Access Settings

The ‘API Access’ option allows you to create an API key, which you should enter in the application while logging in.

Follow the path to go to API Access. 

WP-admin>>Food Manager>>Rest API>>API Access

Take the steps mentioned below to create your API key.

  1. Go to API Access.
  2. api-access-tab

  3. Hit the ‘CREATE AN API KEY’ button.
  4. create-an-api-key

  5. Give all the required details in their respective fields.
    • Description : Give a name to differentiate one key from another.
    • User Owner of these Keys: Select the person who can use the key from the dropdown.
    • Expiry Date: Put the date till which the API key shall remain active.
    • Permissions: Select the type of permission from amongst – Write, Read, or Both.

    create-an-api-key-details

  6. Click the ‘Generate API Key’ button to generate the API key.
  7. create-an-api-key-successfully

  8. After generating the API key, click ‘API Access’ to see all the keys generated on this website.
  9. api-key-dashboard

  10. To revoke an API key, click on the key name under the ‘Description’ section. and then Revoke.
  11. api-key-dashboard-revoke-option

App Branding

The ‘App Branding’ option allows you to select the application color.

Color selection is crucial in application branding. Consider your food business theme while selecting the color. For example, FoodMato uses orange and white colors as its brand identity. Hence, the application should have the same color.

Follow the below-mentioned path to go to the ‘App Branding’ option.

WP-admin>>Food Manager>>Rest API>>APP Branding

Take the steps discussed below to set your app color.

  1. Go to APP Branding.
  2. It has the following options.
    • Primary: The main color of the application.
    • Success: Message’s color of the application.
    • Info: Color of the displayed information of the application.
    • Warning: Warning message’s color.
    • Danger: Application message’s color.

Check how your selected colors for the application look after activating the dark and light theme. Go to the mode on the right-hand side of the app branding setting and activate the dark and light themes to test the look.
app-branding

Table of Contents

Close