Api Explorer Instructions – For Developers

Our Api Explorer Instructions is simple enough for developers to integrate an online store with our merchant reviews platform. Currently, we only have a plug n play integration for Woocommerce. Other platform integrations will be implemented as the platform begin to receive large requests from small merchants who have a store platform that we don’t have a plug n play solution.

Api Explorer InstructionsFor Developers: As a growing platform, we encourage developers to adopt our api platform when you develop online stores for your clients. Our platform’s core services is free to stores and merchants won’t hesitate a free service that will increase their SEO and improve their chances to make a sales conversion.

To begin test with our api, register a merchant account and you will receive an api key which you can connect directly to the demo store for testing. The javascript widget will automatically generated upon sign up. You can create an integration of the javascript automatically; using the widget code as a reference.

We give free license to developers who wish to charge a fee for creating plugins/modules at CMS platforms such as Shopify, Magento, Prestashop, Joomla, BigCommerce, and etc. Just inform us of the creation of such plugin/module; so we can forego integration development plans with any e-commerce platforms and list your integration plugin in our website. All we ask if to make prices reasonable for the small business stores. We think that’s fair enough.

Api Explorer InstructionFor Marketplaces: Smaller marketplaces such as pricefalls.com, Bonanza.com, Shoply.com, ioffer.com, ecrater.com, and etc can take advantage of our platform. You can create a plugin or module integration for each of your seller. Seller just needs to add the api key into their store and our platform will automatically begin calculating their data and provide a grade.

Merchant Register

Allow to register merchant at the time of activation of wp_merchant_review to register in profile.

URL

» https://boltron.co/dev/project/api/merchant_detail.php

Method

» POST

Parameters

» action : merchant_register
» email : Merchant’s Email
» site_url : Merchant’s Site URL
» bussiness_name : Merchant’s Business Name

Request

action = merchant_register
email = email@example.com
site_url = https://www.example.com
bussiness_name = Business Name

Success Response (JSON Formate)

{“status”:”true”,”message”:”Merchant Created Successfully”,”data”:[],”code”:”201″}

Error Responses (JSON Formate)

{“status”:”false”,”message”:”Require Fields”,”code”:”403″}

{“status”:”false”,”message”:”Merchant Already Registered”,”code”:”108″}

Merchant Key Activation

Activate Merchant key

URL

» https://boltron.co/dev/project/api/merchant_detail.php

Method

» POST

Parameters

» action : merchant_key_activate_process
» email : Merchant’s Email
» key : Merchant’s Key

Request

action = merchant_key_activate_process
email = email@example.com
key = 2a9ea0e6385ae43f1350cd3d49290a85b5b563e80995da554f2fce5d7115c5e5

Success Response (JSON Formate)

{“status”:”true”,”message”:”Merchant Activated”,”id”:””,”code”:”200″}

Error Responses (JSON Formate)

{“status”:”false”,”message”:”Require Fields”,”code”:”40″}

{“status”:”false”,”message”:”Autontication Failed”,”code”:”102″}

Update Order/Refund Data

Update details of Orders/Refunds from merchant store to Boltron. And sending customer invitation mails for reviews and ratings.

URL

» https://boltron.co/dev/project/api/merchant_detail.php

Method

» POST

Parameters

» action : update_data
» id : Merchant’s ID
» email : Merchant’s Email
» key : Merchant’s Key
» data : Merchant’s Order/Refund Data (Serialize Formate)

Request

action = update_data
id = 282
email = email@example.com
key = 2a9ea0e6385ae43f1350cd3d49290a85b5b563e80995da554f2fce5d7115c5e5
data = Following Array in Serialize Formate

 

Success Response (JSON Formate)

{“status”:”true”,”message”:”data updated successfully”,”data”:””,”ret_val”:””,”code”:”201″}

Error Responses (JSON Formate)

{“status”:”false”,”message”:”data not updated”,”code”:”204″}

{“status”:”false”,”message”:”Autontication Failed”,”code”:”102″}

{“status”:”false”,”message”:”Require Fields”,”code”:”400″}

VIEW OUR FORUM