[고도몰] 웹훅(webhook) 가이드
고도몰에서 제공되는 다양한 웹훅 가이드를 안내 드립니다.
Last updated
// 샘플 데이터 및 파라미터 정의
{
"eventType": "CHANGE_APP_STATUS", // not null
"currentStatus": {앱설치상태}, // ("ACTIVE" || "DELETED")
"appNo": {앱번호}, // not null
"appInstalledNo": {앱설치번호}, // not null
"mallNo": {샵바이 쇼핑몰번호}, // not null
"shopNo": {샵바이/고도몰 상점번호}, // not null
"solutionType": {솔루션 구분}, // not null, ("SHOPBY" || "GODO")
}// 샘플 데이터 및 파라미터 정의
{
"eventType": "GD_MEMBER_LOGGED_IN", // not null
"shopNo": 상점번호, // not null
"trackingKey": "트래킹키", // nullable
"memberNo": 회원번호, // not null
"memberId": "회원아이디", // not null
}// 샘플 데이터 및 파라미터 정의
{
"eventType": 이벤트유형, // not null
"shopNo": 상점번호, // not null
"trackingKey": "트래킹키", // nullable
"memberNo": 회원번호, // not null
"memberId": "회원아이디", // not null
"memberName": "회원이름", // not null
"email": "이메일", // nullable
"groupNo": "회원그룹번호", // not null
"nickName": "닉네임", // nullable
}// 샘플 데이터 및 파라미터 정의
{
"eventType": "GD_MEMBER_MILEAGE_CHANGED", // not null
"shopNo": "상점번호", // not nul
"sno": "마일리지 번호", // not null
"memberSno": 회원 번호 // not null
"mileageEventType": "마일리지이벤트 유형", // not null("EARN" || "EXPIRE" || DEDUCT)
"mileage": "변경 마일리지", // not null
"afterMileage": "변경후 최종 마일리지", // not null
"mileageChangeDateTime": "마일리지 변경 일시", // not null
"expirationDateTime": "마일리지 소멸 일시", // nullable
"trackingKey": "트래킹키" // nullable
}// 샘플 데이터 및 파라미터 정의
{
"eventType": "GD_PRODUCT_UPDATED", // not null
"shopNo": 상점번호, // not null
"trackingKey": "트래킹키", // nullable
"goodsNo": 상품번호, // not null (여러개인경우 ,로 연결)
"goodsEventType": "이벤트타입", // not null, ("CREATED" || "UPDATED" || "DELETED")
"timestamp": "발생일시" // not null
}// 샘플 데이터 및 파라미터 정의
{
"eventType": "GD_ORDER_COMPLETED", // not null
"shopNo": 상점번호, // not null
"trackingKey": "트래킹키", // nullable
"orderNo": 주문번호, // not null
"memberNo": 회원번호, // not null
"totalSettlePrice": 총 결제금액, // not null
"orderTypeFl" : 주문 유형 // not null ("pc" || "mobile" || "write")
"appOs" : 앱 주문시 휴대폰 OS // nullable ("ios" || "android" || "etc")
"channelType" : 주문건 추적 채널타입 데이터// nullable: true
"refererUrl" : 주문 생성 시점에 접속된 URL // not null
"orderCustomerName" : 주문자명, // not null
"orderDate" : 주문일자, // not null
"orderCustomerPhone" : 주문자 핸드폰 번호 , // nullable
"orderCustomerEmail" : 주문자 이메일, // nullable
"depositorName" : 입금자명, // nullable
"depositDeadline" : 입금 마감일, // nullable
"taxReceiptType": 현금영수증/세금계산서 유형, // nullable("CASH_RECEIPT" || "TAX_INVOICE")
"cashReceiptType": 현금 영수증 발행 용도, // nullable("EXPENSE_PROOF" || "INCOME_DEDUCTION")
"authenticationCode": 인증번호 // nullable
}// 샘플 데이터 및 파라미터 정의
[
{
"eventType": "GD_ORDER_GOODS_STATUS_CHANGED", // not null
"shopNo": 상점번호, // not nul
"orderNo": 주문 번호, // not null
"orderGoodsNo": 주문 상품 번호, // not null,
"orderGoodsStatus": "주문 상품 상태", // not null
"statusChangeDateTime": "주문 상품 상태 변경일", // not null
"paymentMethod": "결제수단" // not null
}
]// 샘플 데이터 및 파라미터 정의
{
"eventType": "GD_CART_UPDATED", // not null,
"shopNo": 상점번호, // not null,
"actionType": 처리유형, // not null,
"memberNo" : 회원번호 // not null,
"goodsNo" : 상품번호 // not null,
"goodsCnt" : 구매수량 // not null,
"goodsOptionNo" : 상품 옵션 번호
"goodsOptionText" :
[
{
"goodsOptionTextNo" : 상품 텍스트 옵션 번호,
"value" : 상품 텍스트 옵션 내용
},
],
"addGoods" :
[
{
"addGoodsNo" : 추가상품 번호,
"addGoodsCnt" : 추가상품 갯수
},
],
"updatedDateTime" : "처리 시간"
"trackingKey": "트래킹키"
}