Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Delete variant warehouse stock

Removes the stock record for a variant in a specific warehouse. The warehouse itself is not deleted, only the stock association.

DELETE/api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/stock/{warehouse_slug}
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
product_idstringrequired

Product ID

variant_idstringrequired

Variant ID

warehouse_slugstringrequired

Warehouse slug

app_slugstringrequired

App slug

team_slugstringrequired

Team slug

Responses
200

Warehouse stock deleted

datastringrequired
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request (e.g. bad UUID, validation error)

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.enad.io/api/v1/string/string/products/string/variants/string/stock/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json'
Response
{
  "data": "string",
  "details": [
    "string"
  ],
  "success": true
}