China procurement, global delivery, the way to your business success

English \ العربية \ русский язык

China procurement, global delivery, the way to your business success

English \ العربية \ русский язык

Services Introduction:
This document describes the integration points available to clients via the www.shopv.com API, which makes shipping data available for syncing the client system with the www.shopv.com system.
Interface Address:
https://api.shopv.com/sku-info
Request Method:
GET
Request Parameters (header):
Request Parameters (urlParam):
Request Example:
                        
<?php
    $ch = curl_init();
    $url = 'https://api.shopv.com/sku-info?package_number=CNSTORM-20150301-00001&tracking_number=NO100001&shipping_method=SF';
    $header = array(
            'apikey: your apikey',
    );
    // Add apikey to header
    curl_setopt($ch, CURLOPT_HTTPHEADER  , $header);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    // HTTP request
    curl_setopt($ch , CURLOPT_URL , $url);
    $res = curl_exec($ch);

    var_dump(json_decode($res));
?>
                        
                    
JSON Returns Example:
                        
{
    "code": 0,
    "msg": "success",
    "data": {
        "package_number": "CNSTORM-20150301-00001",
        "tracking_number": "NO100001",
        "shipping_method": "SF",
        "quantity": "8",
        "info": "[
        {\"sku\":\"sku-iv-1\",\"product_name\":\"shirt\",\"product_url\":\"https:\\/\\/item.taobao.com\\/item.htm?spm=a1z10.1-c.w5003-10229753858.1.9rA5ew&id=524430044755&scene=taobao_shop\",\"color\":\"Red Pansy\",\"size\":\"XS\",\"price\":10,\"supplier\":\"taobao\",\"quantity\":1},
        {\"sku\":\"sku-iv-2\",\"product_name\":\"shirt\",\"product_url\":\"https:\\/\\/item.taobao.com\\/item.htm?spm=a1z10.33-c.w4002-12426177414.14.bqhm4D&id=39906160111\",\"color\":\"Pansy\",\"size\":\"XS\",\"price\":180,\"supplier\":\"taobao\",\"quantity\":2},
        {\"sku\":\"sku-iv-3\",\"product_name\":\"shirt\",\"product_url\":\"https:\\/\\/item.taobao.com\\/item.htm?spm=a1z10.33-c.w4002-12426177414.14.bqhm4D&id=39906160111\",\"color\":\"Green Pansy\",\"size\":\"XS\",\"price\":190,\"supplier\":\"whoolala\",\"quantity\":5}
        ]",
        "remark": "",
        "date_added": "2016-02-18 19:40:56",
        "date_modified": "0000-00-00 00:00:00",
        "package_status": "0",
        "shelf_number": ""
    }
}
                        
                    
Remark:

package_status: current package's state

0: Processing, Packages are being processed;

1: Received, Packages have been received by shopv;

2: Problem, Packages-received don't match the packing list information which was offered by the customer or by the supplier;

Error Messages: