全部
电子面单
物流轨迹
物流发货
在线测试

获取订单信息


接口地址: http://api.vv-tool.com/tool/accounts/gcgo


接口介绍: 淘宝获取订单信息


请求方式: POST


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
sellerNick string 掌柜号
orderNo string 订单号

请求示例

{
"sellerNick": "华为旗舰店",
"orderNo":"1560053271394374458"
}

请求代码示例

cURL请求代码示例
curl --location --request POST 'http://api.vv-tool.com/tool/accounts/gcgo' \
--header 'Authorization: Bearer 777a2d62d6938f7d56a93423632c62850d513d77' \
--header 'Content-Type: application/json' \
--header 'Cookie: __yjs_duid=1_dee3bfba5b90592372d209eda95c772a1616035269331; PHPSESSID=gptvic53o6k9mtu41vtv01jhpk; _csrf=9d99b24e587ae327d41222b64715c62cbf7f26e4dbb1e8b72f5168767948f528a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22w9tj4aF2NGE7agKb2x9d5Q36aRFgNtDJ%22%3B%7D' \
--data-raw '{
    "sellerNick": "华为旗舰店", 
    "orderNo":"1560053271394374458"
}'

PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/gcgo',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "sellerNick": "华为旗舰店", 
    "orderNo":"1560053271394374458"
}',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer 777a2d62d6938f7d56a93423632c62850d513d77',
    'Content-Type: application/json',
    'Cookie: __yjs_duid=1_dee3bfba5b90592372d209eda95c772a1616035269331; PHPSESSID=gptvic53o6k9mtu41vtv01jhpk; _csrf=9d99b24e587ae327d41222b64715c62cbf7f26e4dbb1e8b72f5168767948f528a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22w9tj4aF2NGE7agKb2x9d5Q36aRFgNtDJ%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;


JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\r\n    \"sellerNick\": \"华为旗舰店\", \r\n    \"orderNo\":\"1560053271394374458\"\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/gcgo")
  .method("POST", body)
  .addHeader("Authorization", "Bearer 777a2d62d6938f7d56a93423632c62850d513d77")
  .addHeader("Content-Type", "application/json")
  .addHeader("Cookie", "__yjs_duid=1_dee3bfba5b90592372d209eda95c772a1616035269331; PHPSESSID=gptvic53o6k9mtu41vtv01jhpk; _csrf=9d99b24e587ae327d41222b64715c62cbf7f26e4dbb1e8b72f5168767948f528a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22w9tj4aF2NGE7agKb2x9d5Q36aRFgNtDJ%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
url string url
code int 错误码 0 为成功
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
post_fee string 邮费
flag string 旗帜
receiver_city string 收货人城市
remark string 备注
buyer_rate string 买家率
tid string 订单编号
receiver_state string 收货人省
receiver_name string 收货人名字
payment string 付款
refund_status string 退款状态
price string 价格
num string 商品
num_iid string 商品 ID
sku_properties_name string sku 属性名称
pic_path string 图片地址
title string 标题
refund_id string 已退款
sync_error string 同步错误
created string 创建时间
fahuo_status string 发货状态
receiver_district string 收货区
receiver_town string 收货地点
receiver_mobile string 收货手机
fahuo_error string 发货错误
pay_time string 付款时间
buyer_nick string 卖家名称
seller_nick string 掌柜号
receiver_phone string 卖家手机
withholding_money int 该接口扣费金额(点券)

返回数据

{
    "code": 0,
    "msg": "成功",
    "msec": 1193,
    "time": 1612416107,
    "data":{
            "post_fee":"0.00"
            "flag":"1"
            "receiver_city":"东营市"
            "remark":"hh"
            "buyer_rate":"false"
            "tid":"1264464912462393188"
            "receiver_state":"山东省"
            "receiver_name":"*"
            "payment":"175.00"
            "rders2":[
            {
            "refund_status":"NO_REFUND"
            "price":"175.00"
            "num":"1"
            "num_iid":"640390319221"
            "payment":"175.00"
            "sku_properties_name":"颜色分类:豹纹衬衫套装;参考身高:110码建议身高110cm"
            "pic_path":"https://img.alicdn.com/bao/uploaded/i2/2200705580764/O1CN01iFTo0O1HVxFyGR4lx_!!2200705580764.jpg"
            "title":"韩国男童夏装套装2021新款韩版儿童洋气夏季衬衫短袖帅气两件套潮"
            "refund_id":"*"
            }
            ]
            "sync_error":"*"
            "created":"1616390305000"
            "fahuo_status":0
            "receiver_district":"东营区"
            "receiver_town":"胜园街道"
            "receiver_mobile":"*"
            "fahuo_error":"*"
            "pay_time":"1616390313000"
            "buyer_nick":"*"
            "receiver_address":"胜园街道祁连山路29号"
            "sync_status":1
            "orders":{
            "refund_status":"NO_REFUND"
            "price":"175.00"
            "num":"1"
            "num_iid":"640390319221"
            "payment":"175.00"
            "sku_properties_name":"颜色分类:豹纹衬衫套装;参考身高:110码建议身高110cm"
            "pic_path":"https://img.alicdn.com/bao/uploaded/i2/2200705580764/O1CN01iFTo0O1HVxFyGR4lx_!!2200705580764.jpg"
            "title":"韩国男童夏装套装2021新款韩版儿童洋气夏季衬衫短袖帅气两件套潮"
            "refund_id":"*"
            }
            "seller_nick":"陈晨童装店"
            "receiver_phone":"*"
            "status":"WAIT_BUYER_CONFIRM_GOODS",
						"withholding_money": 2 
}
    }
}

响应代码

代码 代码描述 解决方案
0 成功
100 请求参数错误 检查您的请求参数是否正确
101 请求超时,请重试 检查您的网络情况或者联系客服解决
103 旺旺账号不存在 检查您输入的旺旺号是否正确
200 系统错误,请联系客服 检查您的接口地址填写是否正确,其他问题联系客服解决
202 系统错误,请稍后再试 稍后重试,或者联系对接群
203 暂不支持当前接口
204 请求异常:无该接口权限,请前往官网开通正式接口。 前往官网开通该接口权限
204 请求异常:API 调用次数不足,请前往网站兑换次数。 前往官网充值该接口调用次数
401 身份凭证无效 在请求头中添加 access_token,重新更新 token
404 请求路径或请求方式错误 请更换请求方式或者检查路径是否正确