/v1/admin/items

Method
POST
Client
ADMIN
USER
아이템 생성

Request

Authorization

{ "Bear " : "token" }
JSON
복사

Body

{ "name": "Sample Item", "price": 15000, "imageUri": "http://example.com/images/sample-item.jpg", "category": "ETC" }
JSON
복사

Response

Body

{ "status": "OK", "message": "성공", "data": { "itemId": 1, "userId": 1, "name": "Sample Item", "price": 15000, "imageUri": "http://example.com/images/sample-item.jpg", "category": "ETC", "createdAt": "2024-11-16T17:27:22.642533", "updatedAt": "2024-11-16T17:27:22.642553" } }
JSON
복사