淘宝/天猫获取购买到的商品订单列表

128 阅读7分钟

buyer_order_list-获取购买到的商品订单列表  前往注册开通测试

onebound.taobao.buyer_order_list

公共参数

名称类型必须描述
keyString调用key(必须以GET方式拼接在URL中)
secretString调用密钥
api_nameStringAPI接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等]
cacheString[yes,no]默认yes,将调用缓存的数据,速度比较快
result_typeString[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读
langString[cn,en,ru]翻译语言,默认cn简体中文
versionStringAPI版本

请求参数

请求参数:page=1&tab_code=all&token=通过我们的插件获取

参数说明:page:页码
tab_code:all,waitPay,waitSend,waitConfirm,waitRate
-标签类型(全部,待付款,待发货,待确认,待评价)
token:SaaS授权

响应参数

Version: Date:

名称类型必须示例值描述
order_idBigint0订单ID
shop_nameString0店铺名称
seller_idBigint0卖家ID
seller_nickString0卖家昵称
goodsMix0商品列表

请求示例

	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/taobao/buyer_order_list/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&page=1&tab_code=all"

响应示例

	"items": {
		"item": [
			{
				"order_id": "1676683272457491778",
				"createDay": "",
				"shop_name": "konka康佳十星专卖店",
				"seller_id": "2208772006571",
				"seller_nick": "konka康佳十星专卖店",
				"goods": [
					{
						"goods_name": "康佳按摩器筋膜枪肌肉品牌专业级",
						"goods_id": "637193134273",
						"goods_image": "//img.alicdn.com/imgextra/i4/2208772006571/O1CN01qGRQuc1yPZHwfA2UN_!!2208772006571.jpg",
						"unit_price": "¥169.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "高端【虎年礼盒款-灰】12800转+10H续航+99挡+8头切换+液晶显屏"
					},
					{
						"goods_name": "保险服务",
						"goods_id": "0",
						"goods_image": "",
						"unit_price": null,
						"original_price": null,
						"goods_count": null,
						"goods_info": null
					}
				],
				"total_price": "¥109.00",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "1650531793557491778",
				"createDay": "",
				"shop_name": "闪耀数码笔记本电池",
				"seller_id": "68952783",
				"seller_nick": "香香lvoe",
				"goods": [
					{
						"goods_name": "原装戴尔灵越inspiron 7590 7591 6GTPY 97WH 笔记本电池",
						"goods_id": "681186685496",
						"goods_image": "//img.alicdn.com/imgextra/i3/68952783/O1CN01qeyVHe1WQf1gHsWnh_!!68952783.png",
						"unit_price": "¥208.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "黑色"
					}
				],
				"total_price": "¥208.00",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			
			{
				"order_id": "2210092416060491778",
				"createDay": "",
				"shop_name": "健来乐大药房旗舰店",
				"seller_id": "2207327924520",
				"seller_nick": "健来乐大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得 脑塞通丸 7.5g*10丸/盒",
						"goods_id": "644718374960",
						"goods_image": "//img.alicdn.com/imgextra/i4/2207327924520/O1CN011gqQS01jGCvejknaf_!!0-item_pic.jpg",
						"unit_price": "¥31.70",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥36.70",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211345145674491778",
				"createDay": "",
				"shop_name": "浩霖泽大药房旗舰店",
				"seller_id": "2207588750701",
				"seller_nick": "浩霖泽大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得 脑塞通丸 7.5g*10丸/盒",
						"goods_id": "657503894330",
						"goods_image": "//img.alicdn.com/imgextra/i2/2207588750701/O1CN01QoPdap1H36LubSD30_!!0-item_pic.jpg",
						"unit_price": "¥38.90",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥43.90",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2212446171718491778",
				"createDay": "",
				"shop_name": "宏翔大药房旗舰店",
				"seller_id": "2209610901195",
				"seller_nick": "宏翔大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得脑塞通丸 7.5g*10丸/盒脑血栓脑溢血肢体偏瘫手足麻木胶囊脑塞通丸旗舰店正品",
						"goods_id": "655652187641",
						"goods_image": "//img.alicdn.com/imgextra/i2/2209610901195/O1CN01vbl1N11KhM0CqwKby_!!0-item_pic.jpg",
						"unit_price": "¥38.20",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥44.20",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2212437783660491778",
				"createDay": "",
				"shop_name": "迪沙大药房旗舰店",
				"seller_id": "2210473875793",
				"seller_nick": "迪沙大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得 脑塞通 丸 7.5g*10丸 活血化瘀",
						"goods_id": "655854469556",
						"goods_image": "//img.alicdn.com/imgextra/i3/2210473875793/O1CN01eSzzbx1sfF7GAv412_!!0-item_pic.jpg",
						"unit_price": "¥36.58",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥36.58",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211342085284491778",
				"createDay": "",
				"shop_name": "安泰大药房旗舰店",
				"seller_id": "3918478277",
				"seller_nick": "安泰大药房旗舰店",
				"goods": [
					{
						"goods_name": "3盒顺丰包邮】摩美得脑塞通丸7.5g*10丸/盒脑血栓脑溢血后遗症肢体偏瘫手足麻木语言障碍",
						"goods_id": "651841068810",
						"goods_image": "//img.alicdn.com/imgextra/i3/3918478277/O1CN01VRLOh62B0ux0gMfrT_!!0-item_pic.jpg",
						"unit_price": "¥38.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥43.00",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211343093322491778",
				"createDay": "",
				"shop_name": "东门大药房旗舰店",
				"seller_id": "2210305688632",
				"seller_nick": "东门大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得 脑塞通丸 7.5g*10丸 活血化瘀 通经活络 益气养阴 脑血栓 脑溢血后遗症 手足麻木 语言障碍",
						"goods_id": "645832191567",
						"goods_image": "//img.alicdn.com/imgextra/i2/2210305688632/O1CN01RlQvgc2DdVXruA463_!!0-item_pic.jpg",
						"unit_price": "¥35.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥35.00",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211636638323491778",
				"createDay": "",
				"shop_name": "润莱大药房旗舰店",
				"seller_id": "2206411677378",
				"seller_nick": "润莱大药房旗舰店",
				"goods": [
					{
						"goods_name": "多盒优惠】摩美得 脑塞通丸7.5g*10丸/盒 活血化瘀通经活络 肢体偏瘫  益气养阴脑血栓脑溢血后遗症手足麻木",
						"goods_id": "643404547154",
						"goods_image": "//img.alicdn.com/imgextra/i2/2206411677378/O1CN01lH6Oac24NAqgaMmLs_!!0-item_pic.jpg",
						"unit_price": "¥31.90",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥37.90",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211639410379491778",
				"createDay": "",
				"shop_name": "国一堂大药房旗舰店",
				"seller_id": "3346149911",
				"seller_nick": "国一堂大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得 脑塞通丸 7.5g*10丸/盒 活血化瘀 通经活络 益气养阴 脑血栓 脑溢血(新老包装替换)",
						"goods_id": "629547723226",
						"goods_image": "//img.alicdn.com/imgextra/i1/3346149911/O1CN01qcdPY02N5I2KOvDJ8_!!0-item_pic.jpg",
						"unit_price": "¥40.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥44.80",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211323077719491778",
				"createDay": "",
				"shop_name": "本草居大药房旗舰店",
				"seller_id": "2209556298037",
				"seller_nick": "本草居大药房旗舰店",
				"goods": [
					{
						"goods_name": "脑塞通丸 7.5g*10丸/盒 活血化瘀 通经活络 益气养阴 脑血栓 脑溢血后遗症 手足麻木 语言障碍",
						"goods_id": "634062402974",
						"goods_image": "//img.alicdn.com/imgextra/i2/2209556298037/O1CN01Rn43By29EzsKfGAL4_!!0-item_pic.jpg",
						"unit_price": "¥38.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥38.00",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211633938207491778",
				"createDay": "",
				"shop_name": "千颂堂大药房旗舰店",
				"seller_id": "2209144028871",
				"seller_nick": "千颂堂大药房旗舰店",
				"goods": [
					{
						"goods_name": "摩美得 脑塞通丸 7.5g*10丸/盒语言障碍中风中经络手足麻木活血化瘀脑血栓通经活络眩晕肢体偏瘫",
						"goods_id": "651964339257",
						"goods_image": "//img.alicdn.com/imgextra/i1/2209144028871/O1CN01vvPAW32FOyCfNEAUW_!!2209144028871-0-picasso.jpg",
						"unit_price": "¥38.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥42.86",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2211626630526491778",
				"createDay": "",
				"shop_name": "康泽大药房旗舰店",
				"seller_id": "1992813912",
				"seller_nick": "康泽大药房旗舰店",
				"goods": [
					{
						"goods_name": "包邮】摩美得 脑塞通丸 7.5g*10丸/盒活血化瘀 通经活络 益气养阴 脑血栓 脑溢血后遗症陕西摩美得气血和制药",
						"goods_id": "631861095466",
						"goods_image": "//img.alicdn.com/imgextra/i1/1992813912/O1CN01BO2jEl1elk2oxtob0_!!0-item_pic.jpg",
						"unit_price": "¥48.00",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥48.00",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			},
			{
				"order_id": "2212425903500491778",
				"createDay": "",
				"shop_name": "叮当智慧大药房旗舰店",
				"seller_id": "2200621593593",
				"seller_nick": "叮当智慧大药房旗舰店",
				"goods": [
					{
						"goods_name": "下单立减】摩美得 脑塞通丸 7.5g*10丸/盒 脑溢血脑血栓 活血化瘀 通经活络手足麻木语言障碍肢体偏瘫脑血栓",
						"goods_id": "625238026672",
						"goods_image": "//img.alicdn.com/imgextra/i1/2200621593593/O1CN01nbVWlX1cPdluLcgMD_!!0-item_pic.jpg",
						"unit_price": "¥36.20",
						"original_price": null,
						"goods_count": "1",
						"goods_info": "标准装"
					}
				],
				"total_price": "¥42.20",
				"freight": null,
				"trading_status": "交易成功",
				"countdown": null
			}
		],
		"page": "1",
		"total_page": "38",
		"page_size": "15"
	},
	"error": "",
	"reason": "",
	"error_code": "0000",
	"cache": 0,
	"api_info": "today:57 max:10000 all[192=57+84+51];expires:2030-12-31",
	"execution_time": "0.937",
	"server_time": "Beijing/2022-10-11 13:14:07",
	"client_ip": "106.6.34.98",
	"call_args": {
		"page": "1",
		"tab_code": "all"
	},
	"api_type": "taobao",
	"translate_language": "zh-CN",
	"translate_engine": "google_new",
	"server_memory": "1.04MB",
	"request_id": "gw-4.6344fb9ea2141",
	"last_id": "1275301323"
}

异常示例相关资料错误码解释

状态代码(error_code)状态信息详细描述是否收费
0000success接口调用成功并返回相关数据
2000Search success but no result接口访问成功,但是搜索没有结果
4000Server internal error服务器内部错误
4001Network error网络错误
4002Target server error目标服务器错误
4003Param error用户输入参数错误忽略
4004Account not found用户帐号不存在忽略
4005Invalid authentication credentials授权失败忽略
4006API stopped您的当前API已停用忽略
4007Account stopped您的账户已停用忽略
4008API rate limit exceeded并发已达上限忽略
4009API maintenanceAPI维护中忽略
4010API not found with these valuesAPI不存在忽略
4012Please add api first请先添加api忽略
4013Number of calls exceeded调用次数超限忽略
4014Missing url param参数缺失忽略
4015Wrong pageToken参数pageToken有误忽略
4016Insufficient balance余额不足忽略
4017timeout error请求超时
5000unknown error未知错误