EasyEcom API modifications V2.1

EasyEcom API modifications V2.1

We are modifying our authorization module for API access. Two new headers are being introduced:
  1. JWT Token
  2. X-API-Key

22 July 2023 onwards, all EasyEcom API can only be accessed by passing both parameters in request headers. Failing to provide that token, the user will not be allowed to access the API and will receive HTTP code 401.

You can access our API documentation at https://api-docs.easyecom.io which now reflects a new method of authorizing your requests

1. JWT Token

To generate a JWT token, refer to the Authorization section in the API documentation

Jwt_token generated by the above method needs to be passed in the header for subsequent API calls 'Authorization: Bearer <jwt_token>'.

This token will be valid for 90 days and the new token can be generated by calling the above API again.

2. X-API-Key

We are also introducing API Throttling. All clients under the same company will be provided with a limit of 10 requests/seconds and a burst of 20 requests. Once the allowed quota is consumed, HTTP Code 429 Too Many Requests will be responded to by API. 

Steps to generate x-API-key 

  1. Log in to easyecom.io primary account. X-API-Key can only be generated from the primary account of the seller.
  2. Go to Account Settings > Change credentials
  3. Under X-API-KEY section, click on Generate X-API-KEY button
  4. Sample Token : 681d976c3bkgkjg6577754lkh46dc8927366eee4

Below is a sample curl request which uses both the mandatory headers: 

curl --location --request GET 'https://api.easyecom.io/<endpoint>' 

--header 'x-api-key: 40e18be2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx’

--header 'Authorization: Bearer  eyJ0eXAiOiJKV1QiLCJhbGciOixxxxxxxxxxxxxxxxxxxxx’

--header 'Content-Type: application/json'


    • Related Articles

    • Integrating Marketplace using EasyEcom Standard APIs

      You can easily integrate your marketplace with EasyEcom by following the process explained in this video and/or the integration workflow document shared with you.  Marketplace Integration Frequently Asked Questions  1. Do we need to add carrier ...
    • Integrating Grow Simplee with EasyEcom

      By following the below-mentioned procedure you can easily integrate Grow Simplee with EasyEcom.  Step 1: In the toggle menu, navigate to “Masters>>Carrier Master” Step 2: Click on the “Add New” button Once you click on Carrier Master you will be ...
    • Integrating Meesho-API with EasyEcom

      Integrating Meesho with EasyEcom is a simple 5 step process for the user. Step 1: On the dashboard, click on the “Three dots aka meatball menu” Step 2: Click on the “Account Settings” option Once you click on the meatball menu, you will see the ...
    • How does EasyEcom work?

      As soon as you sign-up your account with EasyEcom and Integrate all your channels you will be amazed to see how EasyEcom can make your operations very much simple and stressless. It helps you to perform activities related to the Order process, Stock ...
    • EasyEcom Pricing

      Now that you have decided to go ahead with the EasyEcom paid plan one must wonder which pricing might be the best-fit business operation. You might check the various pricing slabs that EasyEcom offers by clicking here. There are various factors that ...