matrix.bindurl(获取授权地址)
公共参数
请求地址:
环境 |
HTTP请求地址 |
HTTPS请求地址 |
正式环境 |
http://apigateway.shopex.cn/router |
https://apigateway.shopex.cn/router |
沙箱环境 |
xx |
xx |
公共请求参数:
名称 |
类型 |
是否必须 |
描述 |
method |
String |
是 |
方法名 |
app_key |
String |
是 |
app_key |
sign_time |
String |
是 |
签名时间 |
sign |
String |
是 |
签名 |
请求参数
名称 |
是否必须 |
类型 |
示例值 |
字段描述 |
app_key |
是 |
string |
xxx |
应用ID |
code |
是 |
string |
code |
外部系统唯一标示 |
callback_url |
是 |
string |
http://shopex.cn/callback |
回调地址 |
响应示例(自定义结构)
{
"status": "succ",
"code": "1000",
"desc": "",
"data": {
"url": ""
}
}
异常返回
API工具
matrix.unbind(解除绑定)
公共参数
请求地址:
环境 |
HTTP请求地址 |
HTTPS请求地址 |
正式环境 |
http://apigateway.shopex.cn/router |
https://apigateway.shopex.cn/router |
沙箱环境 |
xx |
xx |
公共请求参数:
名称 |
类型 |
是否必须 |
描述 |
method |
String |
是 |
方法名 |
app_key |
String |
是 |
app_key |
sign_time |
String |
是 |
签名时间 |
sign |
String |
是 |
签名 |
请求参数
名称 |
是否必须 |
类型 |
示例值 |
字段描述 |
app_key |
是 |
string |
xxx |
应用ID |
node_id |
是 |
string |
15000000 |
店铺节点 |
响应示例(自定义结构)
{
"status": "succ",
"code": "1000",
"desc": "解绑成功",
"data": null
}
异常返回
API工具
matrix.fill.single(补单)
公共参数
请求地址:
环境 |
HTTP请求地址 |
HTTPS请求地址 |
正式环境 |
http://apigateway.shopex.cn/router |
https://apigateway.shopex.cn/router |
沙箱环境 |
xx |
xx |
公共请求参数:
名称 |
类型 |
是否必须 |
描述 |
method |
String |
是 |
方法名 |
app_key |
String |
是 |
app_key |
sign_time |
String |
是 |
签名时间 |
sign |
String |
是 |
签名 |
请求参数
名称 |
是否必须 |
类型 |
示例值 |
字段描述 |
app_key |
是 |
string |
xxx |
应用ID |
node_id |
是 |
string |
15000000 |
店铺节点 |
fill_type |
是 |
string |
order |
补单类型 order=直销 fxorder=分销 refund=退款 exchange=换货 |
refund_status |
否 |
string |
refund |
退款类型 fill_type=refund时必须 refund=退款 aftersale=换货 |
tids |
否 |
string |
xxx|xxxx |
订单号用"|"分割 |
service_ids |
否 |
string |
xxx|xxxx |
服务单号用"|"分割 |
响应示例(自定义结构)
{
"status": "succ",
"code": "1000",
"desc": "补单成功",
"data": {
"msg_id": "6552D79AAC1000148DF23FB0CC2325D3"
}
}
异常返回
API工具
matrix.fill.multiple(批量补单)
公共参数
请求地址:
环境 |
HTTP请求地址 |
HTTPS请求地址 |
正式环境 |
http://apigateway.shopex.cn/router |
https://apigateway.shopex.cn/router |
沙箱环境 |
xx |
xx |
公共请求参数:
名称 |
类型 |
是否必须 |
描述 |
method |
String |
是 |
方法名 |
app_key |
String |
是 |
app_key |
sign_time |
String |
是 |
签名时间 |
sign |
String |
是 |
签名 |
请求参数
名称 |
是否必须 |
类型 |
示例值 |
字段描述 |
app_key |
是 |
string |
xxx |
应用ID |
node_id |
是 |
string |
15000000 |
店铺节点 |
fill_type |
是 |
string |
order |
补单类型 order=直销 fxorder=分销 refund=退款 exchange=换货 |
refund_status |
是 |
string |
refund |
退款类型 fill_type=refund时必须 refund=退款 aftersale=换货 |
start_time |
是 |
string |
2023-01-01 00:00:00 |
开始时间 |
end_time |
是 |
string |
2023-01-02 00:00:00 |
结束时间 不能大于7天 |
响应示例(自定义结构)
{
"status": "succ",
"code": "1000",
"desc": "补单成功",
"data": {
"msg_id": "6552D79AAC1000148DF23FB0CC2325D3"
}
}
异常返回
API工具
matrix.authstatus(查询授权过期状态)
公共参数
请求地址:
环境 |
HTTP请求地址 |
HTTPS请求地址 |
正式环境 |
http://apigateway.shopex.cn/router |
https://apigateway.shopex.cn/router |
沙箱环境 |
xx |
xx |
公共请求参数:
名称 |
类型 |
是否必须 |
描述 |
method |
String |
是 |
方法名 |
app_key |
String |
是 |
app_key |
sign_time |
String |
是 |
签名时间 |
sign |
String |
是 |
签名 |
请求参数
名称 |
是否必须 |
类型 |
示例值 |
字段描述 |
app_key |
是 |
string |
xxx |
应用ID |
node_id |
是 |
string |
15000000 |
店铺节点 |
响应示例(自定义结构)
{
"status": "succ",
"code": "1001",
"desc": "查询成功",
"data": {
"expire_in": "2020-04-29 17:25:01",
"is_expired": true
}
}
异常返回
API工具