내 정보
동의 변경 (재동의·마케팅)
필수 동의는 동의(`true`)만 보낼 수 있다(철회는 탈퇴다). 마케팅은 `false`로 철회할 수 있다. 바뀐 것이 없으면 이력을 남기지 않고 현재 상태를 그대로 돌려준다.
POST
필수 동의는 동의(true)만 보낼 수 있다(철회는 탈퇴다). 마케팅은 false로 철회할 수 있다. 바뀐 것이 없으면 이력을 남기지 않고 현재 상태를 그대로 돌려준다.
header
AuthorizationBearer <JWT>회원 accessToken
application/json- body
terms?true이용약관 재동의
Value in
trueprivacy?true개인정보 수집이용 재동의
Value in
truemarketing?boolean마케팅 수신 동의(false면 철회)
성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/storefront/v1/me/consents' \
-H 'Content-Type: application/json' \
-d '{}'Example Response200
{
"meta": {
"status": 200,
"code": "OK",
"message": "OK",
"isSuccess": true
},
"data": {
"terms": {
"kind": "TERMS",
"agreed": true,
"agreedVersion": "string",
"currentVersion": "string",
"currentDocumentUrl": "string",
"updatedAt": "string",
"reconsentRequired": true
},
"privacy": {
"kind": "TERMS",
"agreed": true,
"agreedVersion": "string",
"currentVersion": "string",
"currentDocumentUrl": "string",
"updatedAt": "string",
"reconsentRequired": true
},
"marketing": {
"kind": "TERMS",
"agreed": true,
"agreedVersion": "string",
"currentVersion": "string",
"currentDocumentUrl": "string",
"updatedAt": "string",
"reconsentRequired": true
},
"reconsentRequired": true
},
"error": null
}