# Get Store Details

This endpoint allows developer to request comprehensive store details, including:
1. **Store Name**
2. **Store Images**: Includes both **effective images** (currently displayed) and **images in process** (pending approval)
3. **Address Information**
4. **Geolocation Data**: Latitude and longitude values
5. **Business Categories**: the **primary business classification system** for stores registered by merchants on the Keeta platform, structured into two tiers: **Primary category** (main business focus) and **Secondary categories** (supplementary services)
6. **Store Contact Phone Numbers**
7. **Store Status**
8. **Store Business Hours**

Endpoint: POST /scm/shop/base/get
Version: v.1.0.0

## Request fields (application/json):

  - `shopId` (integer, required)
    Unique identifier of the Keeta store
    Example: 466663

## Response 200:

  - `200` (unknown)
    Successful returns store details.

## Response 200 fields (application/json):

  - `code` (integer, required)
    A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
    Example: 0

  - `message` (string, required)
    Text description corresponding to the status code, explaining the operation result or error cause to users.
    Example: Success

  - `data` (object)

  - `data.shopId` (integer)
    Unique identifier of the Keeta store
    Example: 466663

  - `data.availableForOrder` (boolean)
    Is the store able to accept orders? If false is returned, it means the store cannot accept orders; if true is returned, it means the store can accept orders.
    Example: true

  - `data.name` (string)
    The official display name of the specific branch location.

  - `data.enName` (string)
    The official display name in English of the specific branch location.

  - `data.mainPictures` (array)
    The store primary image list includes both effective (approved) and in-process (pending/rejected) images. When no in-process images exist, only effective images are returned.
**Primary Use Cases:**
- Search result pages
- Homepage recommendations
- Store header banners
- All merchant visibility scenarios

  - `data.mainPictures.url` (string)
    Image URL
    Example: http://img-ap-hongkong.mykeeta.net/sailorproduct/59903319d53a2fa1e704d2a2aa3416cbb167763.jpg

  - `data.mainPictures.status` (integer)
    After uploading images to the Keeta platform, all visual assets must undergo mandatory content review before becoming available for use. The system maintains clear status indicators throughout this verification process:
    Example: 60

  - `data.mainPictures.rejectReason` (string)
    The reason why the image was rejected
    Example: The reason why the image was rejected

  - `data.logoUrl` (string)
    The logo image will be displayed as the profile avatar on store page and merchant profile cards.
    Example: http://img-ap-hongkong.mykeeta.net/sailorproduct/a1232319d53a2fa1e704d2a2ea016cbb167763.jpg

  - `data.address` (string)
    Store address
    Example: 新界屯門時代廣場南翼3樓25號舖

  - `data.enAddress` (string)
    Store address in English
    Example: Times Square South Wing, 3/F, Shop 25, Tuen Mun, New Territories

  - `data.longitude` (number)
    Longitude coordinate
    Example: 113.9758571

  - `data.latitude` (number)
    Latitude coordinate
    Example: 22.3922083

  - `data.primaryCategoryList` (array)
    Primary Business Category consists of three levels

  - `data.primaryCategoryList.id` (integer)
    The unique identifier of a category
    Example: 1004

  - `data.primaryCategoryList.level` (integer)
    Level of the category
    Example: 1

  - `data.primaryCategoryList.name` (string)
    Category name
    Example: Fast Food/Snacks

  - `data.primaryCategoryList.leaf` (integer)
    This field indicates that if the current category level is on the terminal node in Keeta hierarchical category system.
    Example: 0

  - `data.supportCategoryList` (array)
    Secondary Business Category consists of three levels

  - `data.phones` (array)
    List of the store contact phone number

  - `data.status` (integer)
    Store status:
    Example: 3

  - `data.deliveryRestStatus` (integer)
    On top of store overall status, some regions have differentiated store sub-status management: delivery & pickup 
Delivery businese status: indicates whether the store's **delivery** service is available, unavailable, or not enabled
    Example: 1

  - `data.pickupRestStatus` (integer)
    On top of store overall status, some regions have differentiated store sub-status management: delivery & pickup 
Pickup businese status: indicates whether the store's **pickup** (self-collection) service is available, unavailable, or not enabled
    Example: 1

