POST api/ShopSalesAnalysis/GetOrderReport

Request Information

URI Parameters

None.

Body Parameters

OrderSalesAnalysisReportReq
NameDescriptionTypeAdditional information
QuerySummaryInfo

boolean

None.

Sort

SearchSort

None.

Currency

CurrencyTypeEnum

None.

Periodic

ShopReportPeriodicEnum

None.

StartTime

date

None.

EndTime

date

None.

PlatformTypes

Collection of PlatformType

None.

ShopIds

Collection of integer

None.

BrushOrderType

BrushOrderTypeEnum

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "QuerySummaryInfo": true,
  "Sort": {
    "Field": "sample string 1",
    "IsDesc": true
  },
  "Currency": 0,
  "Periodic": 0,
  "StartTime": "2026-08-11 21:22:33",
  "EndTime": "2026-08-11 21:22:33",
  "PlatformTypes": [
    0,
    0
  ],
  "ShopIds": [
    1,
    2
  ],
  "BrushOrderType": 0,
  "PageIndex": 4,
  "PageSize": 5
}

application/xml, text/xml

Sample:
<OrderSalesAnalysisReportReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop.ShopAnalysis">
  <PageIndex xmlns="http://schemas.datacontract.org/2004/07/MS.Common">4</PageIndex>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/MS.Common">5</PageSize>
  <BrushOrderType xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">Normal</BrushOrderType>
  <Currency xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">CNY</Currency>
  <EndTime xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">2026-08-11T21:22:33.6536503+08:00</EndTime>
  <Periodic xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">SelectDateRange</Periodic>
  <PlatformTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Willv.Common.Enum" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">
    <d2p1:PlatformType>AliExpress</d2p1:PlatformType>
    <d2p1:PlatformType>AliExpress</d2p1:PlatformType>
  </PlatformTypes>
  <ShopIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ShopIds>
  <StartTime xmlns="http://schemas.datacontract.org/2004/07/MS.Report.Model.Shop">2026-08-11T21:22:33.6536503+08:00</StartTime>
  <QuerySummaryInfo>true</QuerySummaryInfo>
  <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>
</OrderSalesAnalysisReportReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseResultOfOrderSalesAnalysisReportRes
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

OrderSalesAnalysisReportRes

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": {
    "SummaryInfo": {
      "PayMentAmount": 1.0,
      "PayMentSalesTotal": 2,
      "PayMentTotal": 3,
      "RefundTotal": 4,
      "RefundAmount": 5.0
    },
    "PriceSummary": [
      {
        "PriceName": "sample string 1",
        "SalesTotal": 2,
        "OrderTotal": 3,
        "CostPrice": 4.0,
        "SalesProfitRate": 5.0,
        "PriceRate": 6.0
      },
      {
        "PriceName": "sample string 1",
        "SalesTotal": 2,
        "OrderTotal": 3,
        "CostPrice": 4.0,
        "SalesProfitRate": 5.0,
        "PriceRate": 6.0
      }
    ],
    "SkuSummary": [
      {
        "SkuQuantity": 1,
        "OrderTotal": 2,
        "SkRate": 3.0
      },
      {
        "SkuQuantity": 1,
        "OrderTotal": 2,
        "SkRate": 3.0
      }
    ],
    "PageData": {
      "Rows": [
        {
          "DateName": "sample string 1",
          "RefundRate": 200.0,
          "CostProfitRate": 133.33,
          "SalesProfitRate": 33.33,
          "ActualShippingFee": 13.0,
          "ReportDate": 2,
          "Currency": "sample string 3",
          "PayMentAmount": 4.0,
          "PayMentSalesTotal": 5,
          "PayMentTotal": 6,
          "CostPrice": 7.0,
          "PromotionFee": 8.0,
          "LogisticsCost": 9.0,
          "RefundTotal": 10,
          "RefundAmount": 11.0,
          "EstimatedProfit": 12.0,
          "ActualFreight": 13.0,
          "AdvertisingFee": 14.0,
          "OtherFee": 15.0
        },
        {
          "DateName": "sample string 1",
          "RefundRate": 200.0,
          "CostProfitRate": 133.33,
          "SalesProfitRate": 33.33,
          "ActualShippingFee": 13.0,
          "ReportDate": 2,
          "Currency": "sample string 3",
          "PayMentAmount": 4.0,
          "PayMentSalesTotal": 5,
          "PayMentTotal": 6,
          "CostPrice": 7.0,
          "PromotionFee": 8.0,
          "LogisticsCost": 9.0,
          "RefundTotal": 10,
          "RefundAmount": 11.0,
          "EstimatedProfit": 12.0,
          "ActualFreight": 13.0,
          "AdvertisingFee": 14.0,
          "OtherFee": 15.0
        }
      ],
      "Total": 1,
      "PageIndex": 2,
      "PageSize": 3
    }
  }
}

application/xml, text/xml

