상점 설정
적립금 정책 조회
리뷰 적립·유효 기간과 설정 가능 여부(`available`), 상점에 보일 안내(`notice`). 정책을 정하지 않았으면 모두 끔이다.
GET
리뷰 적립·유효 기간과 설정 가능 여부(available), 상점에 보일 안내(notice). 정책을 정하지 않았으면 모두 끔이다.
accessTokenheader
AuthorizationBearer <token>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
X-Store-Id*string대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다
성공
application/json- response
meta*data*error*|nullcurl -X GET 'https://api.sayren.io/v1/store/point-policy' \ -H 'X-Store-Id: string'{ "meta": { "status": 200, "code": "OK", "message": "OK", "isSuccess": true }, "data": { "available": true, "configured": true, "reviewReward": { "enabled": true, "textPoint": 0, "photoPoint": 0 }, "purchaseEarn": { "enabled": true, "rateBp": 0 }, "useAvailable": false, "use": { "enabled": false, "minBalance": 0, "minAmount": 0, "unit": 10, "maxRatioBp": 10000, "includeDeliveryFee": true }, "expiryDays": 30, "notice": "REVIEW_REWARD_PAUSED" }, "error": null}