POST https://api.ecartapi.com/authorize
Adding your first store to an APP? Now you need to add a store to the APP you just created. In order to connect the store to the APP you will need the store access keys. If you don't know how to get them, you can follow this guide. Get the Authorization Token (User Token) which you can find in Dashboard. Then get your ApiKey (App Key) by selecting an APP.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Authorization
|
string |
RESPONSES
status OK
{
"access": {
"ecommerce":"Shopify",
"url":"https://ecart-test.myshopify.com",
"token":"shpat_shopifytoken",
"redirect_url": "http://your_app_redirect_url.com.mx"
},
"access_token": "eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJ0Y2FQekNRcExBNHk4a0dBNFBXQXNxRFpxQTJESU5xayIsImlhdCI6MTYyOTM5NDk1ODc1MX0.sqBy6nZGKggX85jR6Br2rRhMklbA-o6oeDbH7aTv3cpfyYlGyupIKUYyt5SjaqkJlyS9Fha_P65y6nuAKBBkKw"
} |