Remove the minimum-stock rule of an article (tenant:stock:write)
DELETE /api/trade/v1/stock/{articleId}/rule
Module: Trade · operationId: deleteStockRule · Tag: Stock · Auth: access token (Authorization: Bearer <accessToken>)
Removes the rule; the article no longer counts as below its minimum. A missing rule is not an error.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
warehouseId |
query | string | Only the default warehouse exists; another value is answered 422. |
|
articleId |
path | string | yes | Masterdata product id of the article. |
Responses
- 204 Removed
- 401 No valid session or bearer token (no body).
- 403 Missing permission, no active tenant in the token, or a missing CSRF token on a cookie write. (
application/json) - 422 The input is not valid for the stored data. (
application/json)
Example request
curl -X DELETE 'https://api.mbcom.cloud/api/trade/v1/stock/string/rule' \
-H "Authorization: Bearer $ACCESS_TOKEN"