DELETE /stocks/{stock} Deprecated

Delete Stock

This endpoint allows you to delete a specific Stock.

A stock represents a quantity of material that it is available in a warehouse that can be consumed, moved or added. A stock is always associated with a stock movement.

Operation ID: deleteStock
lock This endpoint requires a Bearer token in the Authorization header.

Path Parameters

Name Type Description
stock required
path
string

The stock ID

Responses

data array
status string
error
error object
http_code integer
401
message string

Example: Authentication token invalid.

more_info string
status string
error
error object
http_code integer
404
message string

Example: Resource not found

more_info string | null
status string
error
error object
http_code integer
429
message string

Example: Too Many Requests.

more_info string
status string
error
error object
http_code integer
500
message string

Example: An error has occurred during the request.

more_info string