Top
Developers Your place to code all things handmade

Welcome to the Shopclues Developer Platform

We believe in code as craft. Join the community of developers, creators and build tools that enrich the ways you can shop, sell and connect with the India's largest merchant base most easily.

Get Started

Register, Upload, Search and Connect

Explore Shopclues' marketplace of over 8.5 million products from over 3.5 lakh merchants. Connect buyers with the items they'll love.

Learn More About Catalog Management

Login, Integrate and Create

Build the best tools for Shopclues merchants. Simply login, Integrate and start developing you own apps.

Learn More About Start Developing
<
>
Jump to: navigation, search

Carrier_API

Introduction

This API use for check your carrier.

Method= GET

Headers

Authorization : “Bearer bc1f461de4f193”
Content-Type : ”application/json”

Description of fields

Field name Description Mandatory
Header - “Authorization” Access token is passed to identify the user. Eg- ”Bearer bc1f461de4f193" Yes
Header - “Content-Type” Input Content Type here it would be “application/json" Yes

  • JSON
  • PHP
Production Url:
http://developer.shopclues.com/api/v1/carrier?order_id=131212969&source_zipcode=600032&shipment_type=3

Sandbox Url:
http://sandbox.shopclues.com/api/v1/carrier?order_id=131212969&source_zipcode=600032&shipment_type=3

Sample Response :

{
    "status": 1,
    "code": 200,
    "message": "Success",
    "data": [
        {
            "carrier_id": "178",
            "carrier_name": "E com-RVP",
            "carrier_label": "E com"
        },
        {
            "carrier_id": "190",
            "carrier_name": "Delhivery - RVP",
            "carrier_label": "Delhivery "
        },
        {
            "carrier_id": "202",
            "carrier_name": "Blue Dart-RVP",
            "carrier_label": "Blue Dart"
        },
        {
            "carrier_id": "217",
            "carrier_name": "NUVO OUTSOURCED RVP",
            "carrier_label": "NUVO OUTSOURCED RVP"
        },
        {
            "carrier_id": "293",
            "carrier_name": "Nuvo- Doorstep-RVP",
            "carrier_label": "Nuvo"
        },
        {
            "carrier_id": "305",
            "carrier_name": "Delcart Outsource RVP",
            "carrier_label": "Delcart Outsource RVP"
        },
        {
            "carrier_id": "357",
            "carrier_name": "Xpressbees-RVP",
            "carrier_label": "Xpressbees"
        }
    ],
    "extra": null
}
Click here for access token documentation.
<?php
$ch = curl_init();
$token="<token>";
curl_setopt($ch, CURLOPT_URL, "http://sandbox.shopclues.com/api/v1/carrier?order_id=131212969&source_zipcode=600032&shipment_type=3");
curl_setopt($ch,CURLOPT_HTTPHEADER,array('Content-Type: application/json',
    'Authorization: Bearer .$token'));
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);

?>
 

Looking for ShopClues Apps?

Check out our new
App Gallery!

It's the best way to find cool and useful tools built upon Shopclues's API.