POST api/ProductProfit/GetDetail
Request Information
URI Parameters
None.
Body Parameters
ProductProfitDetailReq| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| PlatformTypes | Collection of PlatformType |
None. |
|
| ShopIds | Collection of integer |
None. |
|
| ShopId | integer |
None. |
|
| WarehouseId | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| Currency | CurrencyTypeEnum |
None. |
|
| BrushOrderType | BrushOrderTypeEnum |
None. |
|
| ReportType | ReportProfitTypeEnum |
None. |
|
| Periodic | ReportPeriodicEnum |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"PlatformTypes": [
0,
0
],
"ShopIds": [
1,
2
],
"ShopId": 2,
"WarehouseId": 1,
"StartTime": "2026-08-11 21:57:08",
"EndTime": "2026-08-11 21:57:08",
"Currency": 0,
"BrushOrderType": 0,
"ReportType": 0,
"Periodic": 0
}
application/xml, text/xml
Sample:
<ProductProfitDetailReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Warehouse">
<BrushOrderType>Normal</BrushOrderType>
<Currency>CNY</Currency>
<EndTime>2026-08-11T21:57:08.343421+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>Sku</ReportType>
<ShopId>2</ShopId>
<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:08.343421+08:00</StartTime>
<WarehouseId>1</WarehouseId>
</ProductProfitDetailReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfProductProfitDetailRes| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | ProductProfitDetailRes |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": {
"PlatformType": "sample string 1",
"ImageUrl": "sample string 2",
"CnName": "sample string 3",
"Sku": "sample string 4",
"ShopName": "sample string 5",
"Datas": [
{
"DateName": "sample string 1",
"Profit": 2.0,
"AvgProfit": 3.0,
"SalesProfitRate": 4.0,
"CostProfitRate": 5.0,
"SalesTotal": 6,
"OrderTotal": 7,
"SalesAmount": 8.0,
"BuyerFreight": 9.0,
"SubsidyAmount": 10.0,
"InOtherFee": 11.0,
"TotalAmount": 12.0,
"CostPrice": 13.0,
"ActualFreight": 14.0,
"PlatformFee": 15.0,
"AdvertisingFee": 16.0,
"Coupon": 17.0,
"TaxFee": 18.0,
"OutOtherFee": 19.0,
"PayTotal": 20.0,
"RefundTotal": 21,
"RefundAmount": 22.0,
"RefundRate": 23.0
},
{
"DateName": "sample string 1",
"Profit": 2.0,
"AvgProfit": 3.0,
"SalesProfitRate": 4.0,
"CostProfitRate": 5.0,
"SalesTotal": 6,
"OrderTotal": 7,
"SalesAmount": 8.0,
"BuyerFreight": 9.0,
"SubsidyAmount": 10.0,
"InOtherFee": 11.0,
"TotalAmount": 12.0,
"CostPrice": 13.0,
"ActualFreight": 14.0,
"PlatformFee": 15.0,
"AdvertisingFee": 16.0,
"Coupon": 17.0,
"TaxFee": 18.0,
"OutOtherFee": 19.0,
"PayTotal": 20.0,
"RefundTotal": 21,
"RefundAmount": 22.0,
"RefundRate": 23.0
}
]
}
}
application/xml, text/xml
Sample:
<ResponseResultOfProductProfitDetailResoB6oUyE0 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.Warehouse">
<d2p1:CnName>sample string 3</d2p1:CnName>
<d2p1:Datas>
<d2p1:ProductProfitDetail>
<d2p1:ActualFreight>14</d2p1:ActualFreight>
<d2p1:AdvertisingFee>16</d2p1:AdvertisingFee>
<d2p1:AvgProfit>3</d2p1:AvgProfit>
<d2p1:BuyerFreight>9</d2p1:BuyerFreight>
<d2p1:CostPrice>13</d2p1:CostPrice>
<d2p1:CostProfitRate>5</d2p1:CostProfitRate>
<d2p1:Coupon>17</d2p1:Coupon>
<d2p1:DateName>sample string 1</d2p1:DateName>
<d2p1:InOtherFee>11</d2p1:InOtherFee>
<d2p1:OrderTotal>7</d2p1:OrderTotal>
<d2p1:OutOtherFee>19</d2p1:OutOtherFee>
<d2p1:PayTotal>20</d2p1:PayTotal>
<d2p1:PlatformFee>15</d2p1:PlatformFee>
<d2p1:Profit>2</d2p1:Profit>
<d2p1:RefundAmount>22</d2p1:RefundAmount>
<d2p1:RefundRate>23</d2p1:RefundRate>
<d2p1:RefundTotal>21</d2p1:RefundTotal>
<d2p1:SalesAmount>8</d2p1:SalesAmount>
<d2p1:SalesProfitRate>4</d2p1:SalesProfitRate>
<d2p1:SalesTotal>6</d2p1:SalesTotal>
<d2p1:SubsidyAmount>10</d2p1:SubsidyAmount>
<d2p1:TaxFee>18</d2p1:TaxFee>
<d2p1:TotalAmount>12</d2p1:TotalAmount>
</d2p1:ProductProfitDetail>
<d2p1:ProductProfitDetail>
<d2p1:ActualFreight>14</d2p1:ActualFreight>
<d2p1:AdvertisingFee>16</d2p1:AdvertisingFee>
<d2p1:AvgProfit>3</d2p1:AvgProfit>
<d2p1:BuyerFreight>9</d2p1:BuyerFreight>
<d2p1:CostPrice>13</d2p1:CostPrice>
<d2p1:CostProfitRate>5</d2p1:CostProfitRate>
<d2p1:Coupon>17</d2p1:Coupon>
<d2p1:DateName>sample string 1</d2p1:DateName>
<d2p1:InOtherFee>11</d2p1:InOtherFee>
<d2p1:OrderTotal>7</d2p1:OrderTotal>
<d2p1:OutOtherFee>19</d2p1:OutOtherFee>
<d2p1:PayTotal>20</d2p1:PayTotal>
<d2p1:PlatformFee>15</d2p1:PlatformFee>
<d2p1:Profit>2</d2p1:Profit>
<d2p1:RefundAmount>22</d2p1:RefundAmount>
<d2p1:RefundRate>23</d2p1:RefundRate>
<d2p1:RefundTotal>21</d2p1:RefundTotal>
<d2p1:SalesAmount>8</d2p1:SalesAmount>
<d2p1:SalesProfitRate>4</d2p1:SalesProfitRate>
<d2p1:SalesTotal>6</d2p1:SalesTotal>
<d2p1:SubsidyAmount>10</d2p1:SubsidyAmount>
<d2p1:TaxFee>18</d2p1:TaxFee>
<d2p1:TotalAmount>12</d2p1:TotalAmount>
</d2p1:ProductProfitDetail>
</d2p1:Datas>
<d2p1:ImageUrl>sample string 2</d2p1:ImageUrl>
<d2p1:PlatformType>sample string 1</d2p1:PlatformType>
<d2p1:ShopName>sample string 5</d2p1:ShopName>
<d2p1:Sku>sample string 4</d2p1:Sku>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfProductProfitDetailResoB6oUyE0>