Search

Index

Revindex Storefront

Authentication

Last updated on 2016-03-16 1 mins. to read

Currently, only Administrators and Host users are allowed to connect to the API service. In order to authenticate with the API service, you will need to obtain your Username and API Key from your configuration panel. The API Key is different than your normal Web site password. Every request must include the credential node in your XML/JSON.

Examples

The example below authenticates as Administrator while calling the GetActiveProduct service.

<?xml version="1.0" encoding="utf-8"?>
<request>
    <version>1.0</version>
    <credential>
       <username>Administrator</username>
       <apikey>00000000-0000-0000-0000-000000000000</apikey>
    </credential>
    <service>GetActiveProduct</service>
    <parameters>
        <productid>1</productid>
    </parameters>
</request>

Comments


Powered by Revindex Wiki