curl --request PATCH \
--url https://golfjoin.co.kr/api/v1/manager/contents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 188201,
"price": 140000,
"deposit": null
}
'{
"id": 123,
"updated": true
}{
"error": "invalid_input"
}{
"error": "forbidden"
}{
"error": "not_found"
}티 매물
티 매물 수정·마감
보낸 필드만 바꿉니다. 값을 지우려면 null로 보냅니다. 실제로 바뀐 값이 있으면 매물이 목록 위로 올라가고(한도 차감 없음), 바뀐 게 없으면 updated: false로 아무것도 하지 않습니다.
action: "close"를 보내면 마감합니다. 마감한 매물은 다시 열 수 없습니다.
PATCH
/
api
/
v1
/
manager
/
contents
curl --request PATCH \
--url https://golfjoin.co.kr/api/v1/manager/contents \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 188201,
"price": 140000,
"deposit": null
}
'{
"id": 123,
"updated": true
}{
"error": "invalid_input"
}{
"error": "forbidden"
}{
"error": "not_found"
}Authorizations
OAuth 로그인으로 받은 access token. 1시간 동안 유효합니다.
Body
application/json
매물 번호
Example:
188201
마감할 때만 보냅니다.
Available options:
close 골프장 ID
Example:
3
JOIN(조인) 또는 TRANSFER(양도)
Available options:
JOIN, TRANSFER 플레이 날짜 YYYY-MM-DD (KST)
Example:
"2026-12-20"
티업 시간 HH:MM, 24시간제 (KST)
Example:
"07:12"
코스 이름. 골프장 목록의 fields[].name. <, > 불가
Maximum string length:
30Example:
"레이크"
조인은 모집 인원, 양도는 팀 인원(1~4)
Example:
1
조인 조건: 무관, 부부커플, 남자, 여자. 양도는 null
Example:
"무관"
1인 그린피, 원 단위
Example:
150000
선입금, 원 단위. 0은 선입금 없음
Required range:
x >= 0Example:
0
캐디 조건: 일반캐디, 노캐디, 운전캐디, 새싹캐디
Example:
"일반캐디"
9, 18, 27, 36
Example:
18
카트비 포함 여부
식사 포함 여부
전화 문의 허용. 기본 true, false면 문자 문의만
매물 안내문(메모)
Example:
"카트비 포함, 캐디피 별도입니다."
제목. 비우면 '골프장명 날짜 시간' 자동. <, > 불가
Maximum string length:
100