(老版本)多门店SPU信息查询
请求地址
GET /poi/v2/spu/get/
请求头
- Content-Type: application/json
- access-token: 调用/oauth/client_token/生成的 token,此 token 不需要用户授权。示例: clt.943da17996fb5cebfbc70c044c3fc25a57T54DcjT6HNKGqnUdxzy1KcxFnZ
请求参数
URL 请求
参数名称 | 参数类型 | 参数描述 | 参数示例 | 是否必填 |
---|
暂无数据
响应参数
参数名称 | 参数类型 | 参数描述 | 参数示例 | 是否必填 |
---|
暂无数据
响应样例
{ "data": { "description": "", "error_code": "0", "spu_detail": { "attribute": { "101": { "amend": { "cancel_amend": { "type": "<nil>" }, "extra": "<nil>" }, "area": "<nil>", "bed_name": "2*1.5米大床1张+2*1.2米单人床1张", "breakfast": "<nil>", "expense": { "breakfast": { "price": "<nil>", "type": "<nil>" }, "extra": "<nil>", "extra_bed": { "price": "<nil>", "type": "<nil>" } }, "facility": [ { "code": "<nil>", "name": "<nil>" } ], "fit_num": "<nil>", "floor": { "end": "<nil>", "start": "<nil>" }, "smoke": "<nil>", "travel_tips": { "check_in_time": "12:00", "check_out_time": "12:00", "extra": "<nil>" }, "view": "海滩景观", "wifi": "<nil>", "window": "<nil>" }, "3001": { "appointment_info": { "appointment_days": "<nil>", "appointment_url": "<nil>", "need_appointment": "<nil>", "order_appointment_detail_url": "传入https://xxxxx,入口链接https://xxxxx?code=123456&open_id=123456" }, "groupon_detail": [ { "content": "<nil>", "type": "<nil>" } ], "groupon_valid_end": "2020-08-01 00:00:00", "groupon_valid_start": "2020-08-01 00:00:00", "notification": [ { "content": "<nil>", "title": "<nil>" } ], "order_limit": "<nil>", "order_valid_end": "2020-08-01 00:00:00", "order_valid_start": "2020-08-01 00:00:00", "service_phone": ["[xxx xxx]"] }, "9001": { "is_confirm_imme": "<nil>", "is_need_pick": "<nil>", "nearest_order_time": { "time": "20200304", "time_type": "<nil>" }, "refund_policy": "<nil>", "ticket_type": "<nil>" }, "9101": { "contact_name": "张三", "discount_price": "<nil>", "groupon_valid_end": "2020-08-01 00:00:00", "groupon_valid_start": "2020-08-01 00:00:00", "market_price": "<nil>", "merchant_name": "xxx公司", "notification": [ { "content": "<nil>", "title": "<nil>" } ], "order_limit": "<nil>", "order_valid_end": "2020-08-01 00:00:00", "order_valid_start": "2020-08-01 00:00:00", "pay_item_groups": [ { "group_name": "<nil>", "item_list": [ { "count": "<nil>", "name": "<nil>", "price": "<nil>" } ] } ], "post_purchase_day": "<nil>", "service_phone": ["[xxx xxx]"], "sub_title": "<nil>", "tag_list": [ { "name": "<nil>", "type": "<nil>" } ], "use_type": "<nil>" } }, "entry_info": { "entry_miniApp": { "app_id": "<nil>", "is_test": "<nil>", "params": "<nil>", "path": "<nil>" }, "entry_type": "<nil>", "entry_url": "<nil>" }, "front_category_tag": ["<nil>"], "highlights": [ { "content": "<nil>", "priority": "<nil>" } ], "image_list": ["[url1 url2]"], "mp_settle_type": "<nil>", "name": "预售券1", "origin_price": "<nil>", "price": "<nil>", "sort_weight": "<nil>", "spu_ext_id": "<nil>", "spu_filter_status": [ { "spu_poi_filter_status": [ { "code": "<nil>", "filter": "<nil>", "poi_id": "12112", "reason": "<nil>" } ], "supplier_id": "<nil>" } ], "spu_id": "<nil>", "spu_type": "<nil>", "status": "<nil>", "status_desc": "<nil>", "stock": "<nil>", "supplier_ext_id_list": ["[y0001 y0002]"], "take_rate": "100,表示费率万分之一百,即1%" }, "spu_draft": [ { "attribute": { "101": { "amend": { "cancel_amend": { "type": "<nil>" }, "extra": "<nil>" }, "area": "<nil>", "bed_name": "2*1.5米大床1张+2*1.2米单人床1张", "breakfast": "<nil>", "expense": { "breakfast": { "price": "<nil>", "type": "<nil>" }, "extra": "<nil>", "extra_bed": { "price": "<nil>", "type": "<nil>" } }, "facility": [ { "code": "<nil>", "name": "<nil>" } ], "fit_num": "<nil>", "floor": { "end": "<nil>", "start": "<nil>" }, "smoke": "<nil>", "travel_tips": { "check_in_time": "12:00", "check_out_time": "12:00", "extra": "<nil>" }, "view": "海滩景观", "wifi": "<nil>", "window": "<nil>" }, "3001": { "appointment_info": { "appointment_days": "<nil>", "appointment_url": "<nil>", "need_appointment": "<nil>", "order_appointment_detail_url": "传入https://xxxxx,入口链接https://xxxxx?code=123456&open_id=123456" }, "groupon_detail": [ { "content": "<nil>", "type": "<nil>" } ], "groupon_valid_end": "2020-08-01 00:00:00", "groupon_valid_start": "2020-08-01 00:00:00", "notification": [ { "content": "<nil>", "title": "<nil>" } ], "order_limit": "<nil>", "order_valid_end": "2020-08-01 00:00:00", "order_valid_start": "2020-08-01 00:00:00", "service_phone": ["[xxx xxx]"] }, "9001": { "is_confirm_imme": "<nil>", "is_need_pick": "<nil>", "nearest_order_time": { "time": "20200304", "time_type": "<nil>" }, "refund_policy": "<nil>", "ticket_type": "<nil>" }, "9101": { "contact_name": "张三", "discount_price": "<nil>", "groupon_valid_end": "2020-08-01 00:00:00", "groupon_valid_start": "2020-08-01 00:00:00", "market_price": "<nil>", "merchant_name": "xxx公司", "notification": [ { "content": "<nil>", "title": "<nil>" } ], "order_limit": "<nil>", "order_valid_end": "2020-08-01 00:00:00", "order_valid_start": "2020-08-01 00:00:00", "pay_item_groups": [ { "group_name": "<nil>", "item_list": [ { "count": "<nil>", "name": "<nil>", "price": "<nil>" } ] } ], "post_purchase_day": "<nil>", "service_phone": ["[xxx xxx]"], "sub_title": "<nil>", "tag_list": [ { "name": "<nil>", "type": "<nil>" } ], "use_type": "<nil>" } }, "entry_info": { "entry_miniApp": { "app_id": "<nil>", "is_test": "<nil>", "params": "<nil>", "path": "<nil>" }, "entry_type": "<nil>", "entry_url": "<nil>" }, "front_category_tag": ["<nil>"], "highlights": [ { "content": "<nil>", "priority": "<nil>" } ], "image_list": ["[url1 url2]"], "mp_settle_type": "<nil>", "name": "预售券1", "origin_price": "<nil>", "price": "<nil>", "sort_weight": "<nil>", "spu_ext_id": "<nil>", "spu_filter_status": [ { "spu_poi_filter_status": [ { "code": "<nil>", "filter": "<nil>", "poi_id": "12112", "reason": "<nil>" } ], "supplier_id": "<nil>" } ], "spu_id": "<nil>", "spu_type": "<nil>", "status": "<nil>", "status_desc": "<nil>", "stock": "<nil>", "supplier_ext_id_list": ["[y0001 y0002]"], "take_rate": "100,表示费率万分之一百,即1%" } ] } }
响应错误样例
{ "data": { "description": "Parameter error", "error_code": 2100005 }, "extra": { "logid": "2020070614111601022506808001045D59", "now": 1594015876138 } }
该文档是否有帮助?