Sample:
<ResponseResultOfOrderSalesAnalysisReportResAIo4_PnOe 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.Shop.ShopAnalysis">
    <d2p1:PageData xmlns:d3p1="http://schemas.datacontract.org/2004/07/MS.Common">
      <d3p1:PageIndex>2</d3p1:PageIndex>
      <d3p1:PageSize>3</d3p1:PageSize>
      <d3p1:Rows>
        <d2p1:OrderSalesAnalysisReportData>
          <d2p1:ActualFreight>13</d2p1:ActualFreight>
          <d2p1:AdvertisingFee>14</d2p1:AdvertisingFee>
          <d2p1:CostPrice>7</d2p1:CostPrice>
          <d2p1:Currency>sample string 3</d2p1:Currency>
          <d2p1:EstimatedProfit>12</d2p1:EstimatedProfit>
          <d2p1:LogisticsCost>9</d2p1:LogisticsCost>
          <d2p1:OtherFee>15</d2p1:OtherFee>
          <d2p1:PayMentAmount>4</d2p1:PayMentAmount>
          <d2p1:PayMentSalesTotal>5</d2p1:PayMentSalesTotal>
          <d2p1:PayMentTotal>6</d2p1:PayMentTotal>
          <d2p1:PromotionFee>8</d2p1:PromotionFee>
          <d2p1:RefundAmount>11</d2p1:RefundAmount>
          <d2p1:RefundTotal>10</d2p1:RefundTotal>
          <d2p1:ReportDate>2</d2p1:ReportDate>
          <d2p1:DateName>sample string 1</d2p1:DateName>
        </d2p1:OrderSalesAnalysisReportData>
        <d2p1:OrderSalesAnalysisReportData>
          <d2p1:ActualFreight>13</d2p1:ActualFreight>
          <d2p1:AdvertisingFee>14</d2p1:AdvertisingFee>
          <d2p1:CostPrice>7</d2p1:CostPrice>
          <d2p1:Currency>sample string 3</d2p1:Currency>
          <d2p1:EstimatedProfit>12</d2p1:EstimatedProfit>
          <d2p1:LogisticsCost>9</d2p1:LogisticsCost>
          <d2p1:OtherFee>15</d2p1:OtherFee>
          <d2p1:PayMentAmount>4</d2p1:PayMentAmount>
          <d2p1:PayMentSalesTotal>5</d2p1:PayMentSalesTotal>
          <d2p1:PayMentTotal>6</d2p1:PayMentTotal>
          <d2p1:PromotionFee>8</d2p1:PromotionFee>
          <d2p1:RefundAmount>11</d2p1:RefundAmount>
          <d2p1:RefundTotal>10</d2p1:RefundTotal>
          <d2p1:ReportDate>2</d2p1:ReportDate>
          <d2p1:DateName>sample string 1</d2p1:DateName>
        </d2p1:OrderSalesAnalysisReportData>
      </d3p1:Rows>
      <d3p1:Total>1</d3p1:Total>
    </d2p1:PageData>
    <d2p1:PriceSummary>
      <d2p1:OrderSalesAnalysisReportPriceSummary>
        <d2p1:CostPrice>4</d2p1:CostPrice>
        <d2p1:OrderTotal>3</d2p1:OrderTotal>
        <d2p1:PriceName>sample string 1</d2p1:PriceName>
        <d2p1:PriceRate>6</d2p1:PriceRate>
        <d2p1:SalesProfitRate>5</d2p1:SalesProfitRate>
        <d2p1:SalesTotal>2</d2p1:SalesTotal>
      </d2p1:OrderSalesAnalysisReportPriceSummary>
      <d2p1:OrderSalesAnalysisReportPriceSummary>
        <d2p1:CostPrice>4</d2p1:CostPrice>
        <d2p1:OrderTotal>3</d2p1:OrderTotal>
        <d2p1:PriceName>sample string 1</d2p1:PriceName>
        <d2p1:PriceRate>6</d2p1:PriceRate>
        <d2p1:SalesProfitRate>5</d2p1:SalesProfitRate>
        <d2p1:SalesTotal>2</d2p1:SalesTotal>
      </d2p1:OrderSalesAnalysisReportPriceSummary>
    </d2p1:PriceSummary>
    <d2p1:SkuSummary>
      <d2p1:OrderSalesAnalysisReportSkuSummary>
        <d2p1:OrderTotal>2</d2p1:OrderTotal>
        <d2p1:SkRate>3</d2p1:SkRate>
        <d2p1:SkuQuantity>1</d2p1:SkuQuantity>
      </d2p1:OrderSalesAnalysisReportSkuSummary>
      <d2p1:OrderSalesAnalysisReportSkuSummary>
        <d2p1:OrderTotal>2</d2p1:OrderTotal>
        <d2p1:SkRate>3</d2p1:SkRate>
        <d2p1:SkuQuantity>1</d2p1:SkuQuantity>
      </d2p1:OrderSalesAnalysisReportSkuSummary>
    </d2p1:SkuSummary>
    <d2p1:SummaryInfo>
      <d2p1:PayMentAmount>1</d2p1:PayMentAmount>
      <d2p1:PayMentSalesTotal>2</d2p1:PayMentSalesTotal>
      <d2p1:PayMentTotal>3</d2p1:PayMentTotal>
      <d2p1:RefundAmount>5</d2p1:RefundAmount>
      <d2p1:RefundTotal>4</d2p1:RefundTotal>
    </d2p1:SummaryInfo>
  </Data>
  <ErrorCode>sample string 2</ErrorCode>
  <ErrorMessage>sample string 3</ErrorMessage>
  <Status>true</Status>
</ResponseResultOfOrderSalesAnalysisReportResAIo4_PnOe>