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

获取订单列表(待发货)


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


接口介绍: 淘宝获取订单列表(待发货)


请求方式: POST


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

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

请求参数

参数 类型 必选 描述
sellerNick string 掌柜号
ps int 每页数
pi int 当前页
startTime string 开始时间
endTime string 结束时间
status string 订单状态 默认 WAIT_SELLER_SEND_GOODS

请求示例

{
"sellerNick": "华为旗舰店",
"ps": 10,
"pl": 1,
"startTime":"2021-3-22"
"endTime":"2021-3-25"
}

请求代码示例

cURL请求代码示例
curl --location --request POST 'http://api.vv-tool.com/tool/accounts/gcso' \
--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": "华为旗舰店",
    "ps": 10,
    "pl": 1,
    startTime:"2021-3-22"
    endTime:"2021-3-25"
}'

PHP请求代码示例

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/gcso',
  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": "华为旗舰店",
    "ps": 10,
    "pl": 1,
    startTime:"2021-3-22"
    endTime:"2021-3-25"
}',
  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    \"ps\": 10,\r\n    \"pl\": 1,\r\n    startTime:\"2021-3-22\"\r\n    endTime:\"2021-3-25\"\r\n}");
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/gcso")
  .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": {
        "withholding_money": 2,
        "post_fee":"0.00",
        "flag":"5",
        "receiver_city":"盐城市",
        "remark":"49",
        "buyer_rate":"false",
        "tid":"1265093007383948097",
        "receiver_state":"江苏省"
        "receiver_name":"~mHsZFiKAb04bYtc7Xwkrmw==~zKNSj5GU~1~~",
        "payment":"229.00",
        "orders2":[
        {
        "refund_status":"NO_REFUND",
        "price":"229.00",
        "num":"1",
        "num_iid":"639142435320",
        "payment":"229.00",
        "sku_properties_name":"颜色分类:黑色;参考身高:160cm",
        "pic_path":"https://img.alicdn.com/bao/uploaded/i2/2200705580764/O1CN01VjbVhm1HVxFs5wUdE_!!2200705580764.jpg",
        "refund_id":"",
        }
        ]
        "sync_error":"*",
        "created":"1616301665000",
        "fahuo_status":0,
        "receiver_district":"盐都区",
        "receiver_town":"新都街道"
        "receiver_mobile":"$/ZHj8bnmS3JmeqqcB6pZnw==$rhemux11clVC2WQ3qJB/FA==$1$$",
        "fahuo_error":"",
        "pay_time":"1616301755000",
        "buyer_nick":"~eVgoOthIaUb3j6d5cvMkhLevUUVEuRBV6d70iOEHR1Q=~bXZopw0wVH8ogJnkhxiTqto5OT1OdwQ6afVHm6Wigr89FJouL28jmb/1E+xwbWV+5w9P~1~~",
        "receiver_address":"新都街道碧桂园凤凰城南苑西区(2−501)",
        "sync_status":1,
        "orders":{
        "refund_status":"NO_REFUND",
        "price":"229.00",
        "num":"1",
        "num_iid":"639142435320",
        "payment":"229.00",
        "sku_properties_name":"颜色分类:黑色;参考身高:160cm",
        "pic_path":"https://img.alicdn.com/bao/uploaded/i2/2200705580764/O1CN01VjbVhm1HVxFs5wUdE_!!2200705580764.jpg",
        "title":"韩国童装男童春秋装外套2021年新款中大童上衣洋气网红时髦韩版潮",
        "refund_id":"*",
        }
        "seller_nick":"陈晨童装店",
        "receiver_phone":"*",
        "status":"WAIT_SELLER_SEND_GOODS"

    }
}

响应代码

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