Saas API
API Documentation

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

API Methods

Authentication API

This is a self-navigating API documentation. Please feel free to explore across the Index. API calls gives you a hands-on experience of those methods provided. Field reference lists, describes the type of information provided by the API.

Registration

POST

https://saas.auctionsoftware.com/auth/registration

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/auth/registration"

-d '{ "first_name":"g", "last_name":"g", "nick_name":"gayathrig111", "addonprice":"0.00", "addonname":"Basics", "addon":"free", "email":"test321.321qwert1y11@gmail.com", "password":"qwerty123", "repassword":"qwerty123", "country":"India"

-d '{ "first_name":"g", "last_name":"g", "nick_name":"gayathrig111", "addonprice":"0.00", "addonname":"Basics", "addon":"free", "email":"test321.321qwert1y11@gmail.com", "password":"qwerty123", "repassword":"qwerty123", "country":"India", "states":"Tamil Nadu", "phonenumber":"+918458965263" }

var settings = { "async": true, "crossDomain": true, "url" : "saas.auctionsoftware.com/auth/registration" , "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n \"first_name\":\"g\",\r\n \"last_name\":\"g\",\r\n \"nick_name\":\"gayathrig111\",\r\n \"addonprice\":\"0.00\",\r\n \"addonname\":\"Basics\",\r\n \"addon\":\"free\",\r\n \"email\":\"test321.321qwert1y11@gmail.com\",\r\n \"password\":\"qwerty123\",\r\n \"repassword\":\"qwerty123\",\r\n \"country\":\"India\",\r\n \"states\":\"Tamil Nadu\",\r\n \"phonenumber\":\"+918458965263\",\r\n \"fancy-checkbox-warning11\":\"on\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });

var https = require("https"); var options = { "method": "POST", "hostname" : "saasapi.auctionsoftware.com" , "port" : "null" , "path": "/auth/registration", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ first_name: 'sample', last_name: 'sample', nick_name: 'sample', addonprice: '0.00', addonname: 'Basics', addon: 'free', email: 'sample123@gmail.com', password: 'sample123', repassword: 'sample123', country: 'India', states: 'Tamil Nadu', phonenumber: '+918458965263', 'fancy-checkbox-warning11': 'on' })); req.end();

Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "first_name":"sample", "last_name":"sample", "nick_name":"sample", "addonprice":"0.00", "addonname":"Basics", "addon":"free", "email":"sample.auctionsoftware@gmail.com", "password":"sample", "repassword":"sample", "country":"India", "states":"Tamil Nadu", "phonenumber":"+918458965263"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": int, "data": string
    }
  • {
    • "success": true, "res_code": 202, "data": " Registered successfully, Please check mail to activate !"
    }
Responses
Status: 302 - Error
  • {
    • "success": Boolean, "res_code": int, "data": string
    }
  • {
    • { "success": false, "res_code": 302, "data":"Required Field Was Missing" }, { "success": false, "res_code": 302, "data":"Email Already Exist!" }, { "success": false, "res_code": 302, "data":"Business Name Already Exist!" }, { "success": false, "res_code": 302, "data":"Invalid plan, Please select valid plan to register!" }
    }

Login

POST

https://saas.auctionsoftware.com/auth/login

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/login"

var settings = { "async": true, "crossDomain": true, "url" : "https://saas.auctionsoftware.com/auth/login" , 0a19af92c73bda4aa720e73a8d561069de9f8d03:public/api_documentation/SaasAPI/index.html "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", }, "processData": false, "data": "{\r\n \"email\":\"test321.321qwerty@gmail.com\",\r\n \"password\":\"qwerty123\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https=require("https"); var options={ "method" : "POST" , "hostname" : "saasapi.auctionsoftware.com" , "port" : "null" , "path" : "/auth/login" , "headers" : { "content-type" : "application/json" , "cache-control" : "no-cache" , "postman-token" XXXXX-xxxxxx-XXXXXXX-xxxxxxx-17288378d54e" } }; var req=https.request(options, function (res) { var chunks=[]; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body=Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ email: 'test321.321qwerty@gmail.com' , password: 'qwerty123' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "email": "test@gmail.com", "password": "test"
    }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": number, "data": { "userid": "int", "role": "int", "phone": "string", "address1": "string", "state": "string", "city": "string", "zipcode": "string", "permission": boolean, "first_name": "string", "last_name": "string", "email": "string", "phone": "number", "status": "string", "admin": "number", "token": "string"
    }
  • {
    • "success": true, "res_code": "202", "data": { "config": [], "login_error": "", "loged": { "first_name": "g", "last_name": "g", "email": "test321.321qwerty@gmail.com", "key": "test321.321qwerty@gmail.com", "userid": 210, "role": "1", "phone": "+918458965263", "address1": "chennai", "state": "Tamil Nadu", "city": "chennai", "zipcode": "600001", "permission": false, "productcountyear": 0, "bidcountyear": 0, "productcountmonth": 0, "bidcountmonth": 0, "buynowcountyear": 0, "buynowcountmonth": 0, "used_image_space": 0, "buysell": 0, "buynowplan": "1", "forwardauction": "0", "reverseauction": "0", "pennyauction": "0", "offerauction": "0", "wordpressblog": "0", "planpaymentid": "11", "planpayment": "inactive", "planname": "Basics", "wepay_account_id": 0, "used_attach_space": 0, "deposit_amount": 0, "creditcard_added": "0", "planamount": "0.00", "unameshort": "gg", "country": "India", "membershipstatus": "", "sellerstore": [] } }, "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NTY4ODAyMDUsImV4cCI6MTU1NzAwOTgwNX0.tE4nknNnhwZM53737PKBicXGyjr0Tfiu6M75oj5NKQc"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • { "success": false, "res_code": "302", "data": "Invalid Email Address or Password", "redirect": "/login?error=1" }, { "success": false, "res_code": "302", "data": "Verification link has not been activated yet!", "redirect": "/login?error=5" }
    }

Forgot Password

POST

https://saas.auctionsoftware.com/auth/forgot_Password

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/forgot_Password"

var settings = { "async": true, "crossDomain": true, "url" : "https://saas.auctionsoftware.com/auth/forgot_password" , "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n \"email\":\"test.auctionsoftware@gmail.com\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https=require("https"); var options={ "method" : "POST" , "hostname" : "saas.auctionsoftware.com" , "port" : null, "path" : "/api/forgot_password" , "headers" : { "content-type" : "application/json" , "cache-control" : "no-cache" , "postman-token" : XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req=https.request(options, function (res) { var chunks=[]; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body=Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ email: 'test321.321qwert1y1111@gmail.com' , password: 'qwerty123' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "email": "test.auctionsoftware@gmail.com"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"An email has been dispatched to you to update your password"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Email did not match with record"
    }

Logout

POST

https://saas.auctionsoftware.com/auth/logout

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/logout"

var settings = { "async": true, "crossDomain": true, "url" : "https://saas.auctionsoftware.com/auth/logout" , "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXDU", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\t\t\t\"userid\" : \"210\",\r\n\t\t\t\"email\" : \"test321.321qwerty@gmail.com\",\r\n\t\t\t\"templogin\" : \"0\",\r\n\t\t\t\"pid\" : \"\",\r\n\t\t\t\"products\" : [],\r\n\t\t\t\"buyerstore\" : [],\r\n\t\t\t\"buynowcountyear\" : \"3\",\r\n\t\t\t\"buynowcountmonth\" : \"4\",\r\n\t\t\t\"temp_cart_id\" : \"0\"\r\n\t\t}" } $.ajax(settings).done(function (response) { console.log(response); });
var https=require("http"); var options={ "method" : "POST" , "hostname" : "saasapi.auctionsoftware.com" , "port" : "null" , "path" : "/api/logout" , "headers" : { "content-type" : "application/json" , "authorization" : "Bearer XXXXXXXwM" , "cache-control" : "no-cache" , "postman-token" XXXXX-xxxxxx-XXXXXXX-xxxxxxx-1b6742bcc4aa" } }; var req=https.request(options, function (res) { var chunks=[]; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body=Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ userid: '210' , email: 'test321.321qwerty@gmail.com' , templogin: '0' , pid: '' , products: [], buyerstore: [], buynowcountyear: '3' , buynowcountmonth: '4' , temp_cart_id: '0' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "210", "email" : "test@gmail.com", "templogin" : "0", "pid" : "0", "products" : [], "buyerstore" : [], "buynowcountyear" : "3", "buynowcountmonth" : "4", "temp_cart_id" : "0"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "redirect_url":""
    }
  • {
    • "success": true, "res_code": 202, "redirect_url":"/login"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":""
    }

Create Store

POST

https://saas.auctionsoftware.com/api/stores/create

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/create"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/create", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"211\",\r\n\"planname\" : \"Gold\",\r\n\"first_name\" : \"test\",\r\n\"last_name\" : \"test\",\r\n\"email\" : \"test321.321qwerty@gmail.com\",\r\n\"name\" : \"test store\",\r\n\"location\" : \"India\",\r\n\"description\" : \"This is test store from test321 account\",\r\n\"default_img\" : \"test.jpg\",\r\n\"default_img_logo\" : \"default_img_logo.jpg\",\r\n\"website\" : \"www.test_store.com\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/create", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ userid: '211', planname: 'Gold', first_name: 'test', last_name: 'test', email: 'test321.321qwerty@gmail.com', name: 'test store', location: 'India', description: 'This is test store from test321 account', default_img: 'test.jpg', default_img_logo: 'default_img_logo.jpg', website: 'www.test_store.com' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "211", "planname" : "Gold", "first_name" : "test", "last_name" : "test", "email" : "test321.321qwerty@gmail.com", "name" : "test store", "location" : "India", "description" : "This is test store from test321 account", "default_img" : "test.jpg", "default_img_logo" : "default_img_logo.jpg", "website" : "www.test_store.com"
    }
Responses
Status: 202 - Success
  • {
    • { "success": Boolean, "res_code": Int, "message": String, "data": { "sellerstore": Array }, "redirect": String }
    }
  • {
    • { "success": true, "res_code": "202", "message": "Store created successfully", "data": { "sellerstore": [ 59 ] }, "redirect": "/stores/settings-profile/59" }
    }
Responses
Status: 302 - Error
  • {
    • "success": Boolean, "res_code": Number, "data": String
    }
  • {
    • { "success": true, "res_code": "202", "data": "Required fields are missing!!" }
    }

Select Plan

POST

https://saas.auctionsoftware.com/api/stores/plans/newplan

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/plans/newplan"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/plans/newplan", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"203\",\r\n\"plan-name\" : \"Gold\",\r\n\"reg-plan\" : \"offer up\",\r\n\"plan-price\" : \"50.00\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saasapi.auctionsoftware.com", "port": "null", "path": "/api/stores/plans/newplan", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ "userid" : "203", "reg-plan" : "basic", "plan-name" : "offer up", "plan-price" : "50.00" })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "203", "reg-plan" : "basic", "plan-name" : "offer up", "plan-price" : "50.00"
    }
Responses
Status: 200 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 200, "data":"Plan subscribbed successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Invalid User ID"
    }

Upgrade Existing Plan

POST

https://saas.auctionsoftware.com/api/stores/plans/sameplanupgrade

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/plans/sameplanupgrade"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/plans/newplan", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"203\",\r\n\"plan-name\" : \"Gold\",\r\n\"reg-plan\" : \"offer up\",\r\n\"plan-price\" : \"49.99\",\r\n\"card\" : \"dqk4x9\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saasapi.auctionsoftware.com", "port": "null", "path": "/api/stores/plans/sameplanupgrade", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ "userid" : "203", "reg-plan" : "basic", "plan-name" : "offer up", "plan-price" : "49.99", "card":"dqk4x9"})); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "203", "reg-plan" : "basic", "plan-name" : "offer up", "plan-price" : "49.99", "card":"dqk4x9"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Same plan upgraded successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Invalid User ID"
    }

Add Products

POST

https://saas.auctionsoftware.com/api/products/add-product

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/add-product"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/add-product", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"id\" :\"151\",\r\n\"cid\" : \"5\",\r\n\"commision_amount\" : \"20\",\r\n\"title\" : \"test3\",\r\n\"tags\": \"testing API\",\r\n\"mcid\" : \"5\",\r\n\"parentcid\" : \"5\",\r\n\"sid\" : \"5\",\r\n\"country\" : \"India\",\r\n\"state\" : \"Tamilnadu\",\r\n\"city\" : \"chennai\",\r\n\"location\" : \"India\",\r\n\"mprice\" : \"55\",\r\n\"qty\" : \"6\",\r\n\"bprice\" : \"45\",\r\n\"product_weight\" : \"45\",\r\n\"product_width\" : \"25\",\r\n\"product_height\" : \"52\",\r\n\"product_width_feet\" : \"14\",\r\n\"product_height_feet\" : \"12\",\r\n\"description\": \"test description\",\r\n\"shipping_description\" : \"please contact regarding shipping enquiries\",\r\n\"paypal_email\" : \"sample.auctionsoftware@gmail.com\",\r\n\"storeid\" : \"57\",\r\n\"planpaymentid\" : \"11\",\r\n\"rauction\" : \"0\",\r\n\"pauction\" : \"0\",\r\n\"reverse_budget\" : \"0\",\r\n\"end_budget\" : \"0\",\r\n\"product_image\" :[{\"name\": \"sample.jpg\", \"originalname\": \"original_name_of_sample.jpg\"}],\r\n\"date_added\" : \"2017-09-18 14:06\",\r\n\"date_closed\" : \"2018-09-18 14:06\",\r\n\"iprice\" : \"5\",\r\n\"old_image\" : \"test.jpg\",\r\n\"new_image\" : \"sample.jpg\",\r\n\"vauction\" : \"0\",\r\n\"rprice\" : \"622\",\r\n\"sprice\" : \"55\",\r\n\"offerauction\" : \"\",\r\n\"duration\" : \"2\",\r\n\"time\" : \"\",\r\n\"future\" : \"\",\r\n\"timelevel\" : \"\",\r\n\"shipping_fee\" : \"50\",\r\n\"eset_time\" : \"\",\r\n\"bid_increment\" : \"\",\r\n\"bid_multiplier\" : \"\",\r\n\"decrement_amount\" : \"1\",\r\n\"userid\" : \"211\",\r\n\"auction\" : \"0\",\r\n\"is_location\" : \"1\",\r\n\"document\" : \"\",\r\n\"work_loc\" : \"\",\r\n\"save\" : \"finish\",\r\n\"digital_image\" : \"\",\r\n\"image\" : \"qqqqq.jpg\",\r\n\"productcountyear\" : \"5\",\r\n\"productcountmonth\" : \"6\",\r\n\"used_attach_space\" : \"0\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/products/add-product", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ id: '151', cid: '5', commision_amount: '20', title: 'test3', tags: 'testing API', mcid: '5', parentcid: '5', sid: '5', country: 'India', state: 'Tamilnadu', city: 'chennai', location: 'India', mprice: '55', qty: '6', bprice: '45', product_weight: '45', product_width: '25', product_height: '52', product_width_feet: '14', product_height_feet: '12', description: 'test description', shipping_description: 'please contact regarding shipping enquiries', paypal_email: 'sample.auctionsoftware@gmail.com', storeid: '57', planpaymentid: '11', rauction: '0', pauction: '0', reverse_budget: '0', end_budget: '0', product_image: [ { name: 'sample.jpg', originalname: 'original_name_of_sample.jpg' } ], date_added: '2017-09-18 14:06', date_closed: '2018-09-18 14:06', iprice: '5', old_image: 'test.jpg', new_image: 'sample.jpg', vauction: '0', rprice: '622', sprice: '55', offerauction: '', duration: '2', time: '', future: '', timelevel: '', shipping_fee: '50', eset_time: '', bid_increment: '', bid_multiplier: '', decrement_amount: '1', userid: '211', auction: '0', is_location: '1', document: '', work_loc: '', save: 'finish', digital_image: '', image: 'qqqqq.jpg', productcountyear: '5', productcountmonth: '6', used_attach_space: '0' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "id" :"151", "cid" : "5", "commision_amount" : "20", "title" : "test3", "tags": "testing API", "mcid" : "5", "parentcid" : "5", "sid" : "5", "country" : "India", "state" : "Tamilnadu", "city" : "chennai", "location" : "India", "mprice" : "55", "qty" : "6", "bprice" : "45", "product_weight" : "45", "product_width" : "25", "product_height" : "52", "product_width_feet" : "14", "product_height_feet" : "12", "description": "test description", "shipping_description" : "please contact regarding shipping enquiries", "paypal_email" : "sample.auctionsoftware@gmail.com", "storeid" : "57", "planpaymentid" : "11", "rauction" : "0", "pauction" : "0", "reverse_budget" : "0", "end_budget" : "0", "product_image" :[{"name": "sample.jpg", "originalname": "original_name_of_sample.jpg"}], "date_added" : "2017-09-18 14:06", "date_closed" : "2018-09-18 14:06", "iprice" : "5", "old_image" : "test.jpg", "new_image" : "sample.jpg", "vauction" : "0", "rprice" : "622", "sprice" : "55", "offerauction" : "", "duration" : "2", "time" : "", "future" : "", "timelevel" : "", "shipping_fee" : "50", "eset_time" : "", "bid_increment" : "", "bid_multiplier" : "", "decrement_amount" : "1", "userid" : "211", "auction" : "0", "is_location" : "1", "document" : "", "work_loc" : "", "save" : "finish", "digital_image" : "", "image" : "qqqqq.jpg", "productcountyear" : "5", "productcountmonth" : "6", "used_attach_space" : "0"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string" "user_data": Object
    }
  • {
    • "success": true, "res_code": "202", "data": "Success", "user_data": { "used_attach_space": null, "productcountyear": 6, "productcountmonth": 7, "featured_home_listing": 0 }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Failed to add!! Something went wrong"
    }

Customize Theme

POST

https://saas.auctionsoftware.com/customize_theme

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/customize_theme"

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id" : "1", "store_id" : "5", "field": "storename", "value" : "test store", "other": "test"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"changes added successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Import Products

POST

https://saas.auctionsoftware.com/api/products/import-products

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/import-products"

var form = new FormData(); form.append("files", "import_customer.csv"); var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/import-products", "method": "POST", "headers": { "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "contentType": false, "data": form } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "localhost", "port": "7092", "path": "/api/products/import-products", "headers": { "authorization": "Bearer XXXXXXX", boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW", "cache-control": "no-cache", "postman-token": "XXXXXX-xxxxxx-XXXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write("------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"files\"; filename=\"import_customer.csv\"\r\nContent-Type: text/csv\r\n\r\n\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"); req.end();
Headers
{ "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "1", "sellerstore" : "57", "offerauction" : "1", "reverseauction" : "0", "pennyauction" : "0", "planpaymentid" : "0", "product_details": [{ "name" : "testproduct", "keyword" : "laptop", "category" : "Mobiles", "location(country)" : "China", "if_buy_now" : "yes", "quantity" : "1", "buy_now_price" : "100", "retail_price" : "130", "weight" : "", "width" : "", "height" : "", "description" : "good product", "if_free_shipping" : "yes", "shipping_price": "", "ship_type": "Fedex", "commission(%)" : "5" }...]
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Products added successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • { "success": false, "res_code": 302, "data":"Error occured" },{ "success": false, "res_code": 302, "data":"Please check file type." },{ "success": false, "res_code": 302, "data":"Please check paypal balance" }
    }

Add Products (GET DETAILS)

POST

https://saas.auctionsoftware.com/api/products/get-details-to-add-products

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/get-details-to-add-products"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/get-details-to-add-products", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\n\"sid\" : \"57\",\n\"sellerstore\" : \"57\",\n\"buynowplan\" : \"2\",\n\"forwardauction\" : \"1\",\n\"videoauction\" : \"1\",\n\"offerauction\" : \"1\",\n\"reverseauction\" : \"1\",\n\"pennyauction\" : \"1\",\n\"userid\" : \"192\",\n\"currencyrate\" : \"1\",\n\"role\" : \"3\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/products/get-details-to-add-products", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ sid: '57', sellerstore: '57', buynowplan: '2', forwardauction: '1', videoauction: '1', offerauction: '1', reverseauction: '1', pennyauction: '1', userid: '192', currencyrate: '1', role: '3' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "sid" : "57", "sellerstore" : "57", "buynowplan" : "2", "forwardauction" : "1", "videoauction" : "1", "offerauction" : "1", "reverseauction" : "1", "pennyauction" : "1", "userid" : "192", "currencyrate" : "1", "role" : "3"
    }
Responses
Status: 202 - Success
  • {
    • " "success": string, "res_code": Number, "data": string, "user_data": { "sid": Number, "ifStaff": Boolean, "user": Object, "selected_cats": Array of objects, "fee": Number, "home_page_fee": Number, "locations": Array of objects }
    }
  • {
    • "success": true, "res_code": "202", "data": "Success", "user_data": { "sid": "57", "ifStaff": true, "ispost": 1, "orgpaypal": " ", "user": { "paypal_address": "chennai", "zip": "526254", "country": "India", "state": "Tamil Nadu", "city": "chennai" }, "selected_cats": [ { "id": 314, "storeid": 57, "catid": 23, "plan_type": 11, "status": "active", "orderno": 3, "name": "Mobiles", "description": " \r\nsmart phone", "parent_id": 0 }... ], "fee": "20", "home_page_fee": "10.00", "locations": [ { "location_id": 2, "name": "Afghanistan", "location_type": 0, "parent_id": 0, "is_visible": 0 }.... ] }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Failed to add!! Something went wrong"
    }

Get Other Sellers Products

POST

https://saas.auctionsoftware.com/api/products/get-other-sellers-products

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/get-other-sellers-products"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/get-other-sellers-products", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"user_id\":\"192\",\r\n\"id\":\"57\",\r\n\"category2\": [19,5,23]\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/products/get-other-sellers-products", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ user_id: '192', id: '57', category2: [ 19, 5, 23 ] })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id":"192", "id":"57", "category2": [19,5,23]
    }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": Number, "data": { "catehtml": String, "storeProducts": Array of Objects }
    }
  • {
    • { "success": true, "res_code": "202", "data": { "catehtml": "", "id": "57", "storeProducts": [ { "id": 110, "title": "Test Product", "description": "Test", "avatar": "4e5adaa34a62a7ddd261e190810c4c09.jpg", "image": "download1.jpg", "date_added": "2019-04-18T20:57:28.000Z", "date_closed": "2019-05-18T20:57:28.000Z", "category_id": "19", "parent_category_id": "19", "country": "USA", "state": "Florida", "user_id": 68, "status": 1, "home_page_listing_fee": 0, "shipping_price": 20, "shipping_description": "Fedex", "bprice": 30, "dprice": 0, "mprice": 20, "iprice": 0.01, "wprice": 0, "market_status": "open", "auction": 0, "is_same_location": 0, "qty": 1, "sell_location": "Hong Kong", "weight": "11.00", "width": "11.00", "height": "11.00", "width_feet": "0", "height_feet": null, "sub_store": 0, "sub_store_userid": 0, "sub_user_price": "0", "bid_multiplier": "1", "store_id": 35, "plan_type": 11, "img1": "4e5adaa34a62a7ddd261e190810c4c09.jpg", "storename": "MyShop", "stid": 35, "offamt": "150", "mainprice": 30 } ] } }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Failed to add!! Something went wrong"
    }

Add Products

POST

https://saas.auctionsoftware.com/api/products/add-product

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/add-product"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/add-product", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": { "id" :"151", "cid" : "5", "commision_amount" : "20", "title" : "test3", "tags": "testing API", "mcid" : "5", "parentcid" : "5", "sid" : "5", "country" : "India", "state" : "Tamilnadu", "city" : "chennai", "location" : "India", "mprice" : "55", "qty" : "6", "bprice" : "45", "product_weight" : "45", "product_width" : "25", "product_height" : "52", "product_width_feet" : "14", "product_height_feet" : "12", "description": "test description", "shipping_description" : "please contact regarding shipping enquiries", "paypal_email" : "sample.auctionsoftware@gmail.com", "storeid" : "57", "planpaymentid" : "11", "rauction" : "0", "pauction" : "0", "reverse_budget" : "0", "end_budget" : "0", "product_image" :[{"name": "sample.jpg", "originalname": "original_name_of_sample.jpg"}], "date_added" : "2017-09-18 14:06", "date_closed" : "2018-09-18 14:06", "iprice" : "5", "old_image" : "test.jpg", "new_image" : "sample.jpg", "vauction" : "0", "rprice" : "622", "sprice" : "55", "offerauction" : "", "duration" : "2", "time" : "", "future" : "", "timelevel" : "", "shipping_fee" : "50", "eset_time" : "", "bid_increment" : "", "bid_multiplier" : "", "decrement_amount" : "1", "userid" : "211", "auction" : "0", "is_location" : "1", "document" : "", "work_loc" : "", "save" : "finish", "digital_image" : "", "image" : "qqqqq.jpg", "productcountyear" : "5", "productcountmonth" : "6", "used_attach_space" : "0" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/products/add-product", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ "id" :"151", "cid" : "5", "commision_amount" : "20", "title" : "test3", "tags": "testing API", "mcid" : "5", "parentcid" : "5", "sid" : "5", "country" : "India", "state" : "Tamilnadu", "city" : "chennai", "location" : "India", "mprice" : "55", "qty" : "6", "bprice" : "45", "product_weight" : "45", "product_width" : "25", "product_height" : "52", "product_width_feet" : "14", "product_height_feet" : "12", "description": "test description", "shipping_description" : "please contact regarding shipping enquiries", "paypal_email" : "sample.auctionsoftware@gmail.com", "storeid" : "57", "planpaymentid" : "11", "rauction" : "0", "pauction" : "0", "reverse_budget" : "0", "end_budget" : "0", "product_image" :[{"name": "sample.jpg", "originalname": "original_name_of_sample.jpg"}], "date_added" : "2017-09-18 14:06", "date_closed" : "2018-09-18 14:06", "iprice" : "5", "old_image" : "test.jpg", "new_image" : "sample.jpg", "vauction" : "0", "rprice" : "622", "sprice" : "55", "offerauction" : "", "duration" : "2", "time" : "", "future" : "", "timelevel" : "", "shipping_fee" : "50", "eset_time" : "", "bid_increment" : "", "bid_multiplier" : "", "decrement_amount" : "1", "userid" : "211", "auction" : "0", "is_location" : "1", "document" : "", "work_loc" : "", "save" : "finish", "digital_image" : "", "image" : "qqqqq.jpg", "productcountyear" : "5", "productcountmonth" : "6", "used_attach_space" : "0" })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "id" :"151", "cid" : "5", "commision_amount" : "20", "title" : "test3", "tags": "testing API", "mcid" : "5", "parentcid" : "5", "sid" : "5", "country" : "India", "state" : "Tamilnadu", "city" : "chennai", "location" : "India", "mprice" : "55", "qty" : "6", "bprice" : "45", "product_weight" : "45", "product_width" : "25", "product_height" : "52", "product_width_feet" : "14", "product_height_feet" : "12", "description": "test description", "shipping_description" : "please contact regarding shipping enquiries", "paypal_email" : "sample.auctionsoftware@gmail.com", "storeid" : "57", "planpaymentid" : "11", "rauction" : "0", "pauction" : "0", "reverse_budget" : "0", "end_budget" : "0", "product_image" :[{"name": "sample.jpg", "originalname": "original_name_of_sample.jpg"}], "date_added" : "2017-09-18 14:06", "date_closed" : "2018-09-18 14:06", "iprice" : "5", "old_image" : "test.jpg", "new_image" : "sample.jpg", "vauction" : "0", "rprice" : "622", "sprice" : "55", "offerauction" : "", "duration" : "2", "time" : "", "future" : "", "timelevel" : "", "shipping_fee" : "50", "eset_time" : "", "bid_increment" : "", "bid_multiplier" : "", "decrement_amount" : "1", "userid" : "211", "auction" : "0", "is_location" : "1", "document" : "", "work_loc" : "", "save" : "finish", "digital_image" : "", "image" : "qqqqq.jpg", "productcountyear" : "5", "productcountmonth" : "6", "used_attach_space" : "0"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Product added successfully !"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Failed to add!! Something went wrong"
    }

Add Products (GET DETAILS)

POST

https://saas.auctionsoftware.com/api/products/get-details-to-add-products

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/get-details-to-add-products"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/get-details-to-add-products", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\n\"sid\" : \"57\",\n\"sellerstore\" : \"57\",\n\"buynowplan\" : \"2\",\n\"forwardauction\" : \"1\",\n\"videoauction\" : \"1\",\n\"offerauction\" : \"1\",\n\"reverseauction\" : \"1\",\n\"pennyauction\" : \"1\",\n\"userid\" : \"192\",\n\"currencyrate\" : \"1\",\n\"role\" : \"3\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/products/get-details-to-add-products", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ sid: '57', sellerstore: '57', buynowplan: '2', forwardauction: '1', videoauction: '1', offerauction: '1', reverseauction: '1', pennyauction: '1', userid: '192', currencyrate: '1', role: '3' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "sid" : "57", "sellerstore" : "57", "buynowplan" : "2", "forwardauction" : "1", "videoauction" : "1", "offerauction" : "1", "reverseauction" : "1", "pennyauction" : "1", "userid" : "192", "currencyrate" : "1", "role" : "3"
    }
Responses
Status: 202 - Success
  • {
    • " "success": string, "res_code": Number, "data": string, "user_data": { "sid": Number, "ifStaff": Boolean, "user": Object, "selected_cats": Array of objects, "fee": Number, "home_page_fee": Number, "locations": Array of objects }
    }
  • {
    • "success": true, "res_code": "202", "data": "Success", "user_data": { "sid": "57", "ifStaff": true, "ispost": 1, "orgpaypal": " ", "user": { "paypal_address": "chennai", "zip": "526254", "country": "India", "state": "Tamil Nadu", "city": "chennai" }, "selected_cats": [ { "id": 314, "storeid": 57, "catid": 23, "plan_type": 11, "status": "active", "orderno": 3, "name": "Mobiles", "description": " \r\nsmart phone", "parent_id": 0 }... ], "fee": "20", "home_page_fee": "10.00", "locations": [ { "location_id": 2, "name": "Afghanistan", "location_type": 0, "parent_id": 0, "is_visible": 0 }.... ] }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Failed to add!! Something went wrong"
    }

Add Products (Add other Sellers Products)

POST

