POST api/orders/changeStatues

Request Information

URI Parameters

None.

Body Parameters

OrderConverter
NameDescriptionTypeAdditional information
order

Order

None.

parms

Parms

None.

actionName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "order": {
    "id": 1,
    "tracking_number": "sample string 2",
    "customer_id": "sample string 3",
    "customer_contact": "sample string 4",
    "status": 5,
    "amount": 6.1,
    "sales_tax": 7.1,
    "paid_total": 8.1,
    "total": 9.1,
    "parent_id": "sample string 10",
    "shop_id": 11,
    "invoice_id": 12,
    "discount": 13.1,
    "payment_id": "sample string 14",
    "payment_gateway": "sample string 15",
    "shipping_address": "sample string 16",
    "delivery_time": "2025-11-09T14:00:04.8189007+03:00",
    "deleted_at": "2025-11-09T14:00:04.8189007+03:00",
    "created_at": "2025-11-09T14:00:04.8189007+03:00",
    "updated_at": "2025-11-09T14:00:04.8189007+03:00",
    "products": [
      {
        "id": 1,
        "order_id": 2,
        "product_id": 3,
        "product_name": "sample string 4",
        "unit_id": 5,
        "order_quantity": 6.1,
        "unit_price": 7.1,
        "subtotal": 8.1,
        "deleted_at": "2025-11-09T14:00:04.8189007+03:00",
        "created_at": "2025-11-09T14:00:04.8189007+03:00",
        "updated_at": "2025-11-09T14:00:04.8189007+03:00"
      },
      {
        "id": 1,
        "order_id": 2,
        "product_id": 3,
        "product_name": "sample string 4",
        "unit_id": 5,
        "order_quantity": 6.1,
        "unit_price": 7.1,
        "subtotal": 8.1,
        "deleted_at": "2025-11-09T14:00:04.8189007+03:00",
        "created_at": "2025-11-09T14:00:04.8189007+03:00",
        "updated_at": "2025-11-09T14:00:04.8189007+03:00"
      }
    ],
    "customer_name": "sample string 19"
  },
  "parms": {
    "tobaccoFees": true,
    "sProcTypeInvProc": "sample string 1",
    "sProTyInvPro": "sample string 2",
    "ProcType_InvProc": "sample string 3",
    "page": 4,
    "scurrenciestypeD": "sample string 5",
    "scurrenciestypeM": "sample string 6",
    "scurrenciestypeC": "sample string 7",
    "scurrenciestype": "sample string 8",
    "scurrencieShow": "sample string 9",
    "currShow": "sample string 10",
    "currType": 11,
    "currgroup": 12,
    "sSearch": "sample string 13",
    "takei": 14,
    "omlaExchange": 15.1,
    "omlaId": 16,
    "favorite": 17,
    "other": "sample string 18",
    "cust_id": 19,
    "ibranchid": 20,
    "id": 21,
    "iempid": 22,
    "iuserid": 23,
    "icustmtype": 24,
    "iformid": 25,
    "iformidI": 26,
    "iformidR": 27,
    "iformidCuCo": 28,
    "iFoundid": 29,
    "icurr": 30,
    "iprocid": 31,
    "igroupid": 32,
    "group": 33,
    "user": 34,
    "branch": 35,
    "trans_noFrom": 36,
    "trans_noTo": 37,
    "emp_noFrom": 38,
    "emp_noTo": 39,
    "IdCom": 40,
    "safe": 41,
    "stock": 42,
    "type": 43,
    "round": 44,
    "center": 45,
    "acc_no": 46,
    "typeView": 47,
    "oldBalance": true,
    "OpenBalance": true,
    "item": 50,
    "emp_name": "sample string 51",
    "tname": "sample string 52",
    "medname": "sample string 53",
    "pcode": 54,
    "filtr": true,
    "fromCust": true,
    "tree": "sample string 57",
    "lprocid": 58,
    "proc_id": 59,
    "proc_type": 60,
    "PF": true,
    "bol1": true,
    "fltrBranch": true,
    "groupsSub": true,
    "withOmlat": true,
    "yashml": true,
    "useMizan": true,
    "withPrinters": true,
    "isAgel": true,
    "isCash": true,
    "isNetwork": true,
    "isBank": true,
    "isEmp": true,
    "isWindow": true,
    "empId": 75,
    "bankId": 76,
    "networkId": 77,
    "stockName": "sample string 78",
    "isSalesMan": 79,
    "updatePrice": true,
    "_Data": [
      {
        "id": 1,
        "proc_id": 1,
        "proc_type": 1,
        "currency_from": 1,
        "unit": 1,
        "val": 1.1,
        "val1": 1.1,
        "exchange_price": 1.1,
        "expire_date": "2025-11-09T14:00:04.8189007+03:00",
        "taxperc": 1.1,
        "taxval": 1.1,
        "discount": 1.1,
        "new_val": 1.1,
        "new_val1": 1.1,
        "new_exchange_price": 1.1,
        "new_expire_date": "2025-11-09T14:00:04.8189007+03:00",
        "new_taxperc": 1.1,
        "new_taxval": 1.1,
        "new_discount": 1.1,
        "all_exchange_price": 1.1,
        "expense": 1.1,
        "notes": "sample string 2",
        "DiscPers": 1.1,
        "new_DiscPers": 1.1,
        "barcode": "sample string 3",
        "sub_center": 1,
        "sub_branch": 1,
        "sub_BKproc_id": "sample string 4",
        "sub_post": 1,
        "switch_amount": 1.1,
        "switch_amount2": 1.1,
        "item_thickness": 1.1,
        "item_lenght": 1.1,
        "item_width": 1.1,
        "srl": 1,
        "sale_price": 1.1,
        "vat_type": 1,
        "tab3Val": 1.1,
        "notes2": "sample string 5",
        "relication_code": "sample string 6",
        "CarModel": "sample string 7",
        "CarYear": "sample string 8",
        "CarType": "sample string 9",
        "CarStructure": "sample string 10",
        "CarVactor": "sample string 11",
        "CarColor": "sample string 12",
        "item_sizeness": 1.1,
        "total_thickness_dtl": 1.1,
        "tab3val_sub": 1.1
      },
      {
        "id": 1,
        "proc_id": 1,
        "proc_type": 1,
        "currency_from": 1,
        "unit": 1,
        "val": 1.1,
        "val1": 1.1,
        "exchange_price": 1.1,
        "expire_date": "2025-11-09T14:00:04.8189007+03:00",
        "taxperc": 1.1,
        "taxval": 1.1,
        "discount": 1.1,
        "new_val": 1.1,
        "new_val1": 1.1,
        "new_exchange_price": 1.1,
        "new_expire_date": "2025-11-09T14:00:04.8189007+03:00",
        "new_taxperc": 1.1,
        "new_taxval": 1.1,
        "new_discount": 1.1,
        "all_exchange_price": 1.1,
        "expense": 1.1,
        "notes": "sample string 2",
        "DiscPers": 1.1,
        "new_DiscPers": 1.1,
        "barcode": "sample string 3",
        "sub_center": 1,
        "sub_branch": 1,
        "sub_BKproc_id": "sample string 4",
        "sub_post": 1,
        "switch_amount": 1.1,
        "switch_amount2": 1.1,
        "item_thickness": 1.1,
        "item_lenght": 1.1,
        "item_width": 1.1,
        "srl": 1,
        "sale_price": 1.1,
        "vat_type": 1,
        "tab3Val": 1.1,
        "notes2": "sample string 5",
        "relication_code": "sample string 6",
        "CarModel": "sample string 7",
        "CarYear": "sample string 8",
        "CarType": "sample string 9",
        "CarStructure": "sample string 10",
        "CarVactor": "sample string 11",
        "CarColor": "sample string 12",
        "item_sizeness": 1.1,
        "total_thickness_dtl": 1.1,
        "tab3val_sub": 1.1
      }
    ],
    "trans_dateFrom": "2025-11-09T14:00:04.8189007+03:00",
    "trans_dateTo": "2025-11-09T14:00:04.8189007+03:00",
    "dateFrom": "2025-11-09T14:00:04.8189007+03:00",
    "dateTo": "2025-11-09T14:00:04.8189007+03:00",
    "dateF": "2025-11-09T14:00:04.8189007+03:00",
    "dateT": "2025-11-09T14:00:04.8189007+03:00"
  },
  "actionName": "sample string 1"
}

application/xml, text/xml

Sample:
<OrderConverter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApiLite.ShopModule.Models">
  <actionName>sample string 1</actionName>
  <order>
    <amount>6.1</amount>
    <created_at>2025-11-09T14:00:04.8189007+03:00</created_at>
    <customer_contact>sample string 4</customer_contact>
    <customer_id>sample string 3</customer_id>
    <customer_name>sample string 19</customer_name>
    <deleted_at>2025-11-09T14:00:04.8189007+03:00</deleted_at>
    <delivery_time>2025-11-09T14:00:04.8189007+03:00</delivery_time>
    <discount>13.1</discount>
    <id>1</id>
    <invoice_id>12</invoice_id>
    <paid_total>8.1</paid_total>
    <parent_id>sample string 10</parent_id>
    <payment_gateway>sample string 15</payment_gateway>
    <payment_id>sample string 14</payment_id>
    <products>
      <OrderProduct>
        <created_at>2025-11-09T14:00:04.8189007+03:00</created_at>
        <deleted_at>2025-11-09T14:00:04.8189007+03:00</deleted_at>
        <id>1</id>
        <order_id>2</order_id>
        <order_quantity>6.1</order_quantity>
        <product_id>3</product_id>
        <product_name>sample string 4</product_name>
        <subtotal>8.1</subtotal>
        <unit_id>5</unit_id>
        <unit_price>7.1</unit_price>
        <updated_at>2025-11-09T14:00:04.8189007+03:00</updated_at>
      </OrderProduct>
      <OrderProduct>
        <created_at>2025-11-09T14:00:04.8189007+03:00</created_at>
        <deleted_at>2025-11-09T14:00:04.8189007+03:00</deleted_at>
        <id>1</id>
        <order_id>2</order_id>
        <order_quantity>6.1</order_quantity>
        <product_id>3</product_id>
        <product_name>sample string 4</product_name>
        <subtotal>8.1</subtotal>
        <unit_id>5</unit_id>
        <unit_price>7.1</unit_price>
        <updated_at>2025-11-09T14:00:04.8189007+03:00</updated_at>
      </OrderProduct>
    </products>
    <sales_tax>7.1</sales_tax>
    <shipping_address>sample string 16</shipping_address>
    <shop_id>11</shop_id>
    <status>5</status>
    <total>9.1</total>
    <tracking_number>sample string 2</tracking_number>
    <updated_at>2025-11-09T14:00:04.8189007+03:00</updated_at>
  </order>
  <parms xmlns:d2p1="http://schemas.datacontract.org/2004/07/ApiLite.Classes">
    <d2p1:IdCom>40</d2p1:IdCom>
    <d2p1:OpenBalance>true</d2p1:OpenBalance>
    <d2p1:PF>true</d2p1:PF>
    <d2p1:ProcType_InvProc>sample string 3</d2p1:ProcType_InvProc>
    <d2p1:_Data xmlns:d3p1="http://schemas.datacontract.org/2004/07/ApiLite.Models">
      <d3p1:Inv_Sub>
        <d3p1:CarColor>sample string 12</d3p1:CarColor>
        <d3p1:CarModel>sample string 7</d3p1:CarModel>
        <d3p1:CarStructure>sample string 10</d3p1:CarStructure>
        <d3p1:CarType>sample string 9</d3p1:CarType>
        <d3p1:CarVactor>sample string 11</d3p1:CarVactor>
        <d3p1:CarYear>sample string 8</d3p1:CarYear>
        <d3p1:DiscPers>1.1</d3p1:DiscPers>
        <d3p1:all_exchange_price>1.1</d3p1:all_exchange_price>
        <d3p1:barcode>sample string 3</d3p1:barcode>
        <d3p1:currency_from>1</d3p1:currency_from>
        <d3p1:discount>1.1</d3p1:discount>
        <d3p1:exchange_price>1.1</d3p1:exchange_price>
        <d3p1:expense>1.1</d3p1:expense>
        <d3p1:expire_date>2025-11-09T14:00:04.8189007+03:00</d3p1:expire_date>
        <d3p1:id>1</d3p1:id>
        <d3p1:item_lenght>1.1</d3p1:item_lenght>
        <d3p1:item_sizeness>1.1</d3p1:item_sizeness>
        <d3p1:item_thickness>1.1</d3p1:item_thickness>
        <d3p1:item_width>1.1</d3p1:item_width>
        <d3p1:new_DiscPers>1.1</d3p1:new_DiscPers>
        <d3p1:new_discount>1.1</d3p1:new_discount>
        <d3p1:new_exchange_price>1.1</d3p1:new_exchange_price>
        <d3p1:new_expire_date>2025-11-09T14:00:04.8189007+03:00</d3p1:new_expire_date>
        <d3p1:new_taxperc>1.1</d3p1:new_taxperc>
        <d3p1:new_taxval>1.1</d3p1:new_taxval>
        <d3p1:new_val>1.1</d3p1:new_val>
        <d3p1:new_val1>1.1</d3p1:new_val1>
        <d3p1:notes>sample string 2</d3p1:notes>
        <d3p1:notes2>sample string 5</d3p1:notes2>
        <d3p1:proc_id>1</d3p1:proc_id>
        <d3p1:proc_type>1</d3p1:proc_type>
        <d3p1:relication_code>sample string 6</d3p1:relication_code>
        <d3p1:sale_price>1.1</d3p1:sale_price>
        <d3p1:srl>1</d3p1:srl>
        <d3p1:sub_BKproc_id>sample string 4</d3p1:sub_BKproc_id>
        <d3p1:sub_branch>1</d3p1:sub_branch>
        <d3p1:sub_center>1</d3p1:sub_center>
        <d3p1:sub_post>1</d3p1:sub_post>
        <d3p1:switch_amount>1.1</d3p1:switch_amount>
        <d3p1:switch_amount2>1.1</d3p1:switch_amount2>
        <d3p1:tab3Val>1.1</d3p1:tab3Val>
        <d3p1:tab3val_sub>1.1</d3p1:tab3val_sub>
        <d3p1:taxperc>1.1</d3p1:taxperc>
        <d3p1:taxval>1.1</d3p1:taxval>
        <d3p1:total_thickness_dtl>1.1</d3p1:total_thickness_dtl>
        <d3p1:unit>1</d3p1:unit>
        <d3p1:val>1.1</d3p1:val>
        <d3p1:val1>1.1</d3p1:val1>
        <d3p1:vat_type>1</d3p1:vat_type>
      </d3p1:Inv_Sub>
      <d3p1:Inv_Sub>
        <d3p1:CarColor>sample string 12</d3p1:CarColor>
        <d3p1:CarModel>sample string 7</d3p1:CarModel>
        <d3p1:CarStructure>sample string 10</d3p1:CarStructure>
        <d3p1:CarType>sample string 9</d3p1:CarType>
        <d3p1:CarVactor>sample string 11</d3p1:CarVactor>
        <d3p1:CarYear>sample string 8</d3p1:CarYear>
        <d3p1:DiscPers>1.1</d3p1:DiscPers>
        <d3p1:all_exchange_price>1.1</d3p1:all_exchange_price>
        <d3p1:barcode>sample string 3</d3p1:barcode>
        <d3p1:currency_from>1</d3p1:currency_from>
        <d3p1:discount>1.1</d3p1:discount>
        <d3p1:exchange_price>1.1</d3p1:exchange_price>
        <d3p1:expense>1.1</d3p1:expense>
        <d3p1:expire_date>2025-11-09T14:00:04.8189007+03:00</d3p1:expire_date>
        <d3p1:id>1</d3p1:id>
        <d3p1:item_lenght>1.1</d3p1:item_lenght>
        <d3p1:item_sizeness>1.1</d3p1:item_sizeness>
        <d3p1:item_thickness>1.1</d3p1:item_thickness>
        <d3p1:item_width>1.1</d3p1:item_width>
        <d3p1:new_DiscPers>1.1</d3p1:new_DiscPers>
        <d3p1:new_discount>1.1</d3p1:new_discount>
        <d3p1:new_exchange_price>1.1</d3p1:new_exchange_price>
        <d3p1:new_expire_date>2025-11-09T14:00:04.8189007+03:00</d3p1:new_expire_date>
        <d3p1:new_taxperc>1.1</d3p1:new_taxperc>
        <d3p1:new_taxval>1.1</d3p1:new_taxval>
        <d3p1:new_val>1.1</d3p1:new_val>
        <d3p1:new_val1>1.1</d3p1:new_val1>
        <d3p1:notes>sample string 2</d3p1:notes>
        <d3p1:notes2>sample string 5</d3p1:notes2>
        <d3p1:proc_id>1</d3p1:proc_id>
        <d3p1:proc_type>1</d3p1:proc_type>
        <d3p1:relication_code>sample string 6</d3p1:relication_code>
        <d3p1:sale_price>1.1</d3p1:sale_price>
        <d3p1:srl>1</d3p1:srl>
        <d3p1:sub_BKproc_id>sample string 4</d3p1:sub_BKproc_id>
        <d3p1:sub_branch>1</d3p1:sub_branch>
        <d3p1:sub_center>1</d3p1:sub_center>
        <d3p1:sub_post>1</d3p1:sub_post>
        <d3p1:switch_amount>1.1</d3p1:switch_amount>
        <d3p1:switch_amount2>1.1</d3p1:switch_amount2>
        <d3p1:tab3Val>1.1</d3p1:tab3Val>
        <d3p1:tab3val_sub>1.1</d3p1:tab3val_sub>
        <d3p1:taxperc>1.1</d3p1:taxperc>
        <d3p1:taxval>1.1</d3p1:taxval>
        <d3p1:total_thickness_dtl>1.1</d3p1:total_thickness_dtl>
        <d3p1:unit>1</d3p1:unit>
        <d3p1:val>1.1</d3p1:val>
        <d3p1:val1>1.1</d3p1:val1>
        <d3p1:vat_type>1</d3p1:vat_type>
      </d3p1:Inv_Sub>
    </d2p1:_Data>
    <d2p1:acc_no>46</d2p1:acc_no>
    <d2p1:bankId>76</d2p1:bankId>
    <d2p1:bol1>true</d2p1:bol1>
    <d2p1:branch>35</d2p1:branch>
    <d2p1:center>45</d2p1:center>
    <d2p1:currShow>sample string 10</d2p1:currShow>
    <d2p1:currType>11</d2p1:currType>
    <d2p1:currgroup>12</d2p1:currgroup>
    <d2p1:cust_id>19</d2p1:cust_id>
    <d2p1:dateF>2025-11-09T14:00:04.8189007+03:00</d2p1:dateF>
    <d2p1:dateFrom>2025-11-09T14:00:04.8189007+03:00</d2p1:dateFrom>
    <d2p1:dateT>2025-11-09T14:00:04.8189007+03:00</d2p1:dateT>
    <d2p1:dateTo>2025-11-09T14:00:04.8189007+03:00</d2p1:dateTo>
    <d2p1:empId>75</d2p1:empId>
    <d2p1:emp_name>sample string 51</d2p1:emp_name>
    <d2p1:emp_noFrom>38</d2p1:emp_noFrom>
    <d2p1:emp_noTo>39</d2p1:emp_noTo>
    <d2p1:favorite>17</d2p1:favorite>
    <d2p1:filtr>true</d2p1:filtr>
    <d2p1:fltrBranch>true</d2p1:fltrBranch>
    <d2p1:fromCust>true</d2p1:fromCust>
    <d2p1:group>33</d2p1:group>
    <d2p1:groupsSub>true</d2p1:groupsSub>
    <d2p1:iFoundid>29</d2p1:iFoundid>
    <d2p1:ibranchid>20</d2p1:ibranchid>
    <d2p1:icurr>30</d2p1:icurr>
    <d2p1:icustmtype>24</d2p1:icustmtype>
    <d2p1:id>21</d2p1:id>
    <d2p1:iempid>22</d2p1:iempid>
    <d2p1:iformid>25</d2p1:iformid>
    <d2p1:iformidCuCo>28</d2p1:iformidCuCo>
    <d2p1:iformidI>26</d2p1:iformidI>
    <d2p1:iformidR>27</d2p1:iformidR>
    <d2p1:igroupid>32</d2p1:igroupid>
    <d2p1:iprocid>31</d2p1:iprocid>
    <d2p1:isAgel>true</d2p1:isAgel>
    <d2p1:isBank>true</d2p1:isBank>
    <d2p1:isCash>true</d2p1:isCash>
    <d2p1:isEmp>true</d2p1:isEmp>
    <d2p1:isNetwork>true</d2p1:isNetwork>
    <d2p1:isSalesMan>79</d2p1:isSalesMan>
    <d2p1:isWindow>true</d2p1:isWindow>
    <d2p1:item>50</d2p1:item>
    <d2p1:iuserid>23</d2p1:iuserid>
    <d2p1:lprocid>58</d2p1:lprocid>
    <d2p1:medname>sample string 53</d2p1:medname>
    <d2p1:networkId>77</d2p1:networkId>
    <d2p1:oldBalance>true</d2p1:oldBalance>
    <d2p1:omlaExchange>15.1</d2p1:omlaExchange>
    <d2p1:omlaId>16</d2p1:omlaId>
    <d2p1:other>sample string 18</d2p1:other>
    <d2p1:page>4</d2p1:page>
    <d2p1:pcode>54</d2p1:pcode>
    <d2p1:proc_id>59</d2p1:proc_id>
    <d2p1:proc_type>60</d2p1:proc_type>
    <d2p1:round>44</d2p1:round>
    <d2p1:sProTyInvPro>sample string 2</d2p1:sProTyInvPro>
    <d2p1:sProcTypeInvProc>sample string 1</d2p1:sProcTypeInvProc>
    <d2p1:sSearch>sample string 13</d2p1:sSearch>
    <d2p1:safe>41</d2p1:safe>
    <d2p1:scurrencieShow>sample string 9</d2p1:scurrencieShow>
    <d2p1:scurrenciestype>sample string 8</d2p1:scurrenciestype>
    <d2p1:scurrenciestypeC>sample string 7</d2p1:scurrenciestypeC>
    <d2p1:scurrenciestypeD>sample string 5</d2p1:scurrenciestypeD>
    <d2p1:scurrenciestypeM>sample string 6</d2p1:scurrenciestypeM>
    <d2p1:stock>42</d2p1:stock>
    <d2p1:stockName>sample string 78</d2p1:stockName>
    <d2p1:takei>14</d2p1:takei>
    <d2p1:tname>sample string 52</d2p1:tname>
    <d2p1:tobaccoFees>true</d2p1:tobaccoFees>
    <d2p1:trans_dateFrom>2025-11-09T14:00:04.8189007+03:00</d2p1:trans_dateFrom>
    <d2p1:trans_dateTo>2025-11-09T14:00:04.8189007+03:00</d2p1:trans_dateTo>
    <d2p1:trans_noFrom>36</d2p1:trans_noFrom>
    <d2p1:trans_noTo>37</d2p1:trans_noTo>
    <d2p1:tree>sample string 57</d2p1:tree>
    <d2p1:type>43</d2p1:type>
    <d2p1:typeView>47</d2p1:typeView>
    <d2p1:updatePrice>true</d2p1:updatePrice>
    <d2p1:useMizan>true</d2p1:useMizan>
    <d2p1:user>34</d2p1:user>
    <d2p1:withOmlat>true</d2p1:withOmlat>
    <d2p1:withPrinters>true</d2p1:withPrinters>
    <d2p1:yashml>true</d2p1:yashml>
  </parms>
</OrderConverter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.