平台授权链接
生成京东、拼多多等平台的授权链接,商家点进去完成授权后,店铺的订单才能同步进来。京东需要先配好应用密钥才会返回链接。
| 请求方式 | GET/POST |
|---|---|
| 接口路径 | /api/shop/platformAuthUrl |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
type | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/shop/platformAuthUrl?type=xxx' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"key": "string"
}
}