Query Single Store

Last Updated on : 2023-06-15 05:50:53

Query the information about a specified store.

API address

GET: /v1.0/iot-03/retail/shops/{shop_id}

Request parameter

Parameter name Type IN Required Description
shop_id String uri true The ID of a specified store.

Return parameter

Parameter name Type Description
result ShopRes

Description of result

Parameter name Type Description
shop_id String The ID of a specified store.
parent_shop_id String The ID of a specified parent store.
shop_name String The name of a specified store.
province_code Integer The code of a specified province.
province_name String The name of a specified province.
city_code Integer The code of a specified city.
city_name String The name of a specified city.
district_code Integer The code of a specified district.
district_name String The name of a specified district.
address String The detailed address.
business_hours List The list of business hours.
shop_layout_plan String The layout plan of a specified store.

Description of business_hours

Parameter name Type Description
opening_time Long The opening time.
closing_time Long The closing time.

Request example

GET: /v1.0/iot-03/retail/shops/1405092931026604***

Return example

{ "result": { "address": "xxx Center", "city_code": 130200, "province_code": 130000, "shop_name": "xxx Store 2", "province_name": "Hebei Province", "district_name": "Lunan District", "shop_id": "1405092931026604***", "city_name": "xxx City", "district_code": 130202 }, "t": 1623837257601, "success": true }

Error code

For more information, see error code.

Description of province_code, city_code, and district_code

For more information about Chinese cities, see Administrative Division Code of the People’s Republic of China.