POST api/SalesStatistics/GetDetail
Request Information
URI Parameters
None.
Body Parameters
SalesStatisticsGetDetailReq| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| PlatformTypes | Collection of PlatformType |
None. |
|
| ShopIds | Collection of integer |
None. |
|
| CountryCodes | Collection of string |
None. |
|
| ReportType | ReportTypeEnum |
None. |
|
| Periodic | ReportPeriodicEnum |
None. |
|
| Currency | CurrencyTypeEnum |
None. |
|
| BrushOrderType | BrushOrderTypeEnum |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"PlatformTypes": [
0,
0
],
"ShopIds": [
1,
2
],
"CountryCodes": [
"sample string 1",
"sample string 2"
],
"ReportType": 0,
"Periodic": 0,
"Currency": 0,
"BrushOrderType": 0,
"StartTime": "2026-08-11 21:57:13",
"EndTime": "2026-08-11 21:57:13"
}
application/xml, text/xml
Sample:
<SalesStatisticsGetDetailReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product.SalesStatistics">
<BrushOrderType>Normal</BrushOrderType>
<CountryCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CountryCodes>
<Currency>CNY</Currency>
<EndTime>2026-08-11T21:57:13.0402706+08:00</EndTime>
<Id>sample string 1</Id>
<Periodic>Day</Periodic>
<PlatformTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Willv.Common.Enum">
<d2p1:PlatformType>AliExpress</d2p1:PlatformType>
<d2p1:PlatformType>AliExpress</d2p1:PlatformType>
</PlatformTypes>
<ReportType>OnlineProductId</ReportType>
<ShopIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ShopIds>
<StartTime>2026-08-11T21:57:13.0402706+08:00</StartTime>
</SalesStatisticsGetDetailReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfSalesStatisticsGetDetailRes| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | SalesStatisticsGetDetailRes |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": {
"OnlineProductId": "sample string 1",
"ImageUrl": "sample string 2",
"Title": "sample string 3",
"Specification": "sample string 4",
"Sku": "sample string 5",
"CnName": "sample string 6",
"Datas": [
{
"DateName": "sample string 1",
"SalesTotal": 2,
"OrderTotal": 3,
"Amount": 4.0,
"AvePrice": 2.0,
"RefundTotal": 5,
"RefundAmount": 6.0,
"CostPrice": 7.0,
"AdvertisingFee": 8.0,
"PlatformFee": 9.0,
"PromotionFee": 10.0,
"ActualShippingFee": 11.0,
"OtherFee": 12.0
},
{
"DateName": "sample string 1",
"SalesTotal": 2,
"OrderTotal": 3,
"Amount": 4.0,
"AvePrice": 2.0,
"RefundTotal": 5,
"RefundAmount": 6.0,
"CostPrice": 7.0,
"AdvertisingFee": 8.0,
"PlatformFee": 9.0,
"PromotionFee": 10.0,
"ActualShippingFee": 11.0,
"OtherFee": 12.0
}
]
}
}
application/xml, text/xml
Sample:
<ResponseResultOfSalesStatisticsGetDetailResL44cPsYs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Willv.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product.SalesStatistics">
<d2p1:CnName>sample string 6</d2p1:CnName>
<d2p1:Datas>
<d2p1:SalesStatisticsGetDetail>
<d2p1:ActualShippingFee>11</d2p1:ActualShippingFee>
<d2p1:AdvertisingFee>8</d2p1:AdvertisingFee>
<d2p1:Amount>4</d2p1:Amount>
<d2p1:CostPrice>7</d2p1:CostPrice>
<d2p1:Currency>sample string 13</d2p1:Currency>
<d2p1:DateName>sample string 1</d2p1:DateName>
<d2p1:OrderTotal>3</d2p1:OrderTotal>
<d2p1:OtherFee>12</d2p1:OtherFee>
<d2p1:PlatformFee>9</d2p1:PlatformFee>
<d2p1:PromotionFee>10</d2p1:PromotionFee>
<d2p1:RefundAmount>6</d2p1:RefundAmount>
<d2p1:RefundTotal>5</d2p1:RefundTotal>
<d2p1:ReportDate>14</d2p1:ReportDate>
<d2p1:SalesTotal>2</d2p1:SalesTotal>
</d2p1:SalesStatisticsGetDetail>
<d2p1:SalesStatisticsGetDetail>
<d2p1:ActualShippingFee>11</d2p1:ActualShippingFee>
<d2p1:AdvertisingFee>8</d2p1:AdvertisingFee>
<d2p1:Amount>4</d2p1:Amount>
<d2p1:CostPrice>7</d2p1:CostPrice>
<d2p1:Currency>sample string 13</d2p1:Currency>
<d2p1:DateName>sample string 1</d2p1:DateName>
<d2p1:OrderTotal>3</d2p1:OrderTotal>
<d2p1:OtherFee>12</d2p1:OtherFee>
<d2p1:PlatformFee>9</d2p1:PlatformFee>
<d2p1:PromotionFee>10</d2p1:PromotionFee>
<d2p1:RefundAmount>6</d2p1:RefundAmount>
<d2p1:RefundTotal>5</d2p1:RefundTotal>
<d2p1:ReportDate>14</d2p1:ReportDate>
<d2p1:SalesTotal>2</d2p1:SalesTotal>
</d2p1:SalesStatisticsGetDetail>
</d2p1:Datas>
<d2p1:ImageUrl>sample string 2</d2p1:ImageUrl>
<d2p1:OnlineProductId>sample string 1</d2p1:OnlineProductId>
<d2p1:Sku>sample string 5</d2p1:Sku>
<d2p1:Specification>sample string 4</d2p1:Specification>
<d2p1:Title>sample string 3</d2p1:Title>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfSalesStatisticsGetDetailResL44cPsYs>