logoSellhub
Blacklists
background
Sellhub Docs
Sellhub Docs
Update Blacklist Entry
PATCH
/store/blacklists/{id}

Authorization

Authorization<token>

In: header

Request Body

application/jsonRequired

Request body for updating a blacklist entry

valuestring

New blacklisted value

reasonstring

New reason for blacklisting

blacklistTypestring

New type of blacklist entry

Value in: "ip" | "email"

Path Parameters

idRequiredstring

Generic ID path parameter

curl -X PATCH "https://dash.sellhub.cx/api/sellhub/store/blacklists/<string>" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "value": "hi.a@gmail.com",
    "reason": "mobile",
    "blacklistType": "email"
  }'

Blacklist entry updated

{
  "success": true,
  "blacklistId": "blacklist_123"
}