Main API비즈니스 API
PATCH /business/applicants/update
캠페인 신청자 선정
신청자 선정
캠페인 신청자를 선정합니다.
| 항목 | 값 |
|---|---|
| 메서드 | PATCH |
| 경로 | /business/applicants/update |
| 인증 | 필요 |
요청
PATCH /business/applicants/update HTTP/1.1
Host: api.glowb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIs...
Content-Type: application/json
[
{
"applicationId": 123,
"memberId": "influencer_001",
"selected": true
},
{
"applicationId": 124,
"memberId": "influencer_002",
"selected": false
}
]curl -X PATCH "https://api.glowb.com/business/applicants/update" \
-H "Authorization: Bearer {access_token}" \
-H "Content-Type: application/json" \
-d '[
{"applicationId": 123, "memberId": "influencer_001", "selected": true},
{"applicationId": 124, "memberId": "influencer_002", "selected": false}
]'const response = await fetch('/business/applicants/update', {
method: 'PATCH',
headers: {
'Authorization': `Bearer ${accessToken}`,
'Content-Type': 'application/json'
},
body: JSON.stringify([
{
applicationId: 123,
memberId: 'influencer_001',
selected: true
},
{
applicationId: 124,
memberId: 'influencer_002',
selected: false
}
])
});Request Body (배열)
Prop
Type
응답
성공 응답 (200 OK)
선정 완료선정된 신청자에게 알림이 발송됩니다.