Skip to content

Query conflict ChoiceGroup before unavailable (in batch)

Request

  1. Query if there is any rule-violated ChoiceGroup when unavailable a Spu with linkage.

Rate limit: 50 QPS by appId dimension.

Bodyapplication/jsonrequired
shopIdinteger, (int64)required

store id in KeeTa

Example:25381
spuIdListArray of integers, (int64)required

spuId list

Example:
[ 1, 2, 3 ]
curl -i -X POST \
  https://open.mykeeta.com/api/open/product/spu/batchcheck \
  -H 'Content-Type: application/json' \
  -d '{
    "shopId": 25381,
    "spuIdList": [
      1,
      2,
      3
    ]
  }'

Responses

Conflict check result.

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"
dataArray of objects(ConflictGroup)

conflict group data model

errorListArray of objects(ErrorSpu)

failed Spu information

Response
{ "code": 0, "message": "Success", "data": [ { … } ], "errorList": [ { … } ] }