Glowb Dev Docs
Main API멤버 API

POST /member/update

기업 회원 가입

회원 가입 (기업)

기업 회원 가입을 처리합니다.

항목값
메서드POST
경로/member/update
인증불필요
Content-Typemultipart/form-data

요청

POST /member/update HTTP/1.1
Host: api.glowb.com
Content-Type: multipart/form-data
curl -X POST "https://api.glowb.com/member/update" \
  -F "business_data=@business.json;type=application/json" \
  -F "file=@profile.jpg"
const formData = new FormData();
formData.append('business_data', JSON.stringify({
  member: {
    id: 'business_id',
    password: 'password123',
    email: 'business@example.com'
  },
  business: {
    business_name: '기업명',
    manager_name: '담당자명',
    phone: '010-1234-5678'
  }
}));
formData.append('file', profileImage);

const response = await fetch('/member/update', {
  method: 'POST',
  body: formData
});

Request Parts

파트타입필수설명
business_dataJSON예회원 및 기업 정보
fileFile아니오프로필 이미지

business_data 스키마

Prop

Type

응답

성공 응답 (200 OK)

Member updated successfully

에러 응답

상태 코드메시지
500An error occurred while updating the member

탈퇴 계정 오류

탈퇴한 회원 ID를 재사용하는 기업 가입은 차단합니다. HTTP 401, code: ACCOUNT_WITHDRAWN을 반환합니다. 응답 형식과 클라이언트 처리를 참고하세요.

API 테스트

On this page