- 开发指南
- 开发前必读
- 基本概念介绍
- 回调配置
- 企业微信账号ID安全性全面升级
- 代开发应用安全性升级
- ID转换接口
- unionid与external_userid的关联
- 获取服务商凭证POST
- 基础
- 连接微信
- 办公
- 智慧硬件
获取订单详情
POST
https://qyapi.weixin.qq.com/cgi-bin/service/get_order
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/service/get_order' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderid" : "2018091822ks1sd3s"
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"orderid": "2018091822ks1sd3s",
"order_status": 1,
"order_type": 1,
"paid_corpid": "wwfedd7e5291d63aaa",
"operator_id": "zhangsan",
"suiteid": "wx67cce113441ccaaa",
"appid": 1,
"edition_id": "RLS65535",
"edition_name": "协同版",
"price": 100,
"user_count": 1000,
"order_period": 365,
"order_time": 1533702999,
"paid_time": 1533702910,
"begin_time": 1533702910,
"end_time": 1553515904,
"order_from": 1,
"operator_corpid": "wwfedd7e5292d63aaa",
"service_share_amount": 60,
"platform_share_amount": 10,
"dealer_share_amount": 30,
"dealer_corp_info": {
"corpid": "xxxx",
"corp_name": "name"
}
}
请求参数
Query 参数
suite_access_token
string
可选
示例值:
SUITE_ACCESS_TOKEN
Body 参数application/json
orderid
string
订单号
示例
返回响应
🟢200成功
application/json
Body
errcode
integer
错误码
errmsg
string
错误码说明
orderid
string
订单号
order_status
integer
必需
order_type
integer
必需
paid_corpid
string
必需
operator_id
string
必需
suiteid
string
应用id
appid
integer
必需
edition_id
string
购买版本ID
edition_name
string
购买版本名字
price
integer
应付价格,单位分
user_count
integer
必需
order_period
integer
必需
order_time
integer
必需
paid_time
integer
必需
begin_time
integer
必需
end_time
integer
必需
order_from
integer
必需
operator_corpid
string
下单方corpid
service_share_amount
integer
必需
platform_share_amount
integer
必需
dealer_share_amount
integer
必需
dealer_corp_info
object
必需
corpid
string
代理商corpid
corp_name
string
代理商的企业简称

【企业微信】API开发者 微信交流群
用微信扫右侧二维码,加入【企业微信】API开发者 交流群,互助沟通


修改于 2022-12-05 07:59:56