--- title: "쿠폰 사용" slug: "game-gamepot-storeusercoupon" updated: 2026-09-17T09:16:30Z published: 2026-09-17T09:16:30Z canonical: "api.ncloud-docs.com/game-gamepot-storeusercoupon" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 쿠폰 사용 일반 쿠폰, 키워드 쿠폰을 사용할 수 있습니다. ## 요청 ``` PUT https://dashboard-api.gamepot.ntruss.com/v1/api/project/{projectId}/store/{storeID}/user/{userID}/coupon/{couponNumber}?userData={userData} ``` | 항목 | 타입 | 필수 여부 | 설명 | 비고 | | --- | --- | --- | --- | --- | | projectId | String | O | GamePot SDK의 projectId | | | storeID | String | O | 스토어 아이디 (google,one,apple,galaxy) | | | userID | String | O | GamePot SDK의 사용자 UID | | | couponNumber | String | O | 대시보드에서 발급한 쿠폰 번호 | | | userData | String | X | 웹훅 API 파라미터 중 userData 항목에 넣을 추가 정보 | | ### 요청 헤더 | 헤더명 | 필수 여부 | 설명 | | --- | --- | --- | | x-api-key | O | GamePot에서 발급하는 인증 키 | | accept-language | X | 사용 언어 | ## 응답 | 필드명 | 타입 | 설명 | | --- | --- | --- | | status | Int | 결괏값 (1: 성공) | | message | String | 결과 내용 | ## 예시 ### 요청 예시 ``` curl --request PUT \ --url https://dashboard-api.gamepot.ntruss.com/v1/api/project/12a0f2ff-xxxx-xxxx-xxxx-9c13ef02f5fs/store/google/user/h43ea8e8-xxxx-xxxx-xxxx-531a46d25eef/coupon/xxxxxx \ --header 'accept-language: ko' \ --header 'x-api-key: 86dcgffae064174543xxxx02a8801ce5a547xxxxxxxxxxxxxx' ``` ### 응답 예시 ``` { "status": 1, "message": "success" } ``` ## 오류 코드 Gamepot Open API 요청시 발생하는 공통 에러코드입니다. | 파라미터 | 설명 | | --- | --- | | status | 오류 코드(1: 성공, 실패 시 Error code 참고) | | message | 오류 상세 설명 | | 오류 코드 | 설명 | | --- | --- | | -1 | 대시보드에 없는 키를 사용한 경우 | | -2 | 대시보드의 키와 헤더의 키가 다른경우 | | -3 | 대시보드에서 삭제한 키를 사용한 경우 | | -4 | 대시보드에서 미사용으로 처리된 키를 사용한 경우 | | -5 | 키가 만료된 경우 | | -6 | 프로젝트 아이디가 없는 경우 | | -100 | 처리에 오류가 발생된 경우 | ``` { "status": -6, "message": "projectId was wrong." } ```