查询店铺
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/poi/supplier/query/
错误码
HTTP 状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
200 | 2100005 | 参数不合法 | 检查接口问题,检查参数正确性,规范参数格式 |
200 | 2116302 | poi不存在 | 需要先在企业号或抖音来客认领门店 |
200 | 2116306 | 运营审核驳回 | 检查审核资质是否正确重新提交 |
200 | 2116311 | 配送信息不全 | 检查配送信息是否正确 |
200 | 2116100 | 系统内部错误 | 会包含各种业务报错,会在返回信息提示,根据返回信息处理 |
200 | 2116100 | 系统错误,请重试。 | 重试,多次重试仍有问题,请联系该接口提供方 |
200 | 2116303 | 店铺没有匹配到抖音POI | 需要先做门店匹配 |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/poi/supplier/query/' \
--header 'Content-Type: application/json' \
--data-raw '{
"supplier_ext_id": "string"
}'
响应示例响应示例
200 - 示例 1
{
"data": {
"data_detail": {
"address": "string",
"attributes": {
"1101": [
{
"code": "string",
"name": "string"
}
],
"1102": [
{
"code": "string",
"name": "string"
}
],
"1103": [
{
"code": "string",
"name": "string"
}
],
"1104": {
"breakfast": {
"price": "string",
"type": "string"
},
"check_in_time": "string",
"check_out_time": "string",
"child": "string",
"pet": "string"
},
"1105": "string",
"3101": {
"facility": [
{
"name": "string"
}
],
"open_time": "string",
"open_time_ext": [
{
"content": "string",
"node_type": "string"
}
],
"pet": "string",
"play_intro": [
{
"content": "string",
"node_type": "string"
}
],
"preferential_policy": [
{
"condition": "string",
"discount": "string",
"population": "string"
}
],
"preferential_policy_ext": [
{
"content": "string",
"node_type": "string"
}
],
"scenic_intro": [
{
"content": "string",
"node_type": "string"
}
],
"traffic": [
{
"content": "string",
"node_type": "string"
}
]
}
},
"contact_phone": "string",
"contact_tel": "string",
"customer_info": {
"business_license": {
"company": "string",
"ext_id": "string",
"url": "string"
},
"industry_license": [
{
"ext_id": "string",
"url": "string"
}
],
"other_info": [
{
"ext_id": "string",
"url": "string"
}
],
"power_of_attorney": {
"ext_id": "string",
"url": "string"
}
},
"description": "string",
"images": [
"string"
],
"name": "string",
"poi_id": "string",
"poi_info": {
"first_category": "string",
"second_category": "string",
"third_category": "string"
},
"service_provider": {
"business_license_ext_id": "string",
"industry_license_ext_id": [
"string"
]
},
"services": [
{
"enable": "string",
"entry": {
"entry_mini_app": {
"app_id": "string",
"is_test": "string",
"params": "string",
"path": "string"
},
"entry_type": "string"
},
"service_type": "string"
}
],
"status": "string",
"supplier_ext_id": "string",
"type": "string"
},
"description": "string",
"error_code": "string",
"sync_status": {
"fail_reason": "string",
"last_sync_status": "string"
}
}
}
请求参数
Body 参数application/json