简要描述:

  • 电商CPS-获取淘宝授权url

请求URL:

GET:/route=plugin.tiktok-cps.api.goods.taoBaoAuthorize

参数名 类型 说明 是否必须
view string Web 对应PC端(淘宝logo)浏览器页面样式:tmall 对应天猫的浏览器页面样式:Wap 对应无线端的浏览器页面样式。 默认web

返回示例:

没开启新海报插件时返回:

{
    "result": 1,
    "msg": "success",
    "data": "https://oauth.taobao.com/authorize?response_type=code&client_id=34825805&redirect_uri=https://yx.gz.cn/supplyapi/ecCps/opentbRedirectUri&state=6_6_1&view=web"
}

返回参数说明:

参数名 类型 说明
参数名 类型 说明
data string 授权url