Occasionally, customers will get a http 404 status error after Fomo sends a request to their api. This is because the api/rest endpoint does not exist. This guide shows how to create the route for the api. 

  1. Connect to your store via FTP

   2. Download the .htaccess file in the public or public_html folder

3. Add a rewrite rule in the .htaccess file

Simply copy/paste this:  RewriteRule ^api/rest api.php?type=rest [QSA,L]
into the .htaccess file and upload the changed  file back to Magento. Now your rest/api will be available for Fomo to request data from.

Did this answer your question?