All pages
Powered by GitBook
1 of 1

Loading...

브랜드 등록 승인 요청

Request

❖ Request body form data sample

'regBrand="{
    \"regBrand\": {
        \"name\": \"테스트브랜드\",
        \"description\": \"신규브랜드등록승인요청\",
        \"tel\": \"09046123177\",
        \"categoryId\": \"EDU\",
        \"subCategoryId\": \"EDU007\",
        \"categoryOpt\": \"\",
        \"zipCode\": \"03924\",
        \"roadAddress\": \"서울특별시\",
        \"detailAddress\": \"17층\",
        \"menus\": [ {\"buttonType\": \"call\"}, {\"buttonType\": \"chat\"} ]
    }
}"' \
'chatbots="{
    \"chatbots\": [{
            \"mdn\": \"09046120000\",
            \"subTitle\": \"테스트브랜드발신번호1\"
        }, {
            \"mdn\": \"09046120000\",
            \"subTitle\": \"테스트브랜드발신번호2\"
        }
    ]
}"' \

Response

필드명
타입
길이
필수여부
기본값
설명

array<object>

O

등록된 브랜드ID 입니다.

code

string

5

O

20000000

status

integer

3

O

200

desc

string

O

result - array<object>

필드명
타입
길이
필수여부
기본값
설명

brandId

string

13

O

등록된 브랜드ID 입니다.

❖ response body sample

{
    "code": "20000000",
    "desc": null,
    "result": [
        {
            "brandId": "BR.0a81DDlZjz"
        }
    ],
    "status": 200
}
{
    "error": {
        "code": "64329",
        "message": "Missing profile image"
    },
    "status": 400
}

{
    "error": {
        "code": "64332",
        "message": "brand profile file is only png"
    },
    "status": 400
}

{
    "error": {
        "code": "64305",
        "message": "Missing Certification document"
    },
    "status": 400
}

{
    "error": {
        "code": "64341",
        "message": "Duplicate MDN 09046120000 in chatbots"
    },
    "status": 400
}

{
    "error": {
        "code": "64336",
        "message": "required value: [name]"
    },
    "status": 400
}
{
    "error": {
        "code": "61003",
        "message": "Invalid token"
    },
    "status": 401
}
{
    "error": {
        "code": "63002",
        "message": "No Permission"
    },
    "status": 403
}

error code는 RCS Biz Center - Response body error code 참조

result

마스터, 매니저 계정을 이용하여 신규 브랜드 등록 승인을 요청합니다.

post

마스터, 매니저 계정을 이용하여 신규 브랜드 등록 승인을 요청합니다.

  • 매니저 계정도 브랜드 등록이 가능하도록 권한 변경되었습니다. 단, 마스터로 승인을 받아야만 등록한 브랜드를 승인 받을 수 있습니다.

  • 필수 항목이었던 발신번호는 옵션으로 변경되었습니다.

  • 발신번호를 함께 등록하는 경우에만 발신번호에 대한 '통신서비스 가입증명원'을 함께 등록하면 됩니다.
    브랜드를 등록한 계정은 브랜드의 대표운영자로 설정되며, 매니저 권한으로 등록한 브랜드는 마스터 권한 승급을 받아야 승인을 받을 수 있습니다.

  • 계정 권한 : 마스터, 매니저

Authorizations
Body
brandProfileobject · binaryRequired

브랜드 프로필 이미지를 업로드합니다.

최소사이즈: 388X388px / 최대사이즈: 1080X1080px / 1:1 비율 / 파일형식 png (최대1MB)

brandBackgroundobject · binaryOptional

브랜드 백그라운드 이미지를 업로드합니다.

최소사이즈: 388X388px / 최대사이즈: 1080X1080px / 1:1 비율 / 파일형식 jpg, png (최대1MB)

mainMdnstring · max: 40OptionalDeprecated

maxLength: 40 - 대표발신번호 개념 제거되어 더 이상 유효하지 않습니다.

subNumCertificateobject · binaryOptional

통신서비스이용증명원을 업로드합니다.

대화방(발신번호) 등록을 위해 chatbots 지정한 경우 필수로 함께 업로드해야 합니다.

허용되는 파일형식 : jpg, png, pdf, tiff, zip (최대20MB)

post
POST /api/1.1/corp/brand HTTP/1.1
Host: api-qa.rcsbizcenter.com
Authorization: Bearer JWT
Content-Type: multipart/form-data
Accept: */*
Content-Length: 703

{
  "regBrand": {
    "regBrand": {
      "name": "text",
      "description": "text",
      "tel": "text",
      "menus": [
        {
          "buttonType": "call",
          "applink": {
            "packageName": "text",
            "action": "text",
            "uri": "text"
          },
          "weblink": "text"
        }
      ],
      "categoryId": "text",
      "subCategoryId": "text",
      "categoryOpt": "text",
      "zipCode": "text",
      "roadAddress": "text",
      "detailAddress": "text",
      "email": "name@gmail.com",
      "webSiteUrl": "text",
      "initTab": "FEED",
      "initFeedItems": [
        "call"
      ],
      "templateColor": "text",
      "bizInfoYn": "N",
      "bizInfoTitle": "text",
      "bizInfoContent": "text"
    }
  },
  "brandProfile": {},
  "brandBackground": {},
  "chatbots": {
    "chatbots": [
      {
        "mdn": "text",
        "subNum": "text",
        "subTitle": "text",
        "rcsReply": "1",
        "display": "01",
        "inputField": 1,
        "subDescr": "text",
        "saftyStatusYn": "Y"
      }
    ]
  },
  "subNumCertificate": {}
}