API Overview

The Storehippo API is organized around REST. Our API has predictable, resource-oriented URLs, and uses message key HTTP response to indicate API success or errors. We use built-in HTTP features, like HTTP authentication  which are understood by off-the-shelf HTTP clients. We support cross-origin resource sharing, allowing you to interact securely with our API from a client-side web application. JSON is returned by all API responses.

How to call

// create a new cURL resource
$ch = curl_init();

// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, "http://example.com/api/1/entity/ms.products");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('access-key', 'access-key-name'));
curl_setopt($ch, CURLOPT_HEADER, 0); // do not bring headers
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// grab URL and pass it to the browser
$output = curl_exec($ch);
$products = json_decode($output);

$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);

// close cURL resource, and free up system resources

var request = require('request');
var options = {
    url: "http://example.com/api/1/entity/ms.products",
    headers: {}
options.headers['access-key'] = 'access-key-name';

request(options, function (err, response, body) {

    //console.log("Error >>>>> ", err);
    //console.log("Response >>>>> ", response);
    console.log("Body >>>>> ", body);



Using this feature we can directly add a domain for a store. No need to add this in ms.global_domains in mystore and no need to move store by crm.storehippo.com. This feature automatically complete  all formality  to make a store live .    


Type: string

Read Only: No

Required: Yes
Here put the name of domain name
Type: string

Read Only: No

Required: No
If you want apply storeHippo domain then you have to click here
Type: string

Read Only: No

Required: No
Here you have to valid mali_id which are related to that domain. 
Type: string

Read Only: Yes

Required: No
This button for if you want to make primary that specific domain
Type: string

Read Only: Yes

Required: No
This check box for if you want to redirect that domain to primary domain  
List GET /api/1/entity/ms.domains

this method for list all records of ms.domains

Add POST /api/1/entity/ms.domains

This method for add a domain in entity "ms.domains"

Delete GET /api/1/entity/ms.domains/_/:id

this method for delete a specific domain.