- 蔬东坡开放平台API文档
- 什么是蔬东坡开放平台
- 开发入门
- 基础数据接口
- 库房
- 商品
- 订单
- 采购单
- 客户协议价
- 客户
- 异步通知
- 订单-退货单
- 商品-溯源
- 出、入库单查询
- 客户类型
- 现有库存查询
- 库房-分拣
- 采购-退货单
- 财务
客户结算单列表
GET
/openApi/accountSettle/list
请求参数
Query 参数
appid
string
必需
timestamp
integer
当前时间戳
示例值:
{{timestamp}}
sign
string
签名参数(32位)
示例值:
{{sign}}
notice
string
可选
site_id
string
站点
page
string
页码
page_size
string
每页大小
group_id
string
集团ID
create_start_date
string
可选
create_end_date
string
可选
settlement_start_date
string
可选
settlement_end_date
string
可选
search_value
string
可选
settle_no
string
结算单号
refer_no
string
关联单号
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://basesfpstest.sdongpo.com/openApi/accountSettle/list?appid×tamp={{timestamp}}&sign={{sign}}'
返回响应
🟢200成功
application/json
Body
status
integer
必需
data
object
必需
list
array [object {18}]
必需
pageParams
object
必需
message
string | null
必需
示例
{
"status": 1,
"data": {
"list": [
{
"id": "162",
"user_id": "2017",
"settle_no": "SE24112815390056921",
"settlement_date": "2024-11-28",
"user_name": "老六生鲜超市",
"price": "71.55",
"create_user": "movee",
"create_time": "2024-11-28 15:39:00",
"pay_user": "1",
"status": "3",
"pay_way": "7",
"actual_price": "1.05",
"reduction_price": "70.50",
"remark": "",
"status_desc": "已冲销",
"pay_way_desc": "转账",
"store_name": "默认库房岳麓区中电软件园",
"detail": [
{
"id": "281",
"pid": "162",
"refer_no": "DD24112700039",
"order_id": "2317",
"should_price": "36.50",
"actual_price": "0.00",
"pay_price": "0.00",
"reduction_price": "36.50",
"remark": "",
"bill_type": "1",
"bill_type_desc": "销售订单",
"unpaid_price": "36.50"
},
{
"id": "282",
"pid": "162",
"refer_no": "RT24112720460763",
"order_id": "2317",
"should_price": "-10.50",
"actual_price": "-10.50",
"pay_price": "0.00",
"reduction_price": "0.00",
"remark": "货物变质、损坏",
"bill_type": "2",
"bill_type_desc": "退货退款",
"unpaid_price": "-10.50"
},
{
"id": "278",
"pid": "162",
"refer_no": "DD24112700039YF",
"order_id": "2317",
"should_price": "20.00",
"actual_price": "0.00",
"pay_price": "0.00",
"reduction_price": "20.00",
"remark": "",
"bill_type": "3",
"bill_type_desc": "订单运费",
"unpaid_price": "20.00"
},
{
"id": "279",
"pid": "162",
"refer_no": "YJK24112720470939783",
"order_id": "2317",
"should_price": "10.00",
"actual_price": "10.00",
"pay_price": "0.00",
"reduction_price": "0.00",
"remark": "",
"bill_type": "4",
"bill_type_desc": "押金筐单",
"unpaid_price": "10.00"
},
{
"id": "277",
"pid": "162",
"refer_no": "KF2411221628173787",
"order_id": "11",
"should_price": "5.55",
"actual_price": "5.55",
"pay_price": "0.00",
"reduction_price": "0.00",
"remark": "",
"bill_type": "6",
"bill_type_desc": "客户费用",
"unpaid_price": "5.55"
},
{
"id": "280",
"pid": "162",
"refer_no": "DD24112700039FWF",
"order_id": "2317",
"should_price": "14.00",
"actual_price": "0.00",
"pay_price": "0.00",
"reduction_price": "14.00",
"remark": "",
"bill_type": "7",
"bill_type_desc": "订单服务费",
"unpaid_price": "14.00"
},
{
"id": "283",
"pid": "162",
"refer_no": "RT24112720460763FWF",
"order_id": "2317",
"should_price": "-4.00",
"actual_price": "-4.00",
"pay_price": "0.00",
"reduction_price": "0.00",
"remark": "",
"bill_type": "9",
"bill_type_desc": "订单服务费退款",
"unpaid_price": "-4.00"
}
]
}
],
"pageParams": {
"page": "1",
"total_page": 158,
"page_size": "1",
"count": "158"
}
},
"message": null
}