版本:202201
删除商品
DELETE/openapi/2022-01/products/:product_id
通过唯一 ID 删除指定商品。
请求
Path参数
product_id string必填
待删除的商品 ID。
响应
- 200
- 404
- 422
200
- application/json
无 Schema
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Product not found"
]
}
{
"errors": [
"Product not found"
]
}
422
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Product ID is not a valid UUID"
]
}
{
"errors": [
"Product ID is not a valid UUID"
]
}