Set Product On/Off Shelf (Batch)
Set one or multiple products on or off shelf. Requires login.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Body Params application/x-www-form-urlencodedRequired
Request Code Samples
curl --location '/api.php?API=biz%2Fproduct%2Fproduct%2Fbatch_status' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'CLIENT_API=' \
--data-urlencode 'CLIENT_API=BIZ' \
--data-urlencode 'openid=' \
--data-urlencode 'openid={{openid}}' \
--data-urlencode 'data={"product_ids":[2535],"status":0}'
Responses
{
"error": "0",
"message": "success"
}
Modified at 2026-04-14 03:43:47