Connect your store using API, Getting started

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

Doc for more details Here

For speeding up integration you can use postman collection You should login to app.converted.in, choose api option from data sources

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

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

Authentication

Use your token provided inside converted.in after on boarding process to authenticate the request using form-data body

Notice:

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
}

Store Info

POST YOUR_BASEURL/convertedin/storeinfo

Request Body

{
    "code": 200,
    "data": {
        "name" : "store name",
        "currency" : "USD",
        "time_zone": "",
        "email" : "user@example.com",
        "description": "A great store selling stuff",
        "country": "US"
    }
}

Response

{
    "code": 200,
    "data": {
        "name": "store Name",
        "currency": "EGP",
        "time_zone": "GMT+2",
        "email": "info@cake-store.com",
        "description": "buy all your cake",
        "country": "eg",
        "country_code": "EG"
    }
}

Last updated