https://saas.auctionsoftware.com/api/products/single_addproduct_store

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/products/single_addproduct_store"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/products/single_addproduct_store", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": { "userid": "1", "storeid" : "57", "product_id": "113", "category_id": "4", "count": "5", "cidpush":"1", "pids":"1" } } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "dashboard/add-products-of-others", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ "userid": "1", "storeid" : "57", "product_id": "113", "category_id": "4", "count": "5", "cidpush":"1", "pids":"1" })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid": "1", "storeid" : "57", "product_id": "113", "category_id": "4", "count": "5", "cidpush":"1", "pids":"1"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Product added to your store successfully !"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • { "success": false, "res_code": 302, "data":"Sorry failed to add this product." }, , { "success": false, "res_code": 302, "data":"Your Paypal email is missing. Please update your paypal address and try again." }, { "success": false, "res_code": 302, "data":"Please call us 972-200-5516 or email support@auctionsoftware.com including your store name and URL in the subject to change your payment method." }, { "success": false, "res_code": 302, "data":"Please call us 972-200-5516 or email support@auctionsoftware.com including your store name and URL in the subject to change your payment method." }, { "success": false, "res_code": 302, "data":"You dont have store categories to add this product. Please add store category & try again." }, { "success": false, "res_code": 302, "data":"Product added to your store successfully !" }
    }

Add Customer

POST

https://saas.auctionsoftware.com/api/stores/add-storecustomers

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/add-storecustomers"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/add-storecustomers", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"store_id\" : \"57\", \r\n\"email\" : \"test321.321qwerty111111@gmail.com\", \r\n\"first_name\" : \"test\", \r\n\"last_name\" : \"test\", \r\n\"address\" : \"chennai\", \r\n\"country\" : \"India\", \r\n\"state\" : \"Tamilnadu\", \r\n\"city\" : \"chennai\", \r\n\"zipcode\" : \"600010\", \r\n\"phone\" : \"9566655885\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/add-storecustomers", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ store_id: '57', email: 'test321.321qwerty111111@gmail.com', first_name: 'test', last_name: 'test', address: 'chennai', country: 'India', state: 'Tamilnadu', city: 'chennai', zipcode: '600010', phone: '9566655885' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "store_id" : "57", "email" : "test321.321qwerty@gmail.com", "first_name" : "test", "last_name" : "test", "address" : "chennai", "country" : "India", "state" : "Tamilnadu", "city" : "chennai", "zipcode" : "600010", "phone" : "9566655885"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"customer created successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"customer already exists"
    }

View Customer

GET

https://saas.auctionsoftware.com/api/stores/view-customers/:id

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/view-customers/:id"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/view-customers/57", "method": "GET", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"store_id\" : \"57\", \r\n\"email\" : \"test321.321qwerty@gmail.com\", \r\n\"first_name\" : \"test\", \r\n\"last_name\" : \"test\", \r\n\"address\" : \"chennai\", \r\n\"country\" : \"India\", \r\n\"state\" : \"Tamilnadu\", \r\n\"city\" : \"chennai\", \r\n\"zipcode\" : \"600010\", \r\n\"phone\" : \"9566655885\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "GET", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/view-customers/57", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ store_id: '57', email: 'test321.321qwerty@gmail.com', first_name: 'test', last_name: 'test', address: 'chennai', country: 'India', state: 'Tamilnadu', city: 'chennai', zipcode: '600010', phone: '9566655885' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": Number, "data": { "currentstoreid": Number, "customers": [ { "id": Number, "user_id": Number, "email": String, "role": Number, "first_name": String, "last_name": String, "address1": String, "address2": String, "phone": Number, "country": Number, "state": Number, "zip": Number, "city": String, "balance": Number, "bid": Number, "balance_amount": Number, "reserve_amount": Number } ] }
    }
  • {
    • "success": true, "res_code": "202", "data": { "currentstoreid": "57", "customers": [ { "id": 218, "date_added": "2019-05-14T10:25:02.000Z", "user_id": 218, "storeid": 57, "email": "test321.321qwerty111111@gmail.com", "role": "4", "first_name": "test", "last_name": "test", "password_hash": "d9fade6716a9dc1411e404832ba48f6d", "password_salt": "12345", "created_at": "2019-05-14T10:25:02.000Z", "address1": "chennai", "address2": "chennai", "phone": "9566655885", "country": "India", "state": "Tamilnadu", "zip": "600010", "city": "chennai", "balance": 0, "bid": 0, "balance_amount": 0, "reserve_amount": 0, } ] }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"No customers found"
    }

Delete Customer

POST

https://saas.auctionsoftware.com//api/stores/delete-customer

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com//api/stores/delete-customer"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/delete-customer", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"user_id\" : \"217\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/delete-customer", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ user_id: '217' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id" : "217"
    }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": Number, "data": String
    }
  • {
    • "success": Boolean, "res_code": Number, "data": "Deleted Customer !!"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Something went wrong !"
    }

Analytics

GET

https://saas.auctionsoftware.com/api/stores/analytics/80/month

Usage and Examples

curl -X GET"https://saas.auctionsoftware.com/api/stores/analytics/80/month"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/analytics/80/month", "method": "GET", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "GET", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/analytics/80/month", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXa8", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
Headers
{ "key":"Authorization","value":Bearer XXXXX","enabled":true }
Responses
Status: 202 - Success
  • {
    • { "success": boolean, "res_code": number, "data": [{ "currentstoreid": "number", "actiontype": "string", "label": "string", "salesamount": [], "saleprice": [], "visitors": [], "bids": [], "names": [ "string", "string", "string", "string" ], "repeat": [], "cstnum": [], "cstavg": [] }] }
    }
  • {
    • "success": true, "res_code": 202, "data": [{ "currentstoreid": "57", "actiontype": "year", "label": "This year", "salesamount": [], "saleprice": [], "visitors": [], "bids": [], "names": [ "January", "April", "July", "October" ], "repeat": [], "cstnum": [], "cstavg": [] }] }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Create Discount

POST

https://saas.auctionsoftware.com/api/stores/create_discount

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/create_discount"

-d'{ "user_id": "218", “store_id”: “57”, "inputdiscountcode":"QWERTY", "discount_type":"percentage", “discountvaluepercent”:“20”, “discountvaluefixed”:“”, “inputproductid”:“25”, “inputproductid2”: “”, "AppliesTo":"entireorder", "AppliesTo2":"entireorder2", "MiniRequirement":"minipurchaseamt", "inputminipurchase":"20", "CustomerEligibility":"everyone", "limitnumber":"on", "inputlimitnumber":"3", "startDate":"2019-12-26", "startTime":"18:27" }'

var settings = { "async": true, "crossDomain": true, "url" : "saas.auctionsoftware.com/api/stores/create_discount" , "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "9ee4618e-7769-db15-ffab-b5d9d6ad67f8" }, "processData": false, "data": "{\r\n \"user_id\":\"218\",\r\n \"store_id\":\"57\",\r\n \"inputdiscountcode\":\"QWERTY\",\r\n \"discount_type\":\"percentage\",\r\n \"discountvaluepercent\":\"20\",\r\n \"discountvaluefixed\":\"\",\r\n \"inputproductid\":\"25\",\r\n \"inputproductid2\":\"\",\r\n \"AppliesTo\":\"entireorder\",\r\n \"AppliesTo2\":\"entireorder2\",\r\n \"MiniRequirement\":\"minipurchaseamt\",\r\n \"inputminipurchase\":\"20\",\r\n \"CustomerEligibility\":\"everyone\"\r\n \"limitnumber\":\"on\"\r\n \"inputlimitnumber\":\"3\"\r\n \"startDate\":\"2019-12-26\"\r\n \"startTime\":\"18:27\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });

var https = require("http"); var options = { "method": "POST", "hostname" : "saasapi.auctionsoftware.com" , "port" : "null" , "path": "/api/stores/create_discount", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "92fb6f13-76d4-ef79-1c99-aef92319bf8f" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ first_name: 'sample', user_id: "218", store_id: “57”, inputdiscountcode:"QWERTY", discount_type:"percentage", discountvaluepercent:“20”, discountvaluefixed:“”, inputproductid:“25”, inputproductid2: “”, AppliesTo:"entireorder", AppliesTo2:"entireorder2", MiniRequirement:"minipurchaseamt", inputminipurchase:"20", CustomerEligibility:"everyone", limitnumber:"on", inputlimitnumber:"3", startDate:"2019-12-26", startTime:"18:27" })); req.end();

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id": "218", “store_id”: “57”, "inputdiscountcode":"QWERTY", "discount_type":"percentage", “discountvaluepercent”:“20”, “discountvaluefixed”:“”, “inputproductid”:“25”, “inputproductid2”: “”, "AppliesTo":"entireorder", "AppliesTo2":"entireorder2", "MiniRequirement":"minipurchaseamt", "inputminipurchase":"20", "CustomerEligibility":"everyone", "limitnumber":"on", "inputlimitnumber":"3", "startDate":"2019-12-26", "startTime":"18:27"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Discount created successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Something gone wrong when saving discount."
    }

View Discount

GET

http://saas.auctionsoftware.com/api/stores/view_discount/:store_id

Usage and Examples

curl -X POST"http://saas.auctionsoftware.com/api/stores/view_discount/:store_id"

var settings = { "async": true, "crossDomain": true, "url" : "saas.auctionsoftware.com/api/stores/view_discount/:store_id" , "method": "GET", "headers": { "content-type": "application/json", "cache-control": "no-cache", "authorization": "Bearer XXXXXXXa8", "postman-token": "9ee4618e-7769-db15-ffab-b5d9d6ad67f8" }, "processData": false, } $.ajax(settings).done(function (response) { console.log(response); });

var https = require("http"); var options = { "method": "GET", "hostname" : "saasapi.auctionsoftware.com" , "port" : "null" , "path": "/api/stores/view_discount/:store_id", "headers": { "content-type": "application/json", "cache-control": "no-cache", "authorization": "Bearer XXXXXXXa8", "postman-token": "92fb6f13-76d4-ef79-1c99-aef92319bf8f" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":[ { "id":number, "store_id":number, "code":"string", "flag":number, "options":"string", "percentage_value":number, "percentage_applyto":"", "fixedamount_value":number, "fixedamount_applyto":"", "freeshipping_applyto":"string", "mini_non":number, "mini_purchase_amt":number, "mini_quantity_items":number, "customereligibility_applyto":"string", "limit_times":number, "limit_person":number, "start_date":"string", "start_time":"number", "end_date":"number", "end_time":"number" }
    }
  • {
    • "success": true, "res_code": 202, "data":[ { "id":114, "store_id":57, "code":"QWERTY", "flag":1, "options":"freeshipping", "percentage_value":0, "percentage_applyto":"", "fixedamount_value":0, "fixedamount_applyto":"", "freeshipping_applyto":"all", "mini_non":0, "mini_purchase_amt":20, "mini_quantity_items":0, "customereligibility_applyto":"all", "limit_times":3, "limit_person":0, "start_date":"2019-04-25T18:30:00.000Z", "start_time":"18:27:00", "end_date":"0000-00-00", "end_time":"00:00:00" }... ]
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

View Store

POST

https://saas.auctionsoftware.com/api/stores/view-store

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/view-store"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/view-store", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"192\",\r\n\"storeid\" : \"57\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saasapi.auctionsoftware.com", "port": "null", "path": "/api/stores/view-store", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ userid: '192', storeid: '57' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "192", "storeid" : "57"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string:[{ "store": { object } "storeFProducts":array, "allStoreCategory":"array" "storeAllProducts":"array" "currentstoreid":number, "selectStoreAllOrder":[], "editpage":"boolean", "isviewply":"number", "alertmsg":"", "planupdate":"", "planerr":"", "storeCategory":"array" }]" }
    }
  • {
    • "success": true, "res_code": 202, "data": "store_details:[{ "store": { "id":57, "name":"qwerty", "description":"qwewerer", "user_id":192, "location":"India", "date_added":"2019-04-26T09:10:10.000Z", "date_expired":null, "logo":"logo/logo5.jpg", "status":"active", "website":"", "date_started":"2019-04-26T09:10:10.000Z", "views":0, "banner":"bannerimg18.jpg", "facebook":"", "twitter":"", "google":"", "bleft":0, "btop":0, "homepage":"", "aboutus":"", "show_homepage":"1", "selected_category":"", "maxproduct":120, "maxcategory":5, "theme_css":"clr1", "theme_font":"font1", "identifier":0, "privacy":null, "terms":null, "address":null, "dmap_url":"", "shipstationname":null, "shipstationkey":"eqwewer", "shipstationsecret":"ewrwerre", "shipstationstatus":"0", "dated_started":"2019/04/26 14:40", "date_starts":"26 April, 2019 at 14:40", "date_expiredformat":null }, "storeFProducts":[], "allStoreCategory":[ { "id":84, "name":"23123", "description":"sdfsdas", "type":"product", "created_at":"2017-07-27T11:39:46.000Z", "updated_at":"2017-07-27T11:39:46.000Z", "lft":141, "rgt":142, "parent_id":0, "store_id":3, "allowstore":"1" }.. ], "storeAllProducts":[ { "id":115, "title":"wer", "description":"dsfdsf", "avatar":"", "image":"", "document":"", "date_added":"2019-05-01T05:16:23.000Z", "date_closed":"2019-05-31T05:16:23.000Z", "category_id":"5", "parent_category_id":"5", "subcategory":null, "tags":"vwer", "sprice":"0", "rprice":"0", "work_loc":"0", "country":"India", "state":"Tamil Nadu", "user_id":192, "invite_people":null, "status":1, "created_at":"2019-05-01T05:16:23.000Z", "updated_at":"2019-05-01T05:16:23.000Z", "budget_type":null, "buynow":1, "feature":0, "home_page_listing_fee":0, "shipping_price":52, "shipping_description":"Fedex", "bprice":42, "dprice":0, "mprice":44, "iprice":0.01, "wprice":0, "market_status":"open", "auction":0, "is_same_location":0, "qty":1, "sold":0, "paypal_address":" ", "future":0, "duration":0, "time":0, "time_level":"", "duration_type":"D", "booked":0, "city":"chennai", "sell_location":"India", "used_image_space":0, "is_digital":0, "vauction":0, "weight":"44.00", "width":"45.00", "height":"34.00", "commision_amount":"15", "sub_store":0, "sub_store_userid":0, "sub_user_price":"0", "sub_paypal_address":"", "offer":0, "rauction":0, "pauction":"", "bid_multiplier":"1", "bid_increment":0.01, "resettime_what":"10", "reverse_budget":0, "end_budget":0, "store_id":57, "plan_type":11, "decrement_amount":0, "img1":null, "img2":null, "img3":null }.. ], "currentstoreid":57, "selectStoreAllOrder":[], "editpage":"true", "isviewply":"yesview", "alertmsg":"", "planupdate":"", "planerr":"", "storeCategory":[ { "id":271, "storeid":57, "catid":6, "plan_type":11, "status":"active", "orderno":2, "name":"Men's Fashion", "description":"Men's Fashion Men's Fashion Men's Fashion Men's Fashion Men's Fashion Men's Fashion Men's Fashion Men's Fashion Men's Fashion", "parent_id":0 }... ] }]" }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Edit Store

POST

https://saas.auctionsoftware.com/api/stores/store-edit-view

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/store-edit-view"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/store-edit-view", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"192\",\r\n\"storeid\" : \"57\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/store-edit-view", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ userid: '192', storeid: '57' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "192", "storeid" : "57"
    }
Responses
Status: 202 - Success
  • {
    • "success":Boolean "res_code": Number, "data": { "message": String, "config": Array, "adone": Number, "filterstatus": String, "ifcorrectusers":Boolean "currencytype": String, "id": Number, "nulldata": object, "store": object, "currentstoreid": Number, "storeFProducts": Array, "allCategory": Array, "selecteStoreCategory": Array, "storeAllProducts": Array of objects "alertmsg": String, "planupdate": String, "selectStoreAllOrder": Array, "storeCategory": Array, "editCategory": Array of objects "editpage": Boolean, "checkeditpage": Boolean }
    }
  • {
    • { "success": true, "res_code": "202", "data": { "message": "Cannot read property 'replace' of undefined", "config": [], "adone": 0, "filterstatus": "", "ifcorrectusers": true, "currencytype": "rupee", "id": "57", "nulldata": null, "store": { "id": 57, "name": "sample store", "description": "Welcome to sample store !!!", "user_id": 192, "location": "India", "date_added": "2019-04-26T09:10:10.000Z", "date_expired": null, "logo": "logo/logo5.jpg", "status": "active", "website": "", "date_started": "2019-04-26T09:10:10.000Z", "views": 0, "banner": "", "facebook": "", "twitter": "", "google": "", "bleft": 0, "btop": 201, "homepage": "", "aboutus": "Leading fashion store in market", "show_homepage": "1", "selected_category": "", "maxproduct": 120, "maxcategory": 5, "theme_css": "clr12", "theme_font": "font8", "identifier": 2, "privacy": "privacy statement", "terms": "terms & conditions", "address": "chennai", "dmap_url": "www.test.com", "shipstationname": null, "shipstationkey": "eqwewer", "shipstationsecret": "ewrwerre", "shipstationstatus": "0", "dated_started": "2019/04/26 14:40", "date_starts": "26 April, 2019 at 14:40", "date_expiredformat": null }, "currentstoreid": 57, "storeFProducts": [], "allCategory": [ { "id": 5, "name": "Women's Fashion", "description": "Women's Fashion Women's Fashion Women's Fashion Women's Fashion Women's Fashion Women's Fashion Women's Fashion", "type": "product", "created_at": "2015-03-16T23:58:43.000Z", "updated_at": "2015-03-16T23:58:43.000Z", "lft": 95, "rgt": 112, "parent_id": 0, "store_id": 0, "allowstore": "1" } ], "selecteStoreCategory": [ { "id": 1, "max_length": 10, "comment": "store_category_max_length", "storecategory_ids": "32,34,58,49,47,4,6,23,19,5" } ], "storeAllProducts": [ { "id": 115, "title": "wer", "description": "dsfdsf", "avatar": "", "image": "", "document": "", "date_added": "2019-05-01T05:16:23.000Z", "date_closed": "2019-05-31T05:16:23.000Z", "category_id": "5", "parent_category_id": "5", "subcategory": null, "tags": "vwer", "sprice": "0", "rprice": "0", "work_loc": "0", "country": "India", "state": "Tamil Nadu", "user_id": 192, "invite_people": null, "status": 1, "created_at": "2019-05-01T05:16:23.000Z", "updated_at": "2019-05-01T05:16:23.000Z", "budget_type": null, "buynow": 1, "feature": 1, "home_page_listing_fee": 0, "shipping_price": 52, "shipping_description": "Fedex", "bprice": 42, "dprice": 0, "mprice": 44, "iprice": 0.01, "wprice": 0, "market_status": "open", "auction": 0, "is_same_location": 0, "qty": 1, "sold": 0, "paypal_address": " ", "future": 0, "duration": 0, "time": 0, "time_level": "", "duration_type": "D", "booked": 0, "city": "chennai", "sell_location": "India", "used_image_space": 0, "is_digital": 0, "vauction": 0, "weight": "44.00", "width": "45.00", "height": "34.00", "commision_amount": "15", "sub_store": 0, "sub_store_userid": 0, "sub_user_price": "0", "sub_paypal_address": "", "offer": 0, "rauction": 0, "pauction": "", "bid_multiplier": "1", "bid_increment": 0.01, "resettime_what": "10", "reverse_budget": 0, "end_budget": 0, "store_id": 57, "plan_type": 11, "decrement_amount": 0, "img1": null, "img2": null, "img3": null }, ], "alertmsg": "", "planupdate": "", "selectStoreAllOrder": [], "storeCategory": [], "editCategory": [ { "id": 4, "name": "Home & Living", "description": "Home & Living Home & Living Home & Living Home & Living Home & Living Home & Living Home & Living Home & Living", "type": "product", "created_at": "2015-03-16T23:57:59.000Z", "updated_at": "2015-03-16T23:57:59.000Z", "lft": 65, "rgt": 70, "parent_id": 0, "store_id": 0, "allowstore": "1", "checked": null } ], "editpage": "true", "checkeditpage": "true" } }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Themes

POST

http://saas.auctionsoftware.com/api/stores/update-theme

Usage and Examples

curl -X POST"http://saas.auctionsoftware.com/api/stores/update-theme"

var settings = { "async": true, "crossDomain": true, "url": "http://saas.auctionsoftware.com/api/stores/update-theme", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"192\",\r\n\"storeid\" : \"57\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var http = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/update-theme", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = http.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ userid: '192', storeid: '57' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "192", "storeid" : "57"
    }
Responses
Status: 202 - Success
  • {
    • "success":Boolean "res_code": Number, "data": { "message": String, "config": Array, "adone": Number, "filterstatus": String, "ifcorrectusers":Boolean "currencytype": String, "id": Number, "nulldata": object, "store": object, "currentstoreid": Number, "storeFProducts": Array, "allCategory": Array, "selecteStoreCategory": Array, "storeAllProducts": Array of objects "alertmsg": String, "planupdate": String, "selectStoreAllOrder": Array, "storeCategory": Array, "editCategory": Array of objects "editpage": Boolean, "checkeditpage": Boolean }
    }
  • {
    • { "success": true, "res_code": "202", "data": { "message": "Cannot read property 'replace' of undefined", "config": [], "adone": 0, "filterstatus": "", "ifcorrectusers": true, "currencytype": "rupee", "id": "57", "nulldata": null, "store": { "id": 57, "name": "sample store", "description": "Welcome to sample store !!!", "user_id": 192, "location": "India", "date_added": "2019-04-26T09:10:10.000Z", "date_expired": null, "logo": "logo/logo5.jpg", "status": "active", "website": "", "date_started": "2019-04-26T09:10:10.000Z", "views": 0, "banner": "", "facebook": "", "twitter": "", "google": "", "bleft": 0, "btop": 201, "homepage": "", "aboutus": "Leading fashion store in market", "show_homepage": "1", "selected_category": "", "maxproduct": 120, "maxcategory": 5, "theme_css": "clr12", "theme_font": "font8", "identifier": 2, "privacy": "privacy statement", "terms": "terms & conditions", "address": "chennai", "dmap_url": "www.test.com", "shipstationname": null, "shipstationkey": "eqwewer", "shipstationsecret": "ewrwerre", "shipstationstatus": "0", "dated_started": "2019/04/26 14:40", "date_starts": "26 April, 2019 at 14:40", "date_expiredformat": null }, "currentstoreid": 57, "storeFProducts": [], "allCategory": [ { "id": 5, "name": "Women's Fashion", "description": "Women's Fashion Women's Fashion Women's Fashion Women's Fashion Women's Fashion Women's Fashion Women's Fashion", "type": "product", "created_at": "2015-03-16T23:58:43.000Z", "updated_at": "2015-03-16T23:58:43.000Z", "lft": 95, "rgt": 112, "parent_id": 0, "store_id": 0, "allowstore": "1" } ], "selecteStoreCategory": [ { "id": 1, "max_length": 10, "comment": "store_category_max_length", "storecategory_ids": "32,34,58,49,47,4,6,23,19,5" } ], "storeAllProducts": [ { "id": 115, "title": "wer", "description": "dsfdsf", "avatar": "", "image": "", "document": "", "date_added": "2019-05-01T05:16:23.000Z", "date_closed": "2019-05-31T05:16:23.000Z", "category_id": "5", "parent_category_id": "5", "subcategory": null, "tags": "vwer", "sprice": "0", "rprice": "0", "work_loc": "0", "country": "India", "state": "Tamil Nadu", "user_id": 192, "invite_people": null, "status": 1, "created_at": "2019-05-01T05:16:23.000Z", "updated_at": "2019-05-01T05:16:23.000Z", "budget_type": null, "buynow": 1, "feature": 1, "home_page_listing_fee": 0, "shipping_price": 52, "shipping_description": "Fedex", "bprice": 42, "dprice": 0, "mprice": 44, "iprice": 0.01, "wprice": 0, "market_status": "open", "auction": 0, "is_same_location": 0, "qty": 1, "sold": 0, "paypal_address": " ", "future": 0, "duration": 0, "time": 0, "time_level": "", "duration_type": "D", "booked": 0, "city": "chennai", "sell_location": "India", "used_image_space": 0, "is_digital": 0, "vauction": 0, "weight": "44.00", "width": "45.00", "height": "34.00", "commision_amount": "15", "sub_store": 0, "sub_store_userid": 0, "sub_user_price": "0", "sub_paypal_address": "", "offer": 0, "rauction": 0, "pauction": "", "bid_multiplier": "1", "bid_increment": 0.01, "resettime_what": "10", "reverse_budget": 0, "end_budget": 0, "store_id": 57, "plan_type": 11, "decrement_amount": 0, "img1": null, "img2": null, "img3": null }, ], "alertmsg": "", "planupdate": "", "selectStoreAllOrder": [], "storeCategory": [], "editCategory": [ { "id": 4, "name": "Home & Living", "description": "Home & Living Home & Living Home & Living Home & Living Home & Living Home & Living Home & Living Home & Living", "type": "product", "created_at": "2015-03-16T23:57:59.000Z", "updated_at": "2015-03-16T23:57:59.000Z", "lft": 65, "rgt": 70, "parent_id": 0, "store_id": 0, "allowstore": "1", "checked": null } ], "editpage": "true", "checkeditpage": "true" } }
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Update category

POST

https://saas.auctionsoftware.com/api/stores/update-category

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/update-category"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/update-category", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"storeid\": \"57\",\r\n\"default_ids\": \"19,5,23\",\r\n\"planpaymentid\":\"11\",\r\n\"status\":\"active\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/update-category", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', default_ids: '19,5,23', planpaymentid: '11', status: 'active' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "default_ids": "19,5,23", "planpaymentid":"11", "status":"active"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Category edited successfully!"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Update storename

POST

https://saas.auctionsoftware.com/api/stores/update-storename

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/update-storename"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/update-storename", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"storeid\": \"57\",\r\n\"storename\": \"sample store\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/update-storename", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', storename: 'sample store' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "storename": "test store"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Store name updated successfully!"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Update Store Description

POST

https://saas.auctionsoftware.com/api/stores/update-description

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/update-description"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/update-description", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"storeid\": \"57\",\r\n\"description\": \"Welcome to sample store !!!\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "7092", "path": "/api/stores/update-description", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', description: 'Welcome to sample store !!!' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "description": "Welcome to sample store !!!"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Description updated successfully."
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Update `About us` Section

POST

https://saas.auctionsoftware.com/api/stores/update-aboutus

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/update-aboutus"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/update-aboutus", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\n\t\"storeid\": \"57\",\n\t\"aboutus\": \"Leading fashion store in market\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/update-aboutus", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', aboutus: 'Leading fashion store in market' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "aboutus": "Leading fashion store in market"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Data updated successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Domain Mapping Request

POST

https://saas.auctionsoftware.com/api/stores/dmap_request

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/dmap_request"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/dmap_request", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"dmap_sid\": \"66\",\r\n\"dmapurl\": \"www.test.com\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/dmap_request", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ dmap_sid: '66', dmapurl: 'www.test.com' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "dmap_sid": "66", "dmapurl": "www.test.com"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Domain request sent."
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Update Products Order

POST

https://saas.auctionsoftware.com/api/stores/update-product-order

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/update-product-order"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/update-product-order", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\n\t\"product_ids\": \"1,115,13\",\n\t\"category_id\": \"5\",\n\t\"store_id\": \"57\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/update-product-order", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ product_ids: '1,115,13', category_id: '5', store_id: '57' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "product_ids": "1,115,13", "category_id": "5", "store_id": "57"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Order updated successfully."
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }
POST

https://saas.auctionsoftware.com/api/stores/update-featured-products

Usage and Examples
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "product_ids": "114,115", "featured": "1"
    }
Responses
Status: 202 - Success
Responses
Status: 302 - Error

Review Request

POST

https://saas.auctionsoftware.com/api/stores/review_request

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/review_request"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/review_request", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\n\t\"storeid\": \"57\",\n\t\"toemails\": \"gayathri.auctionsoftware@gmail.com\",\n\t\"first_name\": \"g\",\n\t\"last_name\": \"gg\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/review_request", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', toemails: 'gayathri.auctionsoftware@gmail.com', first_name: 'g', last_name: 'gg' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "toemails": "test.auctionsoftware@gmail.com", "first_name": "test", "last_name": "test"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Review request sent."
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Update store Theme

POST

https://saas.auctionsoftware.com/api/stores/update-theme

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/update-theme"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/update-theme", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\n\t\"storeid\": \"57\",\n\t\"colorclass\": \"clr12\",\n\t\"fontclass\": \"font8\",\n\t\"terms\": \"terms & conditions\",\n\t\"privacy\": \"privacy statement\",\n\t\"address\": \"chennai\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/update-theme", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXXV0", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', colorclass: 'clr12', fontclass: 'font8', terms: 'terms & conditions', privacy: 'privacy statement', address: 'chennai' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "colorclass": "clr12", "fontclass": "font8", "terms": "terms & conditions", "privacy": "privacy statement", "address": "chennai"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Changes updated successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Remove Store Banner

POST

https://saas.auctionsoftware.com/api/stores/storebannerremove

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/storebannerremove"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/storebannerremove", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"storeid\" : \"57\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "https://saas.auctionsoftware.com", "port": "null", "path": "/api/stores/storebannerremove", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57",
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": "202", "data": "Store banner removed."
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Get maximum category count

POST

https://saas.auctionsoftware.com/api/stores/getsubcount

Usage and Examples

curl -X POST "https://saas.auctionsoftware.com/api/stores/getsubcount"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/getsubcount", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"userid\" : \"211\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/getsubcount", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ userid: '211' })); req.end();
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "userid" : "211"
    }
Responses
Status: 202 - Success
  • {
    • "result": String, "store": Number, "category": Number, "product": Number, "planid": Number
    }
  • {
    • "result": "success", "store": 5, "category": 15, "product": 400, "planid": 1
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Change banner position

POST

https://saas.auctionsoftware.com/stores/storebannerposition

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/store-view/:id"

Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id": "12", "store_id": "23", "left": "23", "top":"23"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Position changed successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Personal Profile

POST

https://saas.auctionsoftware.com/stores/storebannerposition

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/store-view/:id"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/store-view/7", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": { "email" : "test.auctionsoftware@gmail.com", "id": "2", "first_name": "test", "last_name":"user", "deposit_amount": "250", "image": "myimg.jpg", "address1": "chennai", "address2": "chennai", "country": "India", "state": "Tamilnadu", "city": "chennai", "zip":"600001", "phone": "8542365523" } } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("http"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/store-view/7", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ "email" : "test.auctionsoftware@gmail.com", "id": "2", "first_name": "test", "last_name":"user", "deposit_amount": "250", "image": "myimg.jpg", "address1": "chennai", "address2": "chennai", "country": "India", "state": "Tamilnadu", "city": "chennai", "zip":"600001", "phone": "8542365523" })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "email" : "test.auctionsoftware@gmail.com", "id": "2", "first_name": "test", "last_name":"user", "deposit_amount": "250", "image": "myimg.jpg", "address1": "chennai", "address2": "chennai", "country": "India", "state": "Tamilnadu", "city": "chennai", "zip":"600001", "phone": "8542365523"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "successs": true, "res_code": 202, "data":"Personal details saved successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • { "successs": false, "res_code": 302, "data":"Account not exists" }, { "successs": false, "res_code": 302, "data":"Please check required fields" }
    }

Forgot Password

POST

https://saas.auctionsoftware.com/auth/forgot_Password

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/forgot_Password"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • email :saasbuyer@gmail.com
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "successs": true, "res_code": 202, "data":"Password changed successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • { "successs": false, "res_code": 302, "data":"Old password doesnt match, Please check!!" }, { "successs": false, "res_code": 302, "data":"Password length should be minimun 6 characters" }
    }

Shipping

POST

https://saas.auctionsoftware.com/api/stores/edit_shipping

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/edit_shipping"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id": "23", "api_key": "XDCDFDF...", "api_secret": "SDSFSDFDC..."
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Details saved successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • Paypal: { "successs": false, "res_code": 302, "data":"This paypal details already exist. Please enter new paypal details." }, { "successs": false, "res_code": 302, "data":"Please enter valid paypal details" } Bank: { "success": false, "res_code": 302, "data":"This Bank details already exist. Please enter new details." }
    }

Upgrade Plan

POST

https://saas.auctionsoftware.com/api/stores/plans/sameplanupgrade

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/plans/sameplanupgrade"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id": "12" "addonprice":"0.00", "addonname":"Basics", "addon":"free"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"request sent successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Error occured"
    }

Manage Account

GET

https://saas.auctionsoftware.com/api/stores/manageaccount/:id

Usage and Examples

curl -X GET"https://saas.auctionsoftware.com/api/stores/manageaccount/:id"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":[ "account_overview" : "array" "profile_details" : "array"]
    }
  • {
    • "success": true, "res_code": 202, "data":[ "account_overview" : [ { "first_name":"g", "created_at":"2019-04-26T06:48:48.000Z", "planname":"Basics", "status":"active" }], "profile_details" : [{ "email":"test.auctionsoftware@gmail.com", "id":192, "first_name":"g", "last_name":"g", "deposit_amount":0, "image":"my_img.jpg", "address1":"test", "address2":"", "country":"India", "state":"Tamil Nadu", "city":"chennai", "zip":"526254", "phone":"+91 5848552542", "paypal_address":"chennai", "profile_url":"", "verifyphone":0, "nick_name":"test" }] ]
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"User details not found"
    }

Manage Account (create staff)

POST

https://saas.auctionsoftware.com/api/stores/create_staff_account

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/create_staff_account"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id": "23", "first_name": "test", "last_name":"user", "staff_permission": [{ "full_access": "0", "products": "1", "auction": "1", "discount": "1", "customer": "1", "analytics": "1", "edit/view store": "1", }]
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Staff account created successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"unable to add staff"
    }

Get Notification

GET

https://saas.auctionsoftware.com/api/stores/get_notification_settings/:store_id

Usage and Examples

curl -X GET"https://saas.auctionsoftware.com/api/stores/get_notification_settings/:store_id"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":{ "id":number, "notifications":"string", "buyer":number, "seller":number, "status":number, "template":"... " }...
    }
  • {
    • "success": true, "res_code": 202, "data":[ { "id":1, "notifications":"Bid Submitted", "buyer":1, "seller":0, "status":1, "template":"... " }... ]
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"No data found"
    }

Notification

POST

https://saas.auctionsoftware.com/api/stores/notification_settings

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/notification_settings"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "user_id": "23", "store_id": "57", "changes" : [{ "notification_id":1, "notifications":"Bid Submitted", "buyer":1, "seller":0, "status":1, "template":"... " }...]
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Notification settings updated successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Unable to update"
    }

EBay Settings

POST

https://saas.auctionsoftware.com/api/stores/ebay_settings

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/stores/ebay_settings"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/stores/ebay_settings", "method": "POST", "headers": { "content-type": "application/json", "authorization": "Bearer XXXXXXX", "cache-control": "no-cache", "postman-token": "XXXXX-xxxxxx-XXXXXXX-xxxxxxx" }, "processData": false, "data": "{\r\n\"user_id\" : \"198\",\r\n\"store_id\" : \"123\",\r\n\"dev_id\" : \"23\",\r\n\"app_id\" : \"12\",\r\n\"cert_id\" : \"55\", \r\n\"app_name\" : \"test\",\r\n\"auth_token\" : \"XCSFDSD..\",\r\n\"sandbox\" : \"1\"\r\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/stores/ebay_settings", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXXX-xxxxxx-XXXXX-xxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ "user_id": "12", "store_id": "23", "dev_id": "23", "app_id": "12", "cert_id": "55", "app_name": "test", "auth_token": "XCSFDSD..", "sandbox": "1" })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Parameters Description Schema
EbaySetup
  • {
    • "user_id": "12", "store_id": "23", "dev_id": "23", "app_id": "12", "cert_id": "55", "app_name": "test", "auth_token": "XCSFDSD.." "sandbox": "1"
    }
    • user_id: User ID from registeration store_id: Store ID associated with User dev_id: DEV ID app_id: Application ID cert_id: Certificate ID app_name: Application Name auth_token: Authentication Token sandbox: Enable Sanbox Mode : 0-ON , 1-OFF
  • {
    • "user_id": INT, "store_id": INT, "dev_id": INT, "app_id": INT, "cert_id": INT, "app_name": STRING, "auth_token": STRING "sandbox": INT
    }
Responses
Status: 200 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 200, "data":"Updated successfully"
    }
Responses
Status: 500 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 500, "data":"Unable to update"
    }

Paypal And Bank Account

POST

https://saas.auctionsoftware.com/api/paypal/edit_paypal_account

https://saas.auctionsoftware.com/api/profile/edit_bank_account

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/paypal/edit_paypal_account"

curl -X POST"https://saas.auctionsoftware.com/api/profile/edit_bank_account"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • Paypal:{ "user_id": "23", "paypal_email": "test@gmail.com", "paypal_firstname": "test", "paypal_last_name": "test user", "paypal_id":"223" }, Bank details: { "user_id": "23", "routing_number": "3343333", "account_number": "6010219755", "bank_name": "canara", "account_type":"self", "store_id":"43" }
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Details changed successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • Paypal: { "successs": false, "res_code": 302, "data":"This paypal details already exist. Please enter new paypal details." }, { "successs": false, "res_code": 302, "data":"Please enter valid paypal details" } Bank: { "success": false, "res_code": 302, "data":"This Bank details already exist. Please enter new details." }
    }

Charity Registration

POST

https://saas.auctionsoftware.com/Charity_Registration

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/Charity_Registration"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "event_type" : "Birthday auction event", "event_title": "test event", "micrrosite": "test", "content" : "test", "timezone": "pacific" "start_date": "2019-05-01 13:15", "end_date" : "2019-05-03 13:15", "user_id": "2"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"Event created successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"Unable to create event"
    }

Charity Login

POST

https://saas.auctionsoftware.com/Charity_Login

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/Charity_Login"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "username": "test account", "password": "test"
    }
Responses
Status: 202 - Success
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": true, "res_code": 202, "data":"login successfull"
    }
Responses
Status: 302 - Error
  • {
    • "success": boolean, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"No data available"
    }

Registration

POST

https://saas.auctionsoftware.com/auth/buyerSave

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/buyerSave"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/auth/buyerSave", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXXX-xxxxxx-XXXXX-xxxxxx" }, "processData": false, "data": "{\n\"store_id\" : \"57\",\n\"regtype\" : \"\",\n\"p_id\" : \"\",\n\"firstname\" : \"test\",\n\"lastname\" : \"test\",\n\"username\" : \"buyertest\",\n\"email\" : \"test321.321qwerty111111111111111@gmail.com\",\n\"password\" : \"qwerty123\",\n\"repassword\" : \"qwerty123\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/auth/buyerSave", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXXX-xxxxxx-XXXXX-xxxxxx" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ store_id: '57', regtype: '', p_id: '', firstname: 'test', lastname: 'test', username: 'buyertest', email: 'test321.321qwerty111111111111111@gmail.com', password: 'qwerty123', repassword: 'qwerty123' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "store_id" : "57", "regtype" : "", "p_id" : "", "firstname" : "test", "lastname" : "test", "username" : "buyertest", "email" : "test@gmail.com", "password" : "test1234567", "repassword" : "test1234567"
    }
Responses
Status: 202 - Success
  • {
    • "success": String, "res_code": Number, "data":String, "storeid": Number, "user_data": Object
    }
  • {
    • "successs": true, "res_code": 202, "data":"Personal details saved successfully", "store_id": "57", "user_data": { "config": [], "reg": 1, "loged": { "buyerstore": [ 57 ], "permission": false, "productcountyear": 0, "bidcountyear": 0, "productcountmonth": 0, "bidcountmonth": 0, "buynowcountyear": 0, "buynowcountmonth": 0, "used_image_space": 0, "email": "test@gmail.com", "userid": 244, "first_name": "buyertest", "zipcode": "563252", "phone": "8956235689", "used_attach_space": 0, "country": "India", "membershipstatus": "active" }
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": string, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"invalid parameters"
    }

Login

POST

https://saas.auctionsoftware.com/auth/buyer-login

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/buyer-login"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/auth/buyer-login", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXXXXXXXXXXXXXXXXXX" }, "processData": false, "data": "{\n\"store_id\" : \"57\",\n\"p_id\" : \"\",\n\"username\" : \"test321.321qwerty@gmail.com\",\n\"password\" : \"qwerty123\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/auth/buyer-login", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "XXXXXX-xxxxxx-XXXXX-xxxxx-XXXXXXX" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ store_id: '57', p_id: '', username: 'test321.321qwerty@gmail.com', password: 'qwerty123' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "store_id" : "57", "p_id" : "", "username" : "test321.321qwerty@gmail.com", "password" : "qwerty123"
    }
Responses
Status: 202 - Success
  • {
    • "status": Boolean, "msg": String, "store_id": Number, "user_data": { "buyerstore": Array "email": String, "userid": Number, "role": Number, "buysell": Number, "first_name": String, "last_name": String, "zipcode": Number, "phone": Number, "address1": String, "state": String, "city": String, "buynowplan": Number, "forwardauction": Number, "reverseauction": Number, "pennyauction": Number, "offerauction": Number, "wordpressblog": Number, "planpaymentid": Number, "planpayment": String, "wepay_account_id": Number, "used_attach_space": Number, "deposit_amount": Number, "unameshort": String, "country": String, "test": Boolean, "membershipstatus": String }
    }
  • {
    • "status": true, "msg": "", "p_id": "", "store_id": "57", "user_data": { "buyerstore": [ 57 ], "email": "test321.321qwerty@gmail.com", "key": "test321.321qwerty@gmail.com", "userid": 245, "role": "2", "buysell": 0, "first_name": "test123", "last_name": "test", "zipcode": "666666", "phone": "8956895689", "address1": "qwerty", "state": "TamilNadu", "city": "Chennai", "buynowplan": "0", "forwardauction": "0", "reverseauction": "0", "pennyauction": "0", "offerauction": "0", "wordpressblog": "0", "planpaymentid": "0", "planpayment": "inactive", "wepay_account_id": 0, "used_attach_space": 0, "deposit_amount": 0, "unameshort": "tt", "country": "India", "test": true, "membershipstatus": "" }
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • { "success": false, "res_code": 402, "data":"invalid credientials" },{ "success": false, "res_code": 402, "data":"Required field missing." }
    }

Forgot Password

POST

https://saas.auctionsoftware.com/auth/forgot_Password

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/forgot_Password"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • email :saasbuyer@gmail.com
    }
Responses
Status: 202 - Success
  • {
    • success : string, res_code :number data : "string"
    }
  • {
    • success : true, res_code :202 data : "password send to your email"
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 402, "data":"invalid email"
    }

Logout

POST

https://saas.auctionsoftware.com/auth/logout

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/logout"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • user_id :45
    }
Responses
Status: 202 - Success
  • {
    • success : string, res_code :number data : "string"
    }
  • {
    • success : true, res_code :202 data : "logged out successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 402, "data":"user id"
    }

Payment

POST

https://saas.auctionsoftware.com/api/dashboard/payments

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/dashboard/payments"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/dashboard/payments", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "ce9fc919-a8a5-ef02-6ef4-8b2d2c77c011" }, "processData": false, "data": "{\n\t\"storeid\": \"57\",\n\t\"userid\" : \"245\"\n}\n" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/dashboard/payments", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "bef5f28b-f92c-4513-a72c-dec4688e6654" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', userid: '245' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "storeid": "57", "userid" : "245"
    }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": Number, "user_data": Object
    }
  • {
    • "success": true, "res_code": 302, "user_data": { "config": [], "currentstoreid": 57, "externalcss": [ "buyer2", "change_psd" ], "payments": [], "cnt": 0, "buyer_page_name": "payment" }
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • { "success": false, "res_code": 402, "data":"invalid user id" },{ "success": false, "res_code": 402, "data":"Required field missing" }
    }

Active

POST

https://saas.auctionsoftware.com/api/dashboard/bidlist

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/dashboard/bidlist"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/dashboard/bidlist", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "3497822c-1030-b2f6-fbcf-4c94bb1ccded" }, "processData": false, "data": "{\n\t\"type\": \"active\",\n\t\"id\": \"57\",\n\t\"userid\" : \"245\"\n}\n" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/dashboard/bidlist", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "2206e697-9445-c2fa-378b-ac9afaea4c58" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ type: 'active', id: '57', userid: '245' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "type": "active", "id": "57", "userid" : "245"
    }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": Number, "user_data": Object
    }
  • {
    • "success": true, "res_code": 202, "user_data": { "config": [], "pagination": 0, "bid_details": [], "admincommision": "10", "currentstoreid": "57", "buyer_page_name": "active" }
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 402, "data":"invalid user id"
    }

Lost

POST

https://saas.auctionsoftware.com/api/dashboard/bidlist

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/dashboard/bidlist"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/dashboard/bidlist", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "3497822c-1030-b2f6-fbcf-4c94bb1ccded" }, "processData": false, "data": "{\n\t\"type\": \"lost\",\n\t\"id\": \"57\",\n\t\"userid\" : \"245\"\n}\n" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/dashboard/bidlist", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "2206e697-9445-c2fa-378b-ac9afaea4c58" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ type: 'active', id: '57', userid: '245' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "type": "lost", "id": "57", "userid" : "245"
    }
Responses
Status: 202 - Success
  • {
    • "success": Boolean, "res_code": Number, "user_data": Object
    }
  • {
    • "success": true, "res_code": 202, "user_data": { "config": [], "pagination": 0, "bid_details": [], "admincommision": "10", "currentstoreid": "57", "buyer_page_name": "active" }
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • "success": false, "res_code": 402, "data":"invalid user id"
    }

Personal Profile

POST

https://saas.auctionsoftwsre.com/api/profile/update-buyer-profile

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/api/profile/update-buyer-profile"

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/profile/update-buyer-profile", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "52907b3d-d390-8bd7-da99-42bc2f8067c1" }, "processData": false, "data": "{\n\"storeid\" : \"57\",\n\"userid\" : \"245\",\n\"email\" : \"test321.321qwerty@gmail.com\", \n\"firstname\" : \"test123\", \n\"lastname\" : \"test\",\n\"nickname\" : \"test-nick\", \n\"address1\" : \"qwerty\", \n\"address2\" : \"\", \n\"country\" : \"India\", \n\"state\" : \"TamilNadu\", \n\"city\" : \"Chennai\", \n\"zip\" : \"666666\", \n\"phone\" : \"8956895689\"\n}" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/profile/update-buyer-profile", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "b44ae162-32e2-3783-e0c2-da0dbf23f10e" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ storeid: '57', userid: '245', email: 'test321.321qwerty@gmail.com', firstname: 'test123', lastname: 'test', nickname: 'test-nick', address1: 'qwerty', address2: '', country: 'India', state: 'TamilNadu', city: 'Chennai', zip: '666666', phone: '8956895689' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • { "storeid" : "57", "userid" : "245", "email" : "test321.321qwerty@gmail.com", "firstname" : "test123", "lastname" : "test", "nickname" : "test-nick", "address1" : "qwerty", "address2" : "", "country" : "India", "state" : "TamilNadu", "city" : "Chennai", "zip" : "666666", "phone" : "8956895689" }
    }
Responses
Status: 202 - Success
  • {
    • user_id :number first_name :string lastname: string email :string phone :number address :string country :string state :string city :string Zipcode :number
    }
  • {
    • user_id :45 first_name :test lastname: test email :test2gmail.com phone :1234567890 address :test country :test state :test city :test Zipcode :123456
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": string, "data":"string"
    }
  • {
    • "success": false, "res_code": 302, "data":"invalid parameters"
    }

Change Password

POST

https://saas.auctionsoftware.com/auth/changepassword

Usage and Examples

curl -X POST"https://saas.auctionsoftware.com/auth/changepassword"

Headers
{ "key":"Content-Type","value":"application/json","enabled":true, "key":"Authorization","value":Bearer XXXXX","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "new_password":"saas123", "email":"gayathri.auctionsoftware@gmail.com"
    }
Responses
Status: 202 - Success
  • {
    • success : string, res_code :number data : "string"
    }
  • {
    • success : true, res_code :202 data : "password changed successfully"
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • ""success"": false, ""res_code"": 302, ""data"":""invalid parameters""
    }

Shipping Details

POST

https://saas.auctionsoftware.com/api/profile/update-shipping

Usage and Examples

curl -X POSThttps://saas.auctionsoftware.com/api/profile/update-shipping

var settings = { "async": true, "crossDomain": true, "url": "https://saas.auctionsoftware.com/api/profile/update-shipping", "method": "POST", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "a1e6cbcd-5ff0-9d47-074e-ba54fd9b7ecc" }, "processData": false, "data": "{\n\t\"f_name\" : \"test\",\n\t\"l_name\" : \"test2222\",\n\t\"email\" : \"test321.321qwerty@gmail.com\",\n\t\"phone\" : \"8428839433\",\n\t\"address\" : \"qwerty\",\n\t\"country\" : \"India\",\n\t\"state\" : \"Tamil nadu\",\n\t\"city\" : \"Chennai\",\n\t\"zipcode\" : \"662266\",\n\t\"userid\" : \"245\"\n}\n" } $.ajax(settings).done(function (response) { console.log(response); });
var https = require("https"); var options = { "method": "POST", "hostname": "saas.auctionsoftware.com", "port": "null", "path": "/api/profile/update-shipping", "headers": { "content-type": "application/json", "cache-control": "no-cache", "postman-token": "82666734-70da-d1ea-771a-e72150f406fc" } }; var req = https.request(options, function (res) { var chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { var body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({ f_name: 'test', l_name: 'test2222', email: 'test321.321qwerty@gmail.com', phone: '8428839433', address: 'qwerty', country: 'India', state: 'Tamil nadu', city: 'Chennai', zipcode: '662266', userid: '245' })); req.end();
Headers
{ "key":"Content-Type","value":"application/json","enabled":true }
Usage and Examples
Body parameters
Name Description
userdetails
  • {
    • "f_name" : "test", "l_name" : "test2222", "email" : "test321.321qwerty@gmail.com", "phone" : "8428839433", "address" : "qwerty", "country" : "India", "state" : "Tamil nadu", "city" : "Chennai", "zipcode" : "662266", "userid" : "245"
    }
Responses
Status: 202 - Success
  • {
    • success : string, res_code :number data : "string"
    }
  • {
    • success : true, res_code :202 data : "Successfully updated"
    }
Responses
Status: 302 - Error
  • {
    • "success": string, "res_code": number, "data":"string"
    }
  • {
    • ""success"": false, ""res_code"": 302, ""data"":""invalid parameters""
    }