Delete Product
관리자나 판매자가 상품을 삭제하기 위한 API
Delete Product
DELETE
/api/products/{productId}
Access Permissions
Role
Description
ADMIN
관리자
SELLER
판매자
Request Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Path Variable
Name
Type
Description
productId
Long
Product ID
Response
{
"status": 200,
"data": {
"Product 삭제완료"
},
"error": null,
"timeStamp": "2024-09-27 12:00:00"
}
Last updated