| 错误码 | 含义 |
|---|---|
| 10001 | access_token 未设置、错误或过期 |
| 10045 | limit 超过最大值 50 |
| 10046 | offset 非法或超出范围 |
| 10047 | limit 不是正整数 |
| 10048 | 时间参数不是 10 位秒级或 13 位毫秒级时间戳 |
| 10049 | 参数格式、组合、枚举或请求体校验失败 |
| 22401 | 企业未开通对应的 LTC OpenAPI 能力 |
| 22403 | 订单、商品、回款等资源不存在或不属于当前企业 |
| 22414 | LTC 服务暂不可用 |
| 22415 | LTC 内部处理异常或响应不符合契约 |
| 22416 | LTC 服务契约版本不受支持 |
curl --location --globoff 'https://open.weibanzhushou.com/open-api/ltc/order/list?order_number=OPENAPI-ORDER-001&product_name=%E7%A4%BA%E4%BE%8B%E5%95%86%E5%93%81&staff_ext_id=SuMao&order_status=unpaid&audit_status=pending_review&source=WTRWE&buyer_type=contact&buyer_id=100136400&buyer_ext_id=wmXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&organization_id=100105842&created_start=1785369600000&created_end=1785455999999&limit=20&offset=0&access_token=&access_token='{
"errcode": 0,
"errmsg": "ok",
"data": {
"total_count": 1,
"has_more": false,
"limit": 20,
"offset": 0,
"orders": [
{
"order_id": "240052097",
"order_number": "OPENAPI-ORDER-001",
"amount": "1.00",
"order_status": "unpaid",
"audit_status": "unsubmitted",
"audit_node_number": null,
"buyer": {
"type": "contact",
"id": "100136400",
"ext_id": null,
"name": "示例联系人",
"avatar": null,
"corp_name": null,
"display_state": "active"
},
"staff": {
"ext_id": "SuMao",
"name": "示例员工",
"avatar": null,
"display_state": "active"
},
"organization": {
"id": "100105842",
"ext_id": null,
"name": "示例组织",
"display_state": "active"
},
"goods_list": [
{
"goods_id": "100097608",
"sku_id": "100096943",
"name": "示例商品",
"spec_param": {
"default": "ltc_default_spec"
},
"count": 1,
"fix_price": "1.00",
"discount": 100,
"amount": "1.00"
}
],
"returned_money": "0.00",
"source": "WTRWE",
"remark": "OpenAPI 创建订单示例",
"created_at": 1785395107000,
"updated_at": 1785395107000
}
]
}
}