appKey和appSecret#
appKey是app的唯一标识,appSecret是app的密钥,它们相当于用户名和密码。软件开放者向Yatobuy提交入住申请,Yatobuy审批通过后,会生成一个appKey和appSecret,请妥善保存access_token#
授权令牌,调用数据接口时需要传给服务端,参考token获取接口,/openapi/auth/{appKey}/system.token.get数据签名#
接口调用方式#
所有的接口需使用HTTPS协议、JSON数据格式、UTF8编码服务地址#
接口响应的通用Code#
| Code | Description |
|---|
| 200 | success |
| 500 | system error |
| 510 | access_token expired |
| 600 | rate limit |
| 610 | signature error |
| 620 | header error |
| 630 | param error |
| 640 | data is empty |
| 1000 | order preview fail |
| 1010 | order create fail |
| 1020 | order detail fail |
| 1030 | order cancel fail |
| 2030 | product data error |
| R**** | service data error |