Connect your store using API, Getting started

You can connect your custom made store to Convertedin by creating an API with the following instructions

You should login to app.converted.in, choose api option from datasources

You'll be prompted to enter your base url for the api , for example if your API baseUrl was https://cake-store.com/en/api, your Store info api should be https://cake-store.com/en/api/convertedin/storeinfo

We expect you to create an API that complies with the following documentation

All endpoints should follow the following standard pagination form Except for the store info API

{
"current_page": 1, // current page
"data": [ ],
"from": 1, // start for current page
"to": 100, // end for current page
"last_page": 23, // last available page
"per_page": 100, // limit per page
"total": 2220 // total number of entities
}

post
Store Info

YOUR_BASEURL/convertedin/storeinfo
Request
Response
Request
Query Parameters
token
required
string
Fixed token provided by Convertedin platform.
Response
200: OK
Successful response.
{
"code": 200,
"date": {
"name" : "store name",
"currency" : "USD",
"time_zone": "",
"email" : "[email protected]",
"description": "A great store selling stuff",
"country": "US"
}
}

key

description

name

Store name or title

currency

currency in ISO format (USD, EUR, etc...)

time_zone

store default timezone in your format

email

Admin or store contact email

description

store brief or headline

country

operating country in ISO code (US, GB)