Version: 202201
Delete Product
DELETE/openapi/2022-01/products/:product_id
Delete a product by its ID.
Request
Path Parameters
product_id stringrequired
Product's ID
Responses
- 200
- 404
- 422
200
- application/json
No schema
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Product not found"
]
}
{
"errors": [
"Product not found"
]
}
422
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Product ID is not a valid UUID"
]
}
{
"errors": [
"Product ID is not a valid UUID"
]
}