url链接解析商品与计划
基本信息
- service:cps-mesh.cpslink.links.put
- 请求方式:POST
请求Header
| Header参数 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| Content-Type | 是 | application/json |
公共参数
| 参数名称 | 是否必须 | 示例 | 备注 |
|---|---|---|---|
| app_key | 是 | 2312521 | 媒体应用AppKey 查看获取方式 |
| timestamp | 是 | 1596592757 | 秒级时间戳 |
| service | 是 | cps-mesh.cpslink.links.put | 接口服务名称 |
| sign | 是 | 5D17CCCD5B29F98171D6D0D43136B366 | 签名 详解 |
接口参数
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| url | string | 非必须 | 待解析url |
请求示例
{
"url": "string"
}返回参数
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
|---|---|---|---|---|---|
| status | integer | 非必须 | 状态code | ||
| message | string | 非必须 | 错误信息 | ||
| data | object | 非必须 | |||
| ├─ type | string | 非必须 | 类型 | ||
| ├─ product | object | 非必须 | 商品信息 | ||
| ├─ product_original_id | string | 非必须 | 商品原始id | ||
| ├─ product_title | string | 非必须 | 商品名称 | ||
| ├─ product_main_picture | string | 非必须 | 商品主图 | ||
| ├─ product_original_price | integer | 非必须 | 商品价格 | ||
| ├─ product_coupon | integer | 非必须 | 商品优惠 | ||
| ├─ adser_id | integer | 非必须 | 广告主id | ||
| ├─ ads | object [] | 非必须 | 计划信息 | item 类型: object | |
| ├─ platform | string | 非必须 | 平台 | ||
| ├─ url | string | 非必须 | wap-长链接 | ||
| ├─ code | string | 非必须 | 淘口令 部分链接会有 | ||
| ├─ original_link | string | 非必须 | 商家原始链接 | ||
| ├─ wx_path | string | 非必须 | 微信小程序page路径 | ||
| ├─ wx_appid | string | 非必须 | 微信小程序appid | ||
| ├─ wx_qrcode | string | 非必须 | 微信二维码 | ||
| ├─ wx_ghid | string | 非必须 | 微信账号原始id | ||
| ├─ deep_link | string | 非必须 | deep_link 唤醒链接 | ||
| ├─ short_url | string | 非必须 | 自带短链 | ||
| ├─ wap_url | string | 非必须 | pc-长链接 |
返回示例
{
"status": 0,
"message": "string",
"data": {
"type": "string",
"product": {
"product_original_id": "string",
"product_title": "string",
"product_main_picture": "string",
"product_original_price": 0,
"product_coupon": 0,
"adser_id": 0
},
"ads": [
{}
],
"platform": "string",
"url": "string",
"code": "string",
"original_link": "string",
"wx_path": "string",
"wx_appid": "string",
"wx_qrcode": "string",
"wx_ghid": "string",
"deep_link": "string",
"short_url": "string",
"wap_url": "string"
}
}