Sky Tyres Wholesale - API

The API for integrating client systems with the Sky Tyres Wholesale platform utilizes a JSON format. This version of the API is tailored to a modern technical stack. It is meticulously designed to facilitate seamless integration with third-party systems.

Request body

Example Value  |  Model
{
  "username": "SKY123456",
  "consumer_key" : "S052JoyoNXLX6gZADtR9tjbwjKyP9kK0",
  "consumer_secret" : "21eFr7wWmY5B2FIz9UQTcDeKylpduEtz"
}

Responses

Code  |  200
{
  "authToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vMTI3LjAuMC4xOjgwMDAvYXBpL2F1dGgvYXV0aGVudGljYXRlIiwiaWF0IjoxNzE5MzE4ODkxLCJleHAiOjE3MTkzMjI0OTEsIm5iZiI6MTcxOTMxODg5MSwianRpIjoiTmdRM2lkRWRnNnJEaFVCdSIsInN1YiI6IjIyMSIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.7-FiL3zQuZTB_DbDLtd9ovlsmPzzuj7bhlmHCRV0GRk",
  "tokenType": "bearer",
  "expiresIn": 3600
}
A bearer token is a type of access token used in authentication protocols OAuth 2.0. It is called a "bearer" token because the entity that possesses the token (the "bearer") can use it to access protected resources.

Request body

Example Value  |  Model
{ }

Responses

Code  |  200
{ "status": "Success", "message": "", "response": { "data": [ { "id": 1, "size": "145/70R12", "description": null }, { "id": 2, "size": "145/80R12", "description": null }, { "id": 3, "size": "155/70R12", "description": null }, { "id": 4, "size": "165/70R12", "description": null }, { "id": 5, "size": "175/70R12", "description": null }, ] }, "errors": [] }
Please be advised that an appropriate bearer token must be provided to authenticate and process this API call.

Request body

Example Value  |  Model
{ }

Responses

Code  |  200
{ "status": "Success", "message": "", "response": { "data": [ { "id": 26, "name": "ACCELERA", "description": "" }, { "id": 173, "name": "ADMIRAL", "description": "" }, { "id": 163, "name": "ALVENTI", "description": "" }, { "id": 52, "name": "ANNAITE", "description": "" }, ] }, "errors": [] }
Please be advised that an appropriate bearer token must be provided to authenticate and process this API call.

Request body

Example Value  |  Model
{ }

Responses

Code  |  200
{ "status": "Success", "message": "", "response": [ { "id": 1, "EAN": "6938628299305", "description": "145/70R12 FRONWAY ECOGREEN66 69T", "category": null, "size_id": "1", "size": "145/70R12", "brand_id": 141, "brand_name": "FRONWAY", "pattern": "ECOGREEN66", "load_speed": "69T", "ply_rating": null, "brand_category": null, "run_on_flat": null, "OE_sidewall": null, "fitment_instruction": null, "season": null, "manufacturers_code": "3EFW610F", "rim_size": null, "mold_id": null, "F": "D", "W": "C", "DB": "69", "CI": "B" }, { "id": 2, "EAN": "6938628299374", "description": "145/80R12 FRONWAY ECOGREEN66 74T", "category": null, "size_id": "2", "size": "145/80R12", "brand_id": 141, "brand_name": "FRONWAY", "pattern": "ECOGREEN66", "load_speed": "74T", "ply_rating": null, "brand_category": null, "run_on_flat": null, "OE_sidewall": null, "fitment_instruction": null, "season": null, "manufacturers_code": "3EFW617F", "rim_size": null, "mold_id": null, "F": "D", "W": "C", "DB": "69", "CI": "B" }], "errors": [] }
Please be advised that an appropriate bearer token must be provided to authenticate and process this API call.

Request body

Example Value  |  Model
{
  "reference": "Test",
  "delivery_type": "Collection",
   "items": [
     {
      "product_id": 1,
      "quantity": 10
    },
    {
       "product_id": 3,
      "quantity": 14
    }
   ]
}

Responses

Code  |  200
{
  "status": "Success",
   "message": "Your transaction has been successfully completed",
  "response": {
    "reference": "Test",
    "delivery_type": "Collection",
     "items": [
        {
          "product_id": 171,
          "quantity": 14
        },
        {
           "product_id": 1479,
          "quantity": 2
        }
     ],
     "order_id": 36753
   },
   "errors": []
}
Please be advised that an appropriate bearer token must be provided to authenticate and process this API call.