Update Company
관리자나 판매자가 업체를 수정하기 위한 API
Update Company
PUT
/api/companies/{companyId}
Access Permissions
Role
Description
ADMIN
관리자
SELLER
판매자
Request Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Path Variable
Name
Type
Description
companyId
Long
Company ID
Request Body
Name
Type
Description
Required
companyName
String
Name of the company
true
description
String
Description of the company
true
address
String
Address of the company
true
Response
{
"status": 200,
"data": {
"companyId": 1,
"userId": 1,
"companyName": "업체1 수정",
"description": "판매업체 수정입니다.",
"address": "경기도 성남시 중원구 12345"
},
"error": null,
"timeStamp": "2024-09-27 12:00:00"
}
Last updated