点单品查询
收藏
我的收藏接口说明
- 查询点单品信息
基本信息
名称 | 描述 |
---|---|
HTTP URL | https://open.douyin.com/goodlife/v1/goods/foodorder/product/detail/ |
HTTP Method | GET |
Scope | life.capacity.ordering.goods.query |
权限要求 | 点单相关商品查询 |
请求参数
请求头
access-token必填String
示例:clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
content-type必填String
固定值"application/json"
Query展开全部子属性
account_id必填Int64
来客商户根账户ID
BaseStruct
展开子属性
out_idString
外部商品 id
product_idInt64
抖音商品 id
请求示例
curl --location --request GET 'https://open.douyin.com/goodlife/v1/goods/foodorder/product/detail/?account_id=6781671035914202927&out_id=zhizhiputao \ --header 'content-type: application/json' \ --header 'access-token: 0801121846735352506a356a6' \
响应参数
Body展开全部子属性
BaseResp必填Struct
公共参数
展开子属性
dataStruct
响应数据
展开子属性
extraStruct
响应额外信息
展开子属性
响应示例
正常响应示例异常响应示例
{ "BaseResp": { "StatusCode": 0, "StatusMessage": "" }, "data": { "error_code": 0, "product_online": { "product": { "account_id": 7267130009242847000, "category_id": 1015003, "sale_attr_groups": [ { "group_code": "cup", "group_name": "杯型", "item_list": [ { "item_key": "small_cup", "item_name": "小杯" }, { "item_name": "中杯", "item_key": "mid_cup" }, { "item_key": "big_cup", "item_name": "大杯" } ] }, { "group_code": "sugar", "group_name": "糖", "item_list": [ { "item_key": "zero", "item_name": "0卡糖" }, { "item_key": "seven", "item_name": "七分糖" } ] }, { "group_code": "temperature", "group_name": "温度", "item_list": [ { "item_key": "cold", "item_name": "冷" }, { "item_key": "warm", "item_name": "温" }, { "item_key": "hot", "item_name": "热" } ] } ], "spu_id": 7391430754955397000, "affiliated_groups": [ { "out_affiliated_ids": [ "zzxTest09", "zzx_31" ], "group_name": "小料" } ], "biz_line": 1, "sku_list": [ { "out_sku_id": "12341234", "price": { "actual_amount": 900, "origin_amount": 900 }, "sale_attr_list": [ { "group_code": "cup", "item_key": "mid_cup" }, { "group_code": "sugar", "item_key": "zero" } ], "sku_id": 1804571675007012, "status": 1 }, { "out_sku_id": "123412345", "price": { "actual_amount": 1100, "origin_amount": 1100 }, "sale_attr_list": [ { "group_code": "cup", "item_key": "mid_cup" }, { "group_code": "sugar", "item_key": "seven" } ], "sku_id": 1804571675007028, "status": 1 }, { "sku_id": 1804571675008004, "status": 1, "out_sku_id": "123412346", "price": { "origin_amount": 1300, "actual_amount": 1300 }, "sale_attr_list": [ { "group_code": "cup", "item_key": "big_cup" }, { "group_code": "sugar", "item_key": "zero" } ] }, { "status": 1, "out_sku_id": "123412347", "price": { "actual_amount": 1500, "origin_amount": 1500 }, "sale_attr_list": [ { "group_code": "cup", "item_key": "big_cup" }, { "group_code": "sugar", "item_key": "seven" } ], "sku_id": 1804571675008020 } ], "fulfillment_method": [ 2 ], "images": { "head_image": { "uri": "tos-cn-i-hf2m9xxmck/daeefc0a9bdf48b39571598f9504be2c" } }, "poi_list": [ { "ext_id": "7309443067524679724", "poi_id": 7309443067524680000 } ], "name": "芝芝葡萄「免审」", "out_id": "zhizhiputao", "out_spu_id": "zhizhiputao", "product_id": 1804571674557450, "sold_time": { "end_time": 4102329600, "start_time": 1719665489 } }, "status": 1 }, "description": "" }, "extra": { "error_code": 0, "description": "", "sub_error_code": 0, "sub_description": "", "logid": "202411300150475EFC274C840DA6BA5691", "now": 1732902647 } }
切换单列布局
错误码
HTTP 状态码 | 错误码 | 错误码描述 | 排查建议 |
---|---|---|---|
200 | 2100001 | 未知错误 | 重试接口,重试3次仍报错联系抖音生活服务技术支持 |
200 | 2100004 | 系统繁忙,此时请开发者稍候再试 | 重试接口,重试3次仍报错联系抖音生活服务技术支持 |
200 | 2100005 | 参数不合法 | 更换参数 |
200 | 2190002 | access_token无效 | 调用接口重新生成access_token |
200 | 2190004 | 应用未获得该能力, 请去https://open.douyin.com/申请 | 应用申请接口权限 |
200 | 2190008 | access_token过期,请刷新或重新授权 | 规范token刷新机制,检查是否有测试环境在同步刷新token |
200 | 2119001 | 参数不合法 | 更换参数 |
200 | 2119002 | 系统繁忙,请稍候再试 | 重试 |
200 | 2119003 | 请求太过频繁,请稍后再试 | 重试 |
200 | 2119005 | 应用未获商家授权 | 联系合作商家在商家后台发起授权,并在服务商后台同意授权 |
200 | 3000001 | 根据实际业务错误返回 | 对照接口文档规范参数并重试 |
200 | 5000001 | 根据实际业务错误返回 | 联系抖音处理 |
200 | 5000001 | 服务器打瞌睡了,请稍后再试。 | |
200 | 3000001 | 以实际错误信息为准 |
点击纠错