POST api/Order/Return
Request Information
URI Parameters
None.
Body Parameters
OrderReturnRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| OrderId | integer |
None. |
|
| OrderItemId | integer |
None. |
|
| ReasonId | integer |
None. |
|
| ReasonText | string |
None. |
|
| Remarks | string |
None. |
|
| Image | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"orderId": 1,
"orderItemId": 2,
"reasonId": 3,
"reasonText": "sample string 4",
"remarks": "sample string 5",
"image": "sample string 6"
}
application/xml, text/xml
Sample:
<OrderReturnRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Resource"> <Image>sample string 6</Image> <OrderId>1</OrderId> <OrderItemId>2</OrderItemId> <ReasonId>3</ReasonId> <ReasonText>sample string 4</ReasonText> <Remarks>sample string 5</Remarks> </OrderReturnRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| Type | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": "sample string 1",
"data": {},
"message": "sample string 3",
"type": 4
}
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XeniaEStoreAPI.Controllers.Resource"> <Data /> <Message>sample string 3</Message> <Status>sample string 1</Status> <Type>4</Type> </APIResponse>