Skip to content

Adjust order of ShopCategories(in batch)

Request

  • Adjust all ShopCategories' sequence in store.
  • Please make sure openShopCategorySequenceDTOList contains all shopCategory in store, otherwise the interface invoke will be rejected.

Rate limit: 10 QPS by appId dimension.

Bodyapplication/jsonrequired
shopIdinteger, (int64)required

store id in KeeTa

Example:25381
openShopCategorySequenceDTOListArray of objects(OpenShopCategorySequenceDTO)required

ShopCategory target sequence data model

curl -i -X POST \
  https://open.mykeeta.com/api/open/product/shopcategory/batchupdatesequence \
  -H 'Content-Type: application/json' \
  -d '{
    "shopId": 25381,
    "openShopCategorySequenceDTOList": [
      {
        "shopCategoryId": 5675,
        "sequence": 345454657
      }
    ]
  }'

Responses

Request executed successfully

Bodyapplication/json
codeintegerrequired

A numeric status identifier indicating the result of the interface call, used to determine whether the operation executed successfully.

Enum ValueDescription
0

The request was executed successfully.

Non-zero value

The request execution failed. Specific error details can be viewed in the message field.

Example:0
messagestringrequired

Text description corresponding to the status code, explaining the operation result or error cause to users.

Example:"Success"
Response
{ "code": 0, "message": "Success" }