POST api/ProductProfit/Query
Request Information
URI Parameters
None.
Body Parameters
ProductProfitQueryReq| Name | Description | Type | Additional information |
|---|---|---|---|
| PlatformTypes | Collection of PlatformType |
None. |
|
| ShopIds | Collection of integer |
None. |
|
| WarehouseId | integer |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| Currency | CurrencyTypeEnum |
None. |
|
| ReportType | ReportProfitTypeEnum |
None. |
|
| SearchField | ProductProfitSearchFieldEnum |
None. |
|
| BrushOrderType | BrushOrderTypeEnum |
None. |
|
| SearchValue | string |
None. |
|
| IsLike | boolean |
None. |
|
| Sort | SearchSort |
None. |
|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PlatformTypes": [
0,
0
],
"ShopIds": [
1,
2
],
"WarehouseId": 1,
"StartTime": "2026-08-11 21:57:17",
"EndTime": "2026-08-11 21:57:17",
"Currency": 0,
"ReportType": 0,
"SearchField": 0,
"BrushOrderType": 0,
"SearchValue": "sample string 3",
"IsLike": true,
"Sort": {
"Field": "sample string 1",
"IsDesc": true
},
"PageIndex": 6,
"PageSize": 7
}
application/xml, text/xml
Sample:
<ProductProfitQueryReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Warehouse">
<PageIndex xmlns="http://schemas.datacontract.org/2004/07/MS.Common">6</PageIndex>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/MS.Common">7</PageSize>
<BrushOrderType>Normal</BrushOrderType>
<Currency>CNY</Currency>
<EndTime>2026-08-11T21:57:17.1948422+08:00</EndTime>
<IsExport>true</IsExport>
<IsLike>true</IsLike>
<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>
<SearchField>Sku</SearchField>
<SearchValue>sample string 3</SearchValue>
<ShopIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ShopIds>
<Sort xmlns:d2p1="http://schemas.datacontract.org/2004/07/MS.Report.Model.Product">
<d2p1:Field>sample string 1</d2p1:Field>
<d2p1:IsDesc>true</d2p1:IsDesc>
</Sort>
<StartTime>2026-08-11T21:57:17.1948422+08:00</StartTime>
<WarehouseId>1</WarehouseId>
</ProductProfitQueryReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultOfPageListModelOfProductProfitReportRes| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | PageListModelOfProductProfitReportRes |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": {
"Rows": [
{
"Id": "1967f69c-8a4c-4b2f-bbbf-d9a2845f33c6",
"ImageUrl": "sample string 2",
"CnName": "sample string 3",
"Sku": "sample string 4",
"PlatformType": "sample string 5",
"ShopName": "sample string 6",
"ShopId": 7,
"Profit": 8.0,
"AvgProfit": 9.0,
"SalesProfitRate": 10.0,
"CostProfitRate": 11.0,
"SalesTotal": 12,
"OrderTotal": 13,
"SalesAmount": 14.0,
"BuyerFreight": 15.0,
"SubsidyAmount": 16.0,
"InOtherFee": 17.0,
"TotalAmount": 18.0,
"CostPrice": 19.0,
"ActualFreight": 20.0,
"PlatformFee": 21.0,
"AdvertisingFee": 22.0,
"Coupon": 23.0,
"TaxFee": 24.0,
"OutOtherFee": 25.0,
"PayTotal": 26.0,
"RefundTotal": 27,
"RefundAmount": 28.0,
"RefundRate": 29.0
},
{
"Id": "1967f69c-8a4c-4b2f-bbbf-d9a2845f33c6",
"ImageUrl": "sample string 2",
"CnName": "sample string 3",
"Sku": "sample string 4",
"PlatformType": "sample string 5",
"ShopName": "sample string 6",
"ShopId": 7,
"Profit": 8.0,
"AvgProfit": 9.0,
"SalesProfitRate": 10.0,
"CostProfitRate": 11.0,
"SalesTotal": 12,
"OrderTotal": 13,
"SalesAmount": 14.0,
"BuyerFreight": 15.0,
"SubsidyAmount": 16.0,
"InOtherFee": 17.0,
"TotalAmount": 18.0,
"CostPrice": 19.0,
"ActualFreight": 20.0,
"PlatformFee": 21.0,
"AdvertisingFee": 22.0,
"Coupon": 23.0,
"TaxFee": 24.0,
"OutOtherFee": 25.0,
"PayTotal": 26.0,
"RefundTotal": 27,
"RefundAmount": 28.0,
"RefundRate": 29.0
}
],
"Total": 1,
"PageIndex": 2,
"PageSize": 3
}
}
application/xml, text/xml
Sample:
<ResponseResultOfPageListModelOfProductProfitReportResoB6oUyE0G0fLBEQf 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.Common">
<d2p1:PageIndex>2</d2p1:PageIndex>
<d2p1:PageSize>3</d2p1:PageSize>
<d2p1:Rows xmlns:d3p1="http://schemas.datacontract.org/2004/07/MS.Report.Model.Warehouse">
<d3p1:ProductProfitReportRes>
<d3p1:ActualFreight>20</d3p1:ActualFreight>
<d3p1:AdvertisingFee>22</d3p1:AdvertisingFee>
<d3p1:AvgProfit>9</d3p1:AvgProfit>
<d3p1:BuyerFreight>15</d3p1:BuyerFreight>
<d3p1:CnName>sample string 3</d3p1:CnName>
<d3p1:CostPrice>19</d3p1:CostPrice>
<d3p1:CostProfitRate>11</d3p1:CostProfitRate>
<d3p1:Coupon>23</d3p1:Coupon>
<d3p1:Id>1967f69c-8a4c-4b2f-bbbf-d9a2845f33c6</d3p1:Id>
<d3p1:ImageUrl>sample string 2</d3p1:ImageUrl>
<d3p1:InOtherFee>17</d3p1:InOtherFee>
<d3p1:OrderTotal>13</d3p1:OrderTotal>
<d3p1:OutOtherFee>25</d3p1:OutOtherFee>
<d3p1:PayTotal>26</d3p1:PayTotal>
<d3p1:PlatformFee>21</d3p1:PlatformFee>
<d3p1:PlatformType>sample string 5</d3p1:PlatformType>
<d3p1:Profit>8</d3p1:Profit>
<d3p1:RefundAmount>28</d3p1:RefundAmount>
<d3p1:RefundRate>29</d3p1:RefundRate>
<d3p1:RefundTotal>27</d3p1:RefundTotal>
<d3p1:SalesAmount>14</d3p1:SalesAmount>
<d3p1:SalesProfitRate>10</d3p1:SalesProfitRate>
<d3p1:SalesTotal>12</d3p1:SalesTotal>
<d3p1:ShopId>7</d3p1:ShopId>
<d3p1:ShopName>sample string 6</d3p1:ShopName>
<d3p1:Sku>sample string 4</d3p1:Sku>
<d3p1:SubsidyAmount>16</d3p1:SubsidyAmount>
<d3p1:TaxFee>24</d3p1:TaxFee>
<d3p1:TotalAmount>18</d3p1:TotalAmount>
</d3p1:ProductProfitReportRes>
<d3p1:ProductProfitReportRes>
<d3p1:ActualFreight>20</d3p1:ActualFreight>
<d3p1:AdvertisingFee>22</d3p1:AdvertisingFee>
<d3p1:AvgProfit>9</d3p1:AvgProfit>
<d3p1:BuyerFreight>15</d3p1:BuyerFreight>
<d3p1:CnName>sample string 3</d3p1:CnName>
<d3p1:CostPrice>19</d3p1:CostPrice>
<d3p1:CostProfitRate>11</d3p1:CostProfitRate>
<d3p1:Coupon>23</d3p1:Coupon>
<d3p1:Id>1967f69c-8a4c-4b2f-bbbf-d9a2845f33c6</d3p1:Id>
<d3p1:ImageUrl>sample string 2</d3p1:ImageUrl>
<d3p1:InOtherFee>17</d3p1:InOtherFee>
<d3p1:OrderTotal>13</d3p1:OrderTotal>
<d3p1:OutOtherFee>25</d3p1:OutOtherFee>
<d3p1:PayTotal>26</d3p1:PayTotal>
<d3p1:PlatformFee>21</d3p1:PlatformFee>
<d3p1:PlatformType>sample string 5</d3p1:PlatformType>
<d3p1:Profit>8</d3p1:Profit>
<d3p1:RefundAmount>28</d3p1:RefundAmount>
<d3p1:RefundRate>29</d3p1:RefundRate>
<d3p1:RefundTotal>27</d3p1:RefundTotal>
<d3p1:SalesAmount>14</d3p1:SalesAmount>
<d3p1:SalesProfitRate>10</d3p1:SalesProfitRate>
<d3p1:SalesTotal>12</d3p1:SalesTotal>
<d3p1:ShopId>7</d3p1:ShopId>
<d3p1:ShopName>sample string 6</d3p1:ShopName>
<d3p1:Sku>sample string 4</d3p1:Sku>
<d3p1:SubsidyAmount>16</d3p1:SubsidyAmount>
<d3p1:TaxFee>24</d3p1:TaxFee>
<d3p1:TotalAmount>18</d3p1:TotalAmount>
</d3p1:ProductProfitReportRes>
</d2p1:Rows>
<d2p1:Total>1</d2p1:Total>
</Data>
<ErrorCode>sample string 2</ErrorCode>
<ErrorMessage>sample string 3</ErrorMessage>
<Status>true</Status>
</ResponseResultOfPageListModelOfProductProfitReportResoB6oUyE0G0fLBEQf>