- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
财务报告
POST
/v1/finance/cash-flow-statement/list
ReportAPI
请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
date
object (object)
报告期限。
from
string <date-time>
必需
to
string <date-time>
必需
page
integer <int32>
请求返回中的页码。
with_details
boolean
可选
true
,如果需要在响应中添加附加参数。page_size
integer <int32>
页面上的元素数量。
示例
{
"date": {
"from": "2022-01-01T00:00:00.000Z",
"to": "2022-12-31T00:00:00.000Z"
},
"with_details": true,
"page": 1,
"page_size": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-seller.ozon.ru/v1/finance/cash-flow-statement/list' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"date": {
"from": "2022-01-01T00:00:00.000Z",
"to": "2022-12-31T00:00:00.000Z"
},
"with_details": true,
"page": 1,
"page_size": 1
}'
返回响应
🟢200财务报告
application/json
Body
result
object (object)
方法操作结果。
cash_flows
array [object]
报告清单。
details
array[object (object) {11}]
细节信息。
page_count
integer <int64>
含有报告的页数。
示例
{
"result": {
"cash_flows": [
{
"commission_amount": 1437,
"currency_code": "string",
"item_delivery_and_return_amount": 1991,
"orders_amount": 1000,
"period": {
"begin": "2023-04-03T09:12:10.239Z",
"end": "2023-04-03T09:12:10.239Z",
"id": 11567022278500
},
"returns_amount": -3000,
"services_amount": 8471.28
}
],
"details": {
"period": {
"begin": "2023-04-03T09:12:10.239Z",
"end": "2023-04-03T09:12:10.239Z",
"id": 11567022278500
},
"payments": [
{
"payment": 0,
"currency_code": "string"
}
],
"begin_balance_amount": 0,
"delivery": {
"total": 0,
"amount": 0,
"delivery_services": {
"total": 0,
"items": [
{
"name": "string",
"price": 0
}
]
}
},
"return": {
"total": 0,
"amount": 0,
"return_services": {
"total": 0,
"items": [
{
"name": "string",
"price": 0
}
]
}
},
"loan": 0,
"invoice_transfer": 0,
"rfbs": {
"total": 0,
"transfer_delivery": 0,
"transfer_delivery_return": 0,
"compensation_delivery_return": 0,
"partial_compensation": 0,
"partial_compensation_return": 0
},
"services": {
"total": 0,
"items": [
{
"name": "string",
"price": 0
}
]
},
"others": {
"total": 0,
"items": [
{
"name": "string",
"price": 0
}
]
},
"end_balance_amount": 0
}
},
"page_count": 15
}
🟠400参数有误
🟠403拒绝访问
🟠404未找到答案
🟠409请求冲突
🔴500内部服务器错误
修改于 2023-11-03 06:04:11