POST Sales/ReturnRequest/ChangeReturnRequestStatus

Request Information

URI Parameters

None.

Body Parameters

ReturnRequestViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

RequestDate

date

None.

ReturnRequestStatusType

ReturnRequestStatusType

None.

ReturnRequestStatusTypeName

string

None.

ReturnRequestReason

ReturnRequestReason

None.

ReturnRequestReasonName

string

None.

RefundType

RefundType

None.

RefundTypeName

string

None.

ConditionType

ConditionType

None.

ConditionTypeName

string

None.

ReturnRequestNo

string

None.

CustomerId

integer

None.

CustomerName

string

None.

Message

string

None.

AdminRemarks

string

None.

StoreId

integer

None.

OrderDate

date

Required

OrderNo

integer

None.

GUID

globally unique identifier

None.

PaymentMethod

PaymentMethod

None.

PaymentMethodId

integer

None.

PaymentMethodName

string

None.

PaymentStatus

PaymentStatus

None.

PaymentStatusId

integer

None.

PaymentStatusName

string

None.

ShippingStatus

ShippingStatus

None.

ShippingStatusId

integer

None.

ShippingStatusName

string

None.

OrderProductId

integer

Required

ProductPrimaryImage

string

None.

ProductId

integer

None.

ProductName

string

None.

PrimaryImage

string

None.

ProductSKU

string

None.

Price

decimal number

None.

Quantity

decimal number

None.

TaxValue

decimal number

None.

TaxIn

decimal number

None.

TaxAmount

decimal number

None.

DiscountValue

decimal number

None.

DiscountIn

decimal number

None.

DiscountAmount

decimal number

None.

TotalPrice

decimal number

None.

Weight

decimal number

None.

Length

decimal number

None.

Width

decimal number

None.

Height

decimal number

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "RequestDate": "2025-04-26T16:19:36.2882819+01:00",
  "ReturnRequestStatusType": 1,
  "ReturnRequestStatusTypeName": "sample string 3",
  "ReturnRequestReason": 1,
  "ReturnRequestReasonName": "sample string 4",
  "RefundType": 1,
  "RefundTypeName": "sample string 5",
  "ConditionType": 1,
  "ConditionTypeName": "sample string 6",
  "ReturnRequestNo": "sample string 7",
  "CustomerId": 8,
  "CustomerName": "sample string 9",
  "Message": "sample string 10",
  "AdminRemarks": "sample string 11",
  "StoreId": 1,
  "OrderDate": "2025-04-26T16:19:36.2882819+01:00",
  "OrderNo": 13,
  "GUID": "d1154e9f-802a-4551-bf6a-511c0e36396e",
  "PaymentMethod": {
    "Name": "sample string 1",
    "SystemName": "sample string 2",
    "Logo": "sample string 3",
    "Id": 4,
    "Store": {
      "Name": "sample string 1",
      "URL": "sample string 2",
      "CompanyName": "sample string 3",
      "CompanyAddress": "sample string 4",
      "CompanyPhoneNumber": "sample string 5",
      "CompanyVAT": "sample string 6",
      "Published": true,
      "CreatedBy": "sample string 8",
      "CreatedDate": "2025-04-26T16:19:36.2882819+01:00",
      "ModifiedBy": "sample string 10",
      "ModifiedDate": "2025-04-26T16:19:36.2882819+01:00",
      "Id": 12
    },
    "StoreId": 1,
    "Published": true,
    "DisplayOrder": 6,
    "CreatedBy": "sample string 7",
    "CreatedDate": "2025-04-26T16:19:36.2882819+01:00",
    "ModifiedBy": "sample string 9",
    "ModifiedDate": "2025-04-26T16:19:36.2882819+01:00"
  },
  "PaymentMethodId": 15,
  "PaymentMethodName": "sample string 16",
  "PaymentStatus": 1,
  "PaymentStatusId": 17,
  "PaymentStatusName": "sample string 18",
  "ShippingStatus": 1,
  "ShippingStatusId": 19,
  "ShippingStatusName": "sample string 20",
  "OrderProductId": 21,
  "ProductPrimaryImage": "sample string 22",
  "ProductId": 23,
  "ProductName": "sample string 24",
  "PrimaryImage": "sample string 25",
  "ProductSKU": "sample string 26",
  "Price": 27.0,
  "Quantity": 28.0,
  "TaxValue": 29.0,
  "TaxIn": 30.0,
  "TaxAmount": 31.0,
  "DiscountValue": 32.0,
  "DiscountIn": 33.0,
  "DiscountAmount": 34.0,
  "TotalPrice": 35.0,
  "Weight": 36.0,
  "Length": 37.0,
  "Width": 38.0,
  "Height": 39.0,
  "ModifiedBy": "sample string 40",
  "ModifiedDate": "2025-04-26T16:19:36.2882819+01:00"
}

application/xml, text/xml

Sample:
<ReturnRequestViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Sales.ViewModel">
  <AdminRemarks>sample string 11</AdminRemarks>
  <ConditionType>Unopened</ConditionType>
  <ConditionTypeName>sample string 6</ConditionTypeName>
  <CustomerId>8</CustomerId>
  <CustomerName>sample string 9</CustomerName>
  <DiscountAmount>34</DiscountAmount>
  <DiscountIn>33</DiscountIn>
  <DiscountValue>32</DiscountValue>
  <GUID>d1154e9f-802a-4551-bf6a-511c0e36396e</GUID>
  <Height>39</Height>
  <Id>1</Id>
  <Length>37</Length>
  <Message>sample string 10</Message>
  <ModifiedBy>sample string 40</ModifiedBy>
  <ModifiedDate>2025-04-26T16:19:36.2882819+01:00</ModifiedDate>
  <OrderDate>2025-04-26T16:19:36.2882819+01:00</OrderDate>
  <OrderNo>13</OrderNo>
  <OrderProductId>21</OrderProductId>
  <PaymentMethod xmlns:d2p1="http://schemas.datacontract.org/2004/07/ECommerce.Domain.COM">
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">sample string 7</CreatedBy>
    <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">2025-04-26T16:19:36.2882819+01:00</CreatedDate>
    <DisplayOrder xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">6</DisplayOrder>
    <Id xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">4</Id>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">sample string 9</ModifiedBy>
    <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">2025-04-26T16:19:36.2882819+01:00</ModifiedDate>
    <Published xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">true</Published>
    <Store xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">
      <Id>12</Id>
      <d2p1:CompanyAddress>sample string 4</d2p1:CompanyAddress>
      <d2p1:CompanyName>sample string 3</d2p1:CompanyName>
      <d2p1:CompanyPhoneNumber>sample string 5</d2p1:CompanyPhoneNumber>
      <d2p1:CompanyVAT>sample string 6</d2p1:CompanyVAT>
      <d2p1:CreatedBy>sample string 8</d2p1:CreatedBy>
      <d2p1:CreatedDate>2025-04-26T16:19:36.2882819+01:00</d2p1:CreatedDate>
      <d2p1:ModifiedBy>sample string 10</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2025-04-26T16:19:36.2882819+01:00</d2p1:ModifiedDate>
      <d2p1:Name>sample string 1</d2p1:Name>
      <d2p1:Published>true</d2p1:Published>
      <d2p1:URL>sample string 2</d2p1:URL>
    </Store>
    <StoreId xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Domain">1</StoreId>
    <d2p1:Logo>sample string 3</d2p1:Logo>
    <d2p1:Name>sample string 1</d2p1:Name>
    <d2p1:SystemName>sample string 2</d2p1:SystemName>
  </PaymentMethod>
  <PaymentMethodId>15</PaymentMethodId>
  <PaymentMethodName>sample string 16</PaymentMethodName>
  <PaymentStatus>All</PaymentStatus>
  <PaymentStatusId>17</PaymentStatusId>
  <PaymentStatusName>sample string 18</PaymentStatusName>
  <Price>27</Price>
  <PrimaryImage>sample string 25</PrimaryImage>
  <ProductId>23</ProductId>
  <ProductName>sample string 24</ProductName>
  <ProductPrimaryImage>sample string 22</ProductPrimaryImage>
  <ProductSKU>sample string 26</ProductSKU>
  <Quantity>28</Quantity>
  <RefundType>CustomerWallet</RefundType>
  <RefundTypeName>sample string 5</RefundTypeName>
  <RequestDate>2025-04-26T16:19:36.2882819+01:00</RequestDate>
  <ReturnRequestNo>sample string 7</ReturnRequestNo>
  <ReturnRequestReason>IncorrectItem</ReturnRequestReason>
  <ReturnRequestReasonName>sample string 4</ReturnRequestReasonName>
  <ReturnRequestStatusType>Pending</ReturnRequestStatusType>
  <ReturnRequestStatusTypeName>sample string 3</ReturnRequestStatusTypeName>
  <ShippingStatus>All</ShippingStatus>
  <ShippingStatusId>19</ShippingStatusId>
  <ShippingStatusName>sample string 20</ShippingStatusName>
  <StoreId>1</StoreId>
  <TaxAmount>31</TaxAmount>
  <TaxIn>30</TaxIn>
  <TaxValue>29</TaxValue>
  <TotalPrice>35</TotalPrice>
  <Weight>36</Weight>
  <Width>38</Width>
</ReturnRequestViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.