- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
- DeliveryFBS
- DeliveryrFBS
- Pass
- RFBSReturnsAPI
- BetaMethod
- Examples
- ReviewAPI
清单数目
POST
/v3/finance/transaction/totals
FinanceAPI
与个人中心中的财务→应计费用→总金额横幅部分相符。
请求参数
Header 参数
Client-Id
string
用户识别号。
Api-Key
string
API-密钥。
Body 参数application/json
object
One of
date
object
object
posting_number
string
发货号。
transaction_type
string
可选
all
— 所有,orders
— 订单,returns
— 退货和取消,services
— 服务费,compensation
— 补贴,transferDelivery
— 快递费用,other
— 其他。示例
{
"date": {
"from": "2021-11-01T00:00:00.000Z",
"to": "2021-11-02T00:00:00.000Z"
},
"posting_number": "",
"transaction_type": "all"
}
示例代码
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/v3/finance/transaction/totals' \
--header 'Client-Id;' \
--header 'Api-Key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"date": {
"from": "2021-11-01T00:00:00.000Z",
"to": "2021-11-02T00:00:00.000Z"
},
"posting_number": "",
"transaction_type": "all"
}'
返回响应
🟢200成功
application/json
Body
result
object (object)
询问结果。
accruals_for_sale
number <double>
可选
compensation_amount
number <double>
补贴。
money_transfer
number <double>
可选
others_amount
number <double>
其他应计费用。
processing_and_delivery
number <double>
可选
refunds_and_cancellations
number <double>
可选
sale_commission
number <double>
可选
services_amount
number <double>
可选
示例
{
"result": {
"accruals_for_sale": 96647.58,
"sale_commission": -11456.65,
"processing_and_delivery": -24405.68,
"refunds_and_cancellations": -330,
"services_amount": -1307.57,
"compensation_amount": 0,
"money_transfer": 0,
"others_amount": 113.05
}
}
🟠400请求有误
🟠403禁止访问
🟠404记录不存在
🟠409409
🔴500服务器错误
修改于 2025-06-10 08:30:17