콘텐츠로 이동

브랜드 메시지 템플릿

1. GetBMSTemplateMgtURL - 브랜드 메시지 템플릿 관리 팝업 URL

섹션 제목: “1. GetBMSTemplateMgtURL - 브랜드 메시지 템플릿 관리 팝업 URL”

브랜드 메시지 템플릿 관리 팝업 URL 미리보기

브랜드 메시지 템플릿 관리 팝업 URL 미리보기

브랜드 메시지 템플릿을 관리하는 팝업 URL을 반환합니다.

  • 권장 사이즈 : width = 1,000px (최소 1,000px) / height = 800px
  • 반환되는 URL은 30초 동안만 사용이 가능합니다.
  • 반환되는 URL에서만 유효한 세션을 포함하고 있습니다.
def getBMSTemplateMgtURL(corpNum, userID)
Parameters
순번 변수명 타입 길이 필수 설명
1corpNumstr10Y
팝빌회원 사업자번호 ('-' 제외)
2userIDstr50Y
팝빌회원 아이디

str - 요청에 대한 응답 URL

PopbillException
순번 변수명 타입 길이 설명
1codeint-
API 처리 실패에 대한 오류코드
음의 정수 8자리 숫자값 [참고] 오류코드
2messagestr-
API 처리 실패에 대한 오류메시지

2. GetBMSTemplate - 브랜드 메시지 템플릿 정보 확인

섹션 제목: “2. GetBMSTemplate - 브랜드 메시지 템플릿 정보 확인”

브랜드 메시지 템플릿 정보를 확인합니다.

def getBMSTemplate(corpNum, templateCode, userID=None)
Parameters
순번 변수명 타입 길이 필수 설명
1corpNumstr10Y
팝빌회원 사업자번호 ('-' 제외)
2templateCodestr12Y
템플릿 코드
3userIDstr50N
팝빌회원 아이디
BMSTemplate
순번 변수명 타입 길이 설명
1templateCodestr12
템플릿 코드
2templateTypestr4
템플릿 유형
  • BMST 브랜드 메시지 텍스트
  • BMSI 브랜드 메시지 이미지
  • BMSW 브랜드 메시지 와이드
  • BMSL 브랜드 메시지 리스트
  • BMSC 브랜드 메시지 캐러셀
  • BMSM 브랜드 메시지 커머스
  • BMSA 브랜드 메시지 캐러셀 커머스
3templateNamestr200
템플릿 제목
4contentstr1,300
템플릿 내용
5plusFriendIDstr30
검색용 아이디
6adultYNbool-
성인용 메시지 여부
7headerstr20
제목
8addContentstr34
부가메시지
9imageUrlstr-
이미지 URL
11stateint-
템플릿 상태
  • 1 사용
  • 3 차단
12stateDTstr14
템플릿 상태 일시
형식 : yyyyMMddHHmmss
13item20
아이템 목록
list[KakaoItem]
순번변수명타입길이설명
1titlestr30
타이틀
2imageUrlstr500
이미지 URL
3linkMobilestr1,000
Mobile 웹링크
4linkPcstr1,000
PC 웹링크
5linkAndroidstr1,000
Android 앱링크
6linkIosstr1,000
iOS 앱링크
14commerce-
커머스 정보
KakaoCommerce
순번변수명타입길이설명
1titlestr30
상품명
2regularPriceint-
정상가격
0 ~ 99,999,999
3discountTypestr1
할인유형
  • R 할인율
  • F 할인금액
4discountint-
5discountPriceint-
할인가격
0 ~ 99,999,999
할인 적용 후 최종 가격
15head-
캐러셀 인트로
KakaoCarouselHead
순번변수명타입길이설명
1headerstr20
제목
2contentstr50
내용
3imageUrlstr500
이미지 URL
4linkMobilestr1,000
Mobile 웹링크
5linkPcstr1,000
PC 웹링크
6linkAndroidstr1,000
Android 앱링크
7linkIosstr1,000
iOS 앱링크
17tail-
캐러셀 더보기
KakaoCarouselTail
순번변수명타입길이설명
1linkMobilestr1,000
Mobile 웹링크
2linkPcstr1,000
PC 웹링크
3linkAndroidstr1,000
Android 앱링크
4linkIosstr1,000
iOS 앱링크
18btns5
버튼 목록
list[KakaoButton]
순번변수명타입길이설명
1nstr14
버튼명
2tstr2
버튼유형
  • WL 웹링크
  • AL 앱링크
  • MD 메시지전달
  • BK 봇키워드
  • AC 채널추가
3u1str1,000
버튼링크
{t} = "AL" 경우 iOS 앱링크 적용
{t} = "WL" 경우 Mobile 웹링크 적용
4u2str1,000
버튼링크
{t} = "AL" 경우 Android 앱링크 적용
{t} = "WL" 경우 PC 웹링크 적용
19coupon-
쿠폰
KakaoCoupon
순번변수명타입길이설명
1titlestr15
쿠폰 제목
  • #{숫자}원 할인 쿠폰 (숫자 : 1~99,999,999)
  • #{숫자}% 할인 쿠폰 (숫자 : 1~100)
  • 배송비 할인 쿠폰
  • #{7자 이내} 무료 쿠폰
  • #{7자 이내} UP 쿠폰
2descriptionstr12
쿠폰 설명
줄바꿈 사용 불가
3linkMobilestr1,000
Mobile 웹링크
4linkPcstr1,000
PC 웹링크
5linkAndroidstr1,000
Android 앱링크
6linkIosstr1,000
iOS 앱링크
PopbillException
순번 변수명 타입 길이 설명
1codeint-
API 처리 실패에 대한 오류코드
음의 정수 8자리 숫자값 [참고] 오류코드
2messagestr-
API 처리 실패에 대한 오류메시지

3. ListBMSTemplate - 브랜드 메시지 템플릿 목록 확인

섹션 제목: “3. ListBMSTemplate - 브랜드 메시지 템플릿 목록 확인”

“사용” 상태의 브랜드 메시지 템플릿 목록을 확인합니다.

def listBMSTemplate(corpNum, userID=None)
Parameters
순번 변수명 타입 길이 필수 설명
1corpNumstr10Y
팝빌회원 사업자번호 ('-' 제외)
2userIDstr50N
팝빌회원 아이디
list[BMSTemplate]
순번 변수명 타입 길이 설명
1templateCodestr12
템플릿 코드
2templateTypestr4
템플릿 유형
  • BMST 브랜드 메시지 텍스트
  • BMSI 브랜드 메시지 이미지
  • BMSW 브랜드 메시지 와이드
  • BMSL 브랜드 메시지 리스트
  • BMSC 브랜드 메시지 캐러셀
  • BMSM 브랜드 메시지 커머스
  • BMSA 브랜드 메시지 캐러셀 커머스
3templateNamestr200
템플릿 제목
4contentstr1,300
템플릿 내용
5plusFriendIDstr30
검색용 아이디
6adultYNbool-
성인용 메시지 여부
7headerstr20
제목
8addContentstr34
부가메시지
9imageUrlstr-
이미지 URL
11stateint-
템플릿 상태
  • 1 사용
12stateDTstr14
템플릿 상태 일시
형식 : yyyyMMddHHmmss
13item20
아이템 목록
list[KakaoItem]
순번변수명타입길이설명
1titlestr30
타이틀
2imageUrlstr500
이미지 URL
3linkMobilestr1,000
Mobile 웹링크
4linkPcstr1,000
PC 웹링크
5linkAndroidstr1,000
Android 앱링크
6linkIosstr1,000
iOS 앱링크
14commerce-
커머스 정보
KakaoCommerce
순번변수명타입길이설명
1titlestr30
상품명
2regularPriceint-
정상가격
0 ~ 99,999,999
3discountTypestr1
할인유형
  • R 할인율
  • F 할인금액
4discountint-
5discountPriceint-
할인가격
0 ~ 99,999,999
할인 적용 후 최종 가격
15head-
캐러셀 인트로
KakaoCarouselHead
순번변수명타입길이설명
1headerstr20
제목
2contentstr50
내용
3imageUrlstr500
이미지 URL
4linkMobilestr1,000
Mobile 웹링크
5linkPcstr1,000
PC 웹링크
6linkAndroidstr1,000
Android 앱링크
7linkIosstr1,000
iOS 앱링크
17tail-
캐러셀 더보기
KakaoCarouselTail
순번변수명타입길이설명
1linkMobilestr1,000
Mobile 웹링크
2linkPcstr1,000
PC 웹링크
3linkAndroidstr1,000
Android 앱링크
4linkIosstr1,000
iOS 앱링크
18btns5
버튼 목록
list[KakaoButton]
순번변수명타입길이설명
1nstr14
버튼명
2tstr2
버튼유형
  • WL 웹링크
  • AL 앱링크
  • MD 메시지전달
  • BK 봇키워드
  • AC 채널추가
3u1str1,000
버튼링크
{t} = "AL" 경우 iOS 앱링크 적용
{t} = "WL" 경우 Mobile 웹링크 적용
4u2str1,000
버튼링크
{t} = "AL" 경우 Android 앱링크 적용
{t} = "WL" 경우 PC 웹링크 적용
19coupon-
쿠폰
KakaoCoupon
순번변수명타입길이설명
1titlestr15
쿠폰 제목
  • #{숫자}원 할인 쿠폰 (숫자 : 1~99,999,999)
  • #{숫자}% 할인 쿠폰 (숫자 : 1~100)
  • 배송비 할인 쿠폰
  • #{7자 이내} 무료 쿠폰
  • #{7자 이내} UP 쿠폰
2descriptionstr12
쿠폰 설명
줄바꿈 사용 불가
3linkMobilestr1,000
Mobile 웹링크
4linkPcstr1,000
PC 웹링크
5linkAndroidstr1,000
Android 앱링크
6linkIosstr1,000
iOS 앱링크
PopbillException
순번 변수명 타입 길이 설명
1codeint-
API 처리 실패에 대한 오류코드
음의 정수 8자리 숫자값 [참고] 오류코드
2messagestr-
API 처리 실패에 대한 오류메시지