POST api/O2OTrade
添加零售订单
Request Information
URI Parameters
None.
Body Parameters
O2O_TradeName | Description | Type | Additional information |
---|---|---|---|
Brand | string |
None. |
|
Seller_flag | integer |
None. |
|
Sheetid | string |
None. |
|
Manualid | string |
None. |
|
Status | integer |
None. |
|
Istype | integer |
None. |
|
Platformid | string |
None. |
|
Eorderid | string |
None. |
|
Islock | integer |
None. |
|
Tradestatus | string |
None. |
|
Processtatus | integer |
None. |
|
Saletype | integer |
None. |
|
Splitguid | string |
None. |
|
Splitedate | date |
None. |
|
Spliter | string |
None. |
|
Mergeguid | string |
None. |
|
Mergedate | date |
None. |
|
Merger | string |
None. |
|
Sendnoticeguid | string |
None. |
|
Sendsheetguid | string |
None. |
|
Recsheetguid | string |
None. |
|
Sheetdate | date |
None. |
|
Sheettypeid | string |
None. |
|
Qty | decimal number |
None. |
|
Amount | decimal number |
None. |
|
Tochannelid | string |
None. |
|
ToChannelName | string |
None. |
|
Channelid | string |
None. |
|
Serviceremark | string |
None. |
|
Isprintexpress | integer |
None. |
|
Isprintdelivery | integer |
None. |
|
Seller_nick | string |
None. |
|
Sellerremark | string |
None. |
|
Logisticsid | string |
None. |
|
Expresscost | decimal number |
None. |
|
Expressno | string |
None. |
|
Expressprintdate | date |
None. |
|
Heavy | decimal number |
None. |
|
Notetypeid | integer |
None. |
|
Invoicetypeid | integer |
None. |
|
Invoicetitle | string |
None. |
|
Invoicecontent | string |
None. |
|
Printcount | integer |
None. |
|
Printcachedate | date |
None. |
|
Createdate | date |
None. |
|
Createby | string |
None. |
|
Lastmoddate | date |
None. |
|
Lastmodby | string |
None. |
|
Checker | string |
None. |
|
Checkdate | date |
None. |
|
Unchecker | string |
None. |
|
Uncheckdate | date |
None. |
|
Invalider | string |
None. |
|
Invaliddate | date |
None. |
|
Remark | string |
None. |
|
Pickkey | string |
None. |
|
Isseckill | integer |
None. |
|
Isnormal | integer |
None. |
|
OriginalOrder | string |
None. |
|
RetNoticeID | string |
None. |
|
Presaletype | integer |
None. |
|
Sheetguid | string |
None. |
|
Isstock | integer |
None. |
|
ISNOTSOURCE | integer |
None. |
|
TradeGoods | Collection of O2O_TradeGoods |
None. |
|
TradeBuyer | O2O_TradeBuyer |
None. |
|
TradePay | O2O_TradePay |
None. |
Request Formats
application/json, text/json
示例:
{ "brand": "sample string 1", "seller_flag": 1, "sheetid": "sample string 2", "manualid": "sample string 3", "status": 4, "istype": 5, "platformid": "sample string 6", "eorderid": "sample string 7", "islock": 8, "tradestatus": "sample string 9", "processtatus": 10, "saletype": 11, "splitguid": "sample string 12", "splitedate": "2025-03-31T17:50:38.0497298+08:00", "spliter": "sample string 13", "mergeguid": "sample string 14", "mergedate": "2025-03-31T17:50:38.0497298+08:00", "merger": "sample string 15", "sendnoticeguid": "sample string 16", "sendsheetguid": "sample string 17", "recsheetguid": "sample string 18", "sheetdate": "2025-03-31T17:50:38.0497298+08:00", "sheettypeid": "sample string 19", "qty": 20.1, "amount": 21.1, "tochannelid": "sample string 22", "toChannelName": "sample string 23", "channelid": "sample string 24", "serviceremark": "sample string 25", "isprintexpress": 1, "isprintdelivery": 1, "seller_nick": "sample string 26", "sellerremark": "sample string 27", "logisticsid": "sample string 28", "expresscost": 29.1, "expressno": "sample string 30", "expressprintdate": "2025-03-31T17:50:38.0497298+08:00", "heavy": 1.0, "notetypeid": 31, "invoicetypeid": 32, "invoicetitle": "sample string 33", "invoicecontent": "sample string 34", "printcount": 35, "printcachedate": "2025-03-31T17:50:38.0497298+08:00", "createdate": "2025-03-31T17:50:38.0497298+08:00", "createby": "sample string 36", "lastmoddate": "2025-03-31T17:50:38.0497298+08:00", "lastmodby": "sample string 37", "checker": "sample string 38", "checkdate": "2025-03-31T17:50:38.0497298+08:00", "unchecker": "sample string 39", "uncheckdate": "2025-03-31T17:50:38.0497298+08:00", "invalider": "sample string 40", "invaliddate": "2025-03-31T17:50:38.0497298+08:00", "remark": "sample string 41", "pickkey": "sample string 42", "isseckill": 43, "isnormal": 1, "originalOrder": "sample string 44", "retNoticeID": "sample string 45", "presaletype": 1, "sheetguid": "sample string 46", "isstock": 1, "isnotsource": 1, "tradeGoods": [ { "goodno": "sample string 1", "barcode": "sample string 2", "colorid": "sample string 3", "longid": "sample string 4", "sizeid": "sample string 5", "dpprice": 6.1, "discount": 7.1, "balanceprice": 8.1, "quantity": 9.1, "distriquantity": 1.1, "amount": 10.1, "remark": "sample string 11", "addintegral": 1.1, "delintegral": 1.1, "saletype": 1, "businessperson": "sample string 12", "sid": "sample string 13", "storeno": "sample string 14", "sharecardno": "sample string 15", "isintegral": 1, "iscollocation": 1, "integralmultiples": 1, "onlineOrderid": "sample string 16", "sku_properties_name": "sample string 17", "title": "sample string 18", "refundstatus": 1, "outer_sku_id": "sample string 19", "outer_iid": "sample string 20", "isstock": 1, "outofstockqty": 1, "replaceOldBarcode": "sample string 21" }, { "goodno": "sample string 1", "barcode": "sample string 2", "colorid": "sample string 3", "longid": "sample string 4", "sizeid": "sample string 5", "dpprice": 6.1, "discount": 7.1, "balanceprice": 8.1, "quantity": 9.1, "distriquantity": 1.1, "amount": 10.1, "remark": "sample string 11", "addintegral": 1.1, "delintegral": 1.1, "saletype": 1, "businessperson": "sample string 12", "sid": "sample string 13", "storeno": "sample string 14", "sharecardno": "sample string 15", "isintegral": 1, "iscollocation": 1, "integralmultiples": 1, "onlineOrderid": "sample string 16", "sku_properties_name": "sample string 17", "title": "sample string 18", "refundstatus": 1, "outer_sku_id": "sample string 19", "outer_iid": "sample string 20", "isstock": 1, "outofstockqty": 1, "replaceOldBarcode": "sample string 21" } ], "tradeBuyer": { "buyer_cardno": "sample string 1", "buyer_nick": "sample string 2", "buyerno": "sample string 3", "buyeralipayno": "sample string 4", "buyeremail": "sample string 5", "buyerremark": "sample string 6", "receiver_name": "sample string 7", "receiver_state": "sample string 8", "receiver_city": "sample string 9", "receiver_district": "sample string 10", "receiver_address": "sample string 11", "receiver_zip": "sample string 12", "receiver_mobile": "sample string 13", "receiver_phone": "sample string 14" }, "tradePay": { "paymenttypeid": "sample string 1", "alipaytradeno": "sample string 2", "cardno": "sample string 3", "payamount": 1.0, "paytime": "2025-03-31T17:50:38.0497298+08:00", "paytime2": "2025-03-31T17:50:38.0497298+08:00", "code": 4 } }
application/xml, text/xml
示例:
<O2O_Trade xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RegentSoft.F360.DAL.Entities.O2OTrade"> <Amount>21.1</Amount> <Brand>sample string 1</Brand> <Channelid>sample string 24</Channelid> <Checkdate>2025-03-31T17:50:38.0497298+08:00</Checkdate> <Checker>sample string 38</Checker> <Createby>sample string 36</Createby> <Createdate>2025-03-31T17:50:38.0497298+08:00</Createdate> <Eorderid>sample string 7</Eorderid> <Expresscost>29.1</Expresscost> <Expressno>sample string 30</Expressno> <Expressprintdate>2025-03-31T17:50:38.0497298+08:00</Expressprintdate> <Heavy>1</Heavy> <ISNOTSOURCE>1</ISNOTSOURCE> <Invaliddate>2025-03-31T17:50:38.0497298+08:00</Invaliddate> <Invalider>sample string 40</Invalider> <Invoicecontent>sample string 34</Invoicecontent> <Invoicetitle>sample string 33</Invoicetitle> <Invoicetypeid>32</Invoicetypeid> <Islock>8</Islock> <Isnormal>1</Isnormal> <Isprintdelivery>1</Isprintdelivery> <Isprintexpress>1</Isprintexpress> <Isseckill>43</Isseckill> <Isstock>1</Isstock> <Istype>5</Istype> <Lastmodby>sample string 37</Lastmodby> <Lastmoddate>2025-03-31T17:50:38.0497298+08:00</Lastmoddate> <Logisticsid>sample string 28</Logisticsid> <Manualid>sample string 3</Manualid> <Mergedate>2025-03-31T17:50:38.0497298+08:00</Mergedate> <Mergeguid>sample string 14</Mergeguid> <Merger>sample string 15</Merger> <Notetypeid>31</Notetypeid> <OriginalOrder>sample string 44</OriginalOrder> <Pickkey>sample string 42</Pickkey> <Platformid>sample string 6</Platformid> <Presaletype>1</Presaletype> <Printcachedate>2025-03-31T17:50:38.0497298+08:00</Printcachedate> <Printcount>35</Printcount> <Processtatus>10</Processtatus> <Qty>20.1</Qty> <Recsheetguid>sample string 18</Recsheetguid> <Remark>sample string 41</Remark> <RetNoticeID>sample string 45</RetNoticeID> <Saletype>11</Saletype> <Seller_flag>1</Seller_flag> <Seller_nick>sample string 26</Seller_nick> <Sellerremark>sample string 27</Sellerremark> <Sendnoticeguid>sample string 16</Sendnoticeguid> <Sendsheetguid>sample string 17</Sendsheetguid> <Serviceremark>sample string 25</Serviceremark> <Sheetdate>2025-03-31T17:50:38.0497298+08:00</Sheetdate> <Sheetguid>sample string 46</Sheetguid> <Sheetid>sample string 2</Sheetid> <Sheettypeid>sample string 19</Sheettypeid> <Splitedate>2025-03-31T17:50:38.0497298+08:00</Splitedate> <Spliter>sample string 13</Spliter> <Splitguid>sample string 12</Splitguid> <Status>4</Status> <ToChannelName>sample string 23</ToChannelName> <Tochannelid>sample string 22</Tochannelid> <TradeBuyer> <Buyer_cardno>sample string 1</Buyer_cardno> <Buyer_nick>sample string 2</Buyer_nick> <Buyeralipayno>sample string 4</Buyeralipayno> <Buyeremail>sample string 5</Buyeremail> <Buyerno>sample string 3</Buyerno> <Buyerremark>sample string 6</Buyerremark> <Receiver_address>sample string 11</Receiver_address> <Receiver_city>sample string 9</Receiver_city> <Receiver_district>sample string 10</Receiver_district> <Receiver_mobile>sample string 13</Receiver_mobile> <Receiver_name>sample string 7</Receiver_name> <Receiver_phone>sample string 14</Receiver_phone> <Receiver_state>sample string 8</Receiver_state> <Receiver_zip>sample string 12</Receiver_zip> </TradeBuyer> <TradeGoods> <O2O_TradeGoods> <Addintegral>1.1</Addintegral> <Amount>10.1</Amount> <Balanceprice>8.1</Balanceprice> <Barcode>sample string 2</Barcode> <Businessperson>sample string 12</Businessperson> <Colorid>sample string 3</Colorid> <Delintegral>1.1</Delintegral> <Discount>7.1</Discount> <Distriquantity>1.1</Distriquantity> <Dpprice>6.1</Dpprice> <Goodno>sample string 1</Goodno> <Integralmultiples>1</Integralmultiples> <Iscollocation>1</Iscollocation> <Isintegral>1</Isintegral> <Isstock>1</Isstock> <Longid>sample string 4</Longid> <OnlineOrderid>sample string 16</OnlineOrderid> <Outer_iid>sample string 20</Outer_iid> <Outer_sku_id>sample string 19</Outer_sku_id> <Outofstockqty>1</Outofstockqty> <Quantity>9.1</Quantity> <Refundstatus>1</Refundstatus> <Remark>sample string 11</Remark> <ReplaceOldBarcode>sample string 21</ReplaceOldBarcode> <Saletype>1</Saletype> <Sharecardno>sample string 15</Sharecardno> <Sid>sample string 13</Sid> <Sizeid>sample string 5</Sizeid> <Sku_properties_name>sample string 17</Sku_properties_name> <Storeno>sample string 14</Storeno> <Title>sample string 18</Title> </O2O_TradeGoods> <O2O_TradeGoods> <Addintegral>1.1</Addintegral> <Amount>10.1</Amount> <Balanceprice>8.1</Balanceprice> <Barcode>sample string 2</Barcode> <Businessperson>sample string 12</Businessperson> <Colorid>sample string 3</Colorid> <Delintegral>1.1</Delintegral> <Discount>7.1</Discount> <Distriquantity>1.1</Distriquantity> <Dpprice>6.1</Dpprice> <Goodno>sample string 1</Goodno> <Integralmultiples>1</Integralmultiples> <Iscollocation>1</Iscollocation> <Isintegral>1</Isintegral> <Isstock>1</Isstock> <Longid>sample string 4</Longid> <OnlineOrderid>sample string 16</OnlineOrderid> <Outer_iid>sample string 20</Outer_iid> <Outer_sku_id>sample string 19</Outer_sku_id> <Outofstockqty>1</Outofstockqty> <Quantity>9.1</Quantity> <Refundstatus>1</Refundstatus> <Remark>sample string 11</Remark> <ReplaceOldBarcode>sample string 21</ReplaceOldBarcode> <Saletype>1</Saletype> <Sharecardno>sample string 15</Sharecardno> <Sid>sample string 13</Sid> <Sizeid>sample string 5</Sizeid> <Sku_properties_name>sample string 17</Sku_properties_name> <Storeno>sample string 14</Storeno> <Title>sample string 18</Title> </O2O_TradeGoods> </TradeGoods> <TradePay> <Alipaytradeno>sample string 2</Alipaytradeno> <Cardno>sample string 3</Cardno> <Code>4</Code> <Payamount>1</Payamount> <Paymenttypeid>sample string 1</Paymenttypeid> <Paytime>2025-03-31T17:50:38.0497298+08:00</Paytime> <Paytime2>2025-03-31T17:50:38.0497298+08:00</Paytime2> </TradePay> <Tradestatus>sample string 9</Tradestatus> <Uncheckdate>2025-03-31T17:50:38.0497298+08:00</Uncheckdate> <Unchecker>sample string 39</Unchecker> </O2O_Trade>
application/x-www-form-urlencoded
示例:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Flag | string |
None. |
|
MSG | string |
None. |
Response Formats
application/json, text/json
示例:
{ "flag": "sample string 1", "msg": "sample string 2" }
application/xml, text/xml
示例:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/F360Service.Models"> <Flag>sample string 1</Flag> <MSG>sample string 2</MSG> </Response>