抖音开放平台Logo
开发者文档
控制台
  • 接入前准备
  • 通用能力
  • 餐饮
  • 到店餐饮团购解决方案
  • 餐饮在线点单解决方案
  • 门店接单信息设置
  • 点单相关商品查询
  • 加料品查询
  • 加料品门店沽清查询
  • 查询团购绑定点单信息
  • 点单品查询
  • 商品门店维度信息查询
  • 点单标品查询
  • 在线点单交易能力
  • 点单相关商品发布
  • 商品查询
  • 商家账单明细
  • 随心团解决方案
  • 大交通
  • 酒旅
  • 综合
  • 历史版本文档(不推荐)
  • 接口说明

    • 查询点单品信息

    基本信息

    名称描述
    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 状态码错误码错误码描述排查建议
    2002100001
    未知错误
    重试接口,重试3次仍报错联系抖音生活服务技术支持
    2002100004
    系统繁忙,此时请开发者稍候再试
    重试接口,重试3次仍报错联系抖音生活服务技术支持
    2002100005
    参数不合法
    更换参数
    2002190002
    access_token无效
    调用接口重新生成access_token
    2002190004
    应用未获得该能力, 请去https://open.douyin.com/申请
    应用申请接口权限
    2002190008
    access_token过期,请刷新或重新授权
    规范token刷新机制,检查是否有测试环境在同步刷新token
    2002119001
    参数不合法
    更换参数
    2002119002
    系统繁忙,请稍候再试
    重试
    2002119003
    请求太过频繁,请稍后再试
    重试
    2002119005
    应用未获商家授权
    联系合作商家在商家后台发起授权,并在服务商后台同意授权
    2003000001
    根据实际业务错误返回
    对照接口文档规范参数并重试
    2005000001
    根据实际业务错误返回
    联系抖音处理
    2005000001
    服务器打瞌睡了,请稍后再试。
    2003000001
    以实际错误信息为准