This API provides comprehensive menu management capabilities for Keeta platform integration, including menu synchronization, product status management, and real-time notifications.
- Modify a ShopCategory
Keeta Menu Management API (v.1.0.0)
https://open.mykeeta.com/api/open/
Request
- Only for creating in-store ShopCategory.
- The names of ShopCategory in a store are not allowed to be repeated.
- The maximum "mandatory" ShopCategory number for each store is 1.
- When there is no product available for sale under the ShopCategory (including products offshelf), the ShopCategory will not be displayed on our user APP.
- The number of ShopCategory can not exceed 100.
Rate limit: 10 QPS by appId dimension.
Keeta's menu category ID. Not required for OpenItemCode-based APIs. Required for updates in Keeta ID-based APIs.
Language type of the name field. Supported language enums can be found in Menu Integration Guide
Language type of nameTranslation. Required when nameTranslation is provided.
Source of name translation. When the value equals 1, it indicates that the name translation was provided by the merchant.
Indicates the menu category type:
Enum Value | Description |
---|---|
0 | indicates a regular optional category (customers may skip) |
1 | indicates a required category (customers must select at least one item) |
Brief description of the category in a menu
Language type of description. Required if description exists.
Language type of descriptionTranslation. Required when descriptionTranslation exists.
Source of description translation. When the value equals 1, it indicates that the description translation was provided by the merchant.
Third-party category ID. Mandatory and must be unique in OpenItemCode-based APIs. Optional in Keeta ID-based APIs.
https://open.mykeeta.com/api/open/product/shopcategory/create
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/product/shopcategory/create \
-H 'Content-Type: application/json' \
-d '{
"shopId": 25381,
"shopCategory": {
"id": 12345,
"name": "Happy Meal",
"sourceLanguageType": "en",
"nameTranslation": "開心樂園餐",
"targetLanguageType": "zh-HK",
"nameTranslateType": 1,
"type": 0,
"description": "Happy Meal description",
"descSourceLanguageType": "en",
"descriptionTranslation": "開心樂園餐描述",
"descTargetLanguageType": "zh-HK",
"descriptionTranslateType": 1,
"openItemCode": "SHOP_CATEGORY#10001",
"availableTime": {
"code": 0,
"values": [
"string"
],
"available": [
{
"startTimestamp": 1735660800000,
"endTimestamp": 1736956799000
}
]
}
}
}'
Successful creation.
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": { "id": 12345, "name": "Happy Meal", "sourceLanguageType": "en", "nameTranslation": "開心樂園餐", "targetLanguageType": "zh-HK", "nameTranslateType": 1, "type": 0, "description": "Happy Meal description", "descSourceLanguageType": "en", "descriptionTranslation": "開心樂園餐描述", "descTargetLanguageType": "zh-HK", "descriptionTranslateType": 1, "openItemCode": "SHOP_CATEGORY#10001", "availableTime": { … } } }
Keeta's menu category ID. Not required for OpenItemCode-based APIs. Required for updates in Keeta ID-based APIs.
Language type of the name field. Supported language enums can be found in Menu Integration Guide
Language type of nameTranslation. Required when nameTranslation is provided.
Source of name translation. When the value equals 1, it indicates that the name translation was provided by the merchant.
Indicates the menu category type:
Enum Value | Description |
---|---|
0 | indicates a regular optional category (customers may skip) |
1 | indicates a required category (customers must select at least one item) |
Brief description of the category in a menu
Language type of description. Required if description exists.
Language type of descriptionTranslation. Required when descriptionTranslation exists.
Source of description translation. When the value equals 1, it indicates that the description translation was provided by the merchant.
Third-party category ID. Mandatory and must be unique in OpenItemCode-based APIs. Optional in Keeta ID-based APIs.
https://open.mykeeta.com/api/open/product/shopcategory/update
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/product/shopcategory/update \
-H 'Content-Type: application/json' \
-d '{
"shopId": 25381,
"shopCategory": {
"id": 12345,
"name": "Happy Meal",
"sourceLanguageType": "en",
"nameTranslation": "開心樂園餐",
"targetLanguageType": "zh-HK",
"nameTranslateType": 1,
"type": 0,
"description": "Happy Meal description",
"descSourceLanguageType": "en",
"descriptionTranslation": "開心樂園餐描述",
"descTargetLanguageType": "zh-HK",
"descriptionTranslateType": 1,
"openItemCode": "SHOP_CATEGORY#10001",
"availableTime": {
"code": 0,
"values": [
"string"
],
"available": [
{
"startTimestamp": 1735660800000,
"endTimestamp": 1736956799000
}
]
}
}
}'
Successful update.
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": { "id": 12345, "name": "Happy Meal", "sourceLanguageType": "en", "nameTranslation": "開心樂園餐", "targetLanguageType": "zh-HK", "nameTranslateType": 1, "type": 0, "description": "Happy Meal description", "descSourceLanguageType": "en", "descriptionTranslation": "開心樂園餐描述", "descTargetLanguageType": "zh-HK", "descriptionTranslateType": 1, "openItemCode": "SHOP_CATEGORY#10001", "availableTime": { … } } }
https://open.mykeeta.com/api/open/product/shopcategory/batchdel
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open.mykeeta.com/api/open/product/shopcategory/batchdel \
-H 'Content-Type: application/json' \
-d '{
"shopId": 25381,
"shopCategoryIdList": [
2313,
4342
]
}'
Batch deletion result.
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": [ 0 ], "errorList": [ { … } ] }