This API provides comprehensive store management capabilities for Keeta platform integration.
Keeta Store Management API (v.1.0.0)
https://open.mykeeta.com/api/open/
Request
This endpoint allows developer to request comprehensive store details, including:
- Store Name
- Store Images: Includes both effective images (currently displayed) and images in process (pending approval)
- Address Information
- Geolocation Data: Latitude and longitude values
- 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)
- Store Contact Phone Numbers
- Store Status
- Store Business Hours
https://open.mykeeta.com/api/open/scm/shop/base/get
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/base/get \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663
}'
Successful returns store details.
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
Text description corresponding to the status code, explaining the operation result or error cause to users.
{ "code": 0, "message": "Success", "data": { "shopId": 466663, "name": "string", "enName": "string", "mainPictures": [ … ], "logoUrl": "http://img-ap-hongkong.mykeeta.net/sailorproduct/a1232319d53a2fa1e704d2a2ea016cbb167763.jpg", "address": "新界屯門時代廣場南翼3樓25號舖", "enAddress": "Times Square South Wing, 3/F, Shop 25, Tuen Mun, New Territories", "longitude": 113.9758571, "latitude": 22.3922083, "primaryCategoryList": [ … ], "supportCategoryList": [ … ], "phones": [ … ], "status": 3 } }
Request
Update Store Profile Image
Notes:
- Image Usage Scenarios Images are displayed in store exposure contexts including search results pages, homepage recommendations, and store header banners to increase user visibility.
- Technical Specifications Images must exceed 900×900 pixels in dimension and be under 5MB in file size. Note: This endpoint performs no format validation - callers must ensure compliance.
- Content Requirements Images should represent store quality and characteristics, featuring either high-quality signature dishes or brand logos (for locally renowned establishments).
- URL Format Rules Image URLs must begin with http:// or https:// and end with .jpg, .png, .jpeg, or .webp extensions.
- Approval Workflow Changes don't take effect immediately after API call; all modifications require approval review before activation.
- Duplicate Call Restriction Keeta rejects duplicate requests when images are in "Pending Review" status.
https://open.mykeeta.com/api/open/scm/shop/picture/main/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/picture/main/update \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663,
"pictureUrl": "https://img-ap-hongkong.mykeeta.net/sailorproduct/9c760595674b395e330cf967hj430119511.jpg"
}'
Request executed successfully
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
{ "code": 0, "message": "Success" }
Request
This endpoint allows updating a store's contact phone numbers.
Notes:
- The updated contact numbers will be displayed on the Keeta app to facilitate customer communication with the merchant.
- The interface validates phone number quantity (Minimum: 1 phone number, Maximum: 3 phone numbers)
- Phone numbers must follow the strict format: International Area Code - Mobile Number (e.g., 86-13800138000)
https://open.mykeeta.com/api/open/scm/shop/contact/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/contact/update \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663,
"phones": [
"852-12345678",
"86-18700121234"
]
}'
Request executed successfully
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
{ "code": 0, "message": "Success" }
https://open.mykeeta.com/api/open/scm/shop/business/hour/effective/get
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/business/hour/effective/get \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663
}'
Successful returns business hours.
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
Text description corresponding to the status code, explaining the operation result or error cause to users.
Merchant's business hours, returned as a map structure. Keys represent days of the week (e.g., "mon", "tue", "wed", "thu", "fri", "sat", "sun"). Values are the business hours for each day.
{ "code": 0, "message": "Success", "data": { "mon": [ … ], "tue": [ … ], "wed": [ … ], "thu": [ … ], "fri": [ … ], "sat": [ … ], "sun": [ … ] } }
Merchant's business hours, performed as a map structure. Keys represent days of the week (e.g., "mon", "tue", "wed", "thu", "fri", "sat", "sun"). Values are the business hours for each day.
https://open.mykeeta.com/api/open/scm/shop/business/hour/effective/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/business/hour/effective/update \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663,
"businessHourOfTheWeek": {
"mon": [
{
"startTime": 3000,
"endTime": 17400
}
],
"tue": [
{
"startTime": 3000,
"endTime": 17400
}
],
"wed": [
{
"startTime": 3000,
"endTime": 17400
}
],
"thu": [
{
"startTime": 3000,
"endTime": 17400
}
],
"fri": [
{
"startTime": 3000,
"endTime": 17400
}
],
"sat": [
{
"startTime": 3000,
"endTime": 17400
}
],
"sun": [
{
"startTime": 0,
"endTime": 0
}
]
}
}'
Request executed successfully
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
{ "code": 0, "message": "Success" }
https://open.mykeeta.com/api/open/scm/shop/status/rest
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/status/rest \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663
}'
Request executed successfully
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
{ "code": 0, "message": "Success" }
https://open.mykeeta.com/api/open/scm/shop/status/open
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/status/open \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663
}'
Request executed successfully
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
{ "code": 0, "message": "Success" }
Request
This endpoint retrieves a store's currently active special business hours, which temporarily override regular operating hours for specific dates (e.g., holidays, events).
Notes:
- Special business hours refer to temporarily adjusted operating schedules for stores on specific dates, such as holidays, special events, or operational changes that differ from regular weekly hours
- When configured, these hours automatically override standard schedules during their effective period and seamlessly revert to normal hours after expiration without manual intervention, ensuring continuous and accurate operational information.
https://open.mykeeta.com/api/open/scm/shop/special/business/hour/effective/get
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/special/business/hour/effective/get \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663
}'
Successful returns special business hours.
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
Text description corresponding to the status code, explaining the operation result or error cause to users.
{ "code": 0, "message": "Success", "data": [ { … } ] }
Request
This endpoint updates a store's special business hours, enforcing non-overlapping date ranges and supporting full-day closures or complete configuration clearance.
Notes:
- Multiple SpecialBusinessHourDTO entries must have non-overlapping date ranges (startDate to endDate) to prevent scheduling conflicts and ensure operational clarity.
- To indicate 24-hour closure during a period, submit one SpecialBusinessHourDTO with startTime=0 and endTime=0.
- To completely clear all special business hours configurations, set the specialBusinessHour field to either null or an empty array [] in your request payload.
Special business hours list
Start date timestamp (milliseconds) for 00:00:00.000 of the day timestamp example: 1690214400000 (2023-07-24 00:00:00 UTC)
End date timestamp (milliseconds) for 23:59:59.999 of the day timestamp example: 1690646399999 (2023-07-28 23:59:59.999 UTC)
Operating hours during [startDate, endDate] period Full-day closure: Single DTO with startTime=0 and endTime=0
Start time of business period in seconds:
- Range: 0 (midnight) to 86400 (next midnight)
- For full-day closure: Set to 0 along with endTime=0
- Time periods must not overlap within the same day
https://open.mykeeta.com/api/open/scm/shop/special/business/hour/effective/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/scm/shop/special/business/hour/effective/update \
-H 'Content-Type: application/json' \
-d '{
"shopId": 466663,
"specialBusinessHour": [
{
"startDate": 1690214400000,
"endDate": 1690646399999,
"businessHour": [
{
"startTime": 27000,
"endTime": 28000
}
]
}
]
}'
Request executed successfully
A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.
Enum Value | Description |
---|---|
0 | The request was executed successfully. |
Non-zero value | The request execution failed. Specific error details can be viewed in the message field. |
{ "code": 0, "message": "Success" }