POST api/AdjustOrder/SaveNewOrder

保存退货单

Request Information

URI Parameters

None.

Body Parameters

AdjustOrder
NameDescriptionTypeAdditional information
adjust_code

string

None.

order_code

string

None.

suborders_code

string

None.

adjust_payables_price

decimal number

None.

freight_pay

decimal number

None.

adjust_price

decimal number

None.

adjust_type

AdjustOrderType

None.

adjust_status

AdjustOrderStatus

None.

note

string

None.

adjust_reason

string

None.

maintenance_fee

string

None.

whs_receive_status

ReceiveStatus

None.

logistics_status

LogisticsStatus

None.

sign_in_date

date

None.

interception_status

InterceptionStatus

None.

AdjustOrderItemList

Collection of AdjustOrderItem

None.

Request Formats

application/json, text/json

Sample:
{
  "adjust_code": "sample string 1",
  "order_code": "sample string 2",
  "suborders_code": "sample string 3",
  "adjust_payables_price": 4.0,
  "freight_pay": 5.0,
  "adjust_price": 6.0,
  "adjust_type": 0,
  "adjust_status": 10,
  "note": "sample string 7",
  "adjust_reason": "sample string 8",
  "maintenance_fee": "sample string 9",
  "whs_receive_status": 0,
  "logistics_status": 0,
  "sign_in_date": "2025-12-06T12:18:20.8235851+08:00",
  "interception_status": 0,
  "AdjustOrderItemList": [
    {
      "id": 1,
      "adjust_code": "sample string 2",
      "order_code": "sample string 3",
      "suborders_code": "sample string 4",
      "item_no": "sample string 5",
      "goods_id": 6,
      "goods_name_cn": "sample string 7",
      "number": 8,
      "pay_price": 9.0,
      "adjust_total": 10.0
    },
    {
      "id": 1,
      "adjust_code": "sample string 2",
      "order_code": "sample string 3",
      "suborders_code": "sample string 4",
      "item_no": "sample string 5",
      "goods_id": 6,
      "goods_name_cn": "sample string 7",
      "number": 8,
      "pay_price": 9.0,
      "adjust_total": 10.0
    }
  ]
}

application/xml, text/xml

Sample:
<AdjustOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JWS.Logic.Q.Entity">
  <AdjustOrderItemList>
    <AdjustOrderItem>
      <adjust_code>sample string 2</adjust_code>
      <adjust_total>10</adjust_total>
      <goods_id>6</goods_id>
      <goods_name_cn>sample string 7</goods_name_cn>
      <id>1</id>
      <item_no>sample string 5</item_no>
      <number>8</number>
      <order_code>sample string 3</order_code>
      <pay_price>9</pay_price>
      <suborders_code>sample string 4</suborders_code>
    </AdjustOrderItem>
    <AdjustOrderItem>
      <adjust_code>sample string 2</adjust_code>
      <adjust_total>10</adjust_total>
      <goods_id>6</goods_id>
      <goods_name_cn>sample string 7</goods_name_cn>
      <id>1</id>
      <item_no>sample string 5</item_no>
      <number>8</number>
      <order_code>sample string 3</order_code>
      <pay_price>9</pay_price>
      <suborders_code>sample string 4</suborders_code>
    </AdjustOrderItem>
  </AdjustOrderItemList>
  <adjust_code>sample string 1</adjust_code>
  <adjust_payables_price>4</adjust_payables_price>
  <adjust_price>6</adjust_price>
  <adjust_reason>sample string 8</adjust_reason>
  <adjust_status>Pending</adjust_status>
  <adjust_type>BeforeDelivery</adjust_type>
  <freight_pay>5</freight_pay>
  <interception_status>None</interception_status>
  <logistics_status>None</logistics_status>
  <maintenance_fee>sample string 9</maintenance_fee>
  <note>sample string 7</note>
  <order_code>sample string 2</order_code>
  <sign_in_date>2025-12-06T12:18:20.8235851+08:00</sign_in_date>
  <suborders_code>sample string 3</suborders_code>
  <whs_receive_status>None</whs_receive_status>
</AdjustOrder>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdjustOrder'.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />