- CategoryAPI
- ProductAPI
- Prices&StocksAPI
- Promos
- PricingStrategyAPI
- WarehouseAPI
- PolygonAPI
- FBS&rFBSMarks
- FBS
- ReturnsAPI
- CancellationAPI
- ChatAPI
- ReportAPI
- AnalyticsAPI
- FinanceAPI
报告清单
POST
/v1/report/list
ReportAPI
请求参数
Header 参数
Client-Id
string
用户识别号。
示例值:
{{Client-Id}}
Api-Key
string
API-密钥。
示例值:
{{Api-Key}}
Body 参数application/json
page
integer <int32>
页数。
page_size
integer <int32>
可选
report_type
string
可选
ALL
— 所有报告,SELLER_PRODUCTS
— 商品报告,SELLER_TRANSACTIONS
— 交易报告,SELLER_PRODUCT_PRICES
— 商品价格报告,SELLER_STOCK
— 商品库存报告,SELLER_RETURNS
— 退货报告,SELLER_POSTINGS
— 发货报告,SELLER_FINANCE
— 财务报告,SELLER_PRODUCT_DISCOUNTED
— 减价商品报告。默认值:
ALL
示例
{
"page": 0,
"page_size": 1000,
"report_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/v1/report/list' \
--header 'Client-Id: ' \
--header 'Api-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"page": 0,
"page_size": 1000,
"report_type": "ALL"
}'
返回响应
🟢200报告清单
application/json
Body
result
object (object)
请求结果。
reports
array[object (Common) {7}]
可选
total
integer <int32>
累计报告数。
示例
{
"result": {
"reports": [
{
"code": "cd3f2c76-2b9a-4e77-a5a9-7ab52678b3bf",
"status": "success",
"error": "",
"file": "https://minio-production.s3.s.o3.ru:8000/sc-temporary/89/0e/890ef6e360a6396f.csv",
"report_type": "seller_products",
"params": {
"visibility": "3"
},
"created_at": "2019-02-06T12:09:47.258062Z"
},
{
"code": "c39f5fe4-c00b-4e95-a487-6ad34c1e34a3",
"status": "success",
"error": "",
"file": "https://minio-production.s3.s.o3.ru:8000/reports/a7/48/a7481a083873e164.csv",
"report_type": "seller_products",
"params": {
"visibility": "3"
},
"created_at": "2019-02-15T08:34:32.267178Z"
}
],
"total": 2
}
}
🟠400参数有误
🟠403拒绝访问
🟠404未找到答案
🟠409请求冲突
🔴500内部服务器错误
修改于 2023-11-03 06:04:11