Smart Ordering

FREE
By shasureshkumar
Updated 4 months ago
1/10
Popularity Score
58543ms
Latency
-
Success Rate

Smart Ordering API Documentation

This API will sort the given products based on the user selection i.e., Amenities based or Walk Score based or both.

View API Details
POST/smartordering/sort/{type}
POST/smartordering/sort
POST/smartordering/sort/{type}
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
typeSTRING
REQUIRED
Code Snippet
unirest.post("https://nibodha-smartordering-v1.p.rapidapi.com/smartordering/sort/{type}")
.header("X-RapidAPI-Host", "nibodha-smartordering-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://nibodha-smartordering-v1.p.rapidapi.com/smartordering/sort/{type}
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://nibodha-smartordering-v1.p.rapidapi.com/smartordering/sort/{type}")
.header("X-RapidAPI-Host", "nibodha-smartordering-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication