Visit our developers docs for installation instructions for Magento1:
Visiting /api/rest on my store results in a 404 error page - why?
LoyaltyLion requires API access to your Magento store in order to function correctly.
If we can't access your API, the most likely explanation is a misconfigured .htaccess directing API requests to the wrong part of Magento internals.
A correct .htaccess has a rewrite rule near the beginning which looks like this:
RewriteRule ^index\.php$ - [L]
RewriteRule ^api/rest api.php?type=rest [QSA,L]
My Magento development store is password protected, can I still set up LoyaltyLion?
LoyaltyLion requires access to your REST API.
It's quite common to control access to your store with HTTP Basic Auth during development. If you have done this, you'll need to remove this extra authentication on your API routes.
Example .htaccess configuration:
# set an environment variable "noauth" if the request starts with "/api/rest"
SetEnvIf Request_URI ^/api/rest noauth=1# the auth block
AuthName "Please login."
AuthUserFile /xxx/.htpasswd# Here is where we allow/deny
Deny from all
Allow from env=noauth