logoSellhub
Variants
background
Sellhub Docs
Sellhub Docs
Remove Keys
DELETE
/products/variants/{id}/stock/remove

Authorization

Authorization<token>

In: header

Request Body

application/jsonRequired

An array of serial key objects to remove

serialsRequiredarray<object>

Path Parameters

idRequiredstring

Generic ID path parameter

curl -X DELETE "https://dash.sellhub.cx/api/sellhub/products/variants/<string>/stock/remove" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "serials": [
      {
        "key": "XXXX-YYYY-ZZZZ"
      }
    ]
  }'

Variant keys removed successfully

{
  "message": "Variant keys removed successfully."
}