POST Api/F/YH/EditOrderConfig?FactoryID={FactoryID}
保存网站下单设置
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FactoryID | globally unique identifier |
Required |
Body Parameters
FacTerminalConfigName | Description | Type | Additional information |
---|---|---|---|
ID |
编号 |
globally unique identifier |
None. |
FactoryID |
工厂编号 |
globally unique identifier |
None. |
MiniAmount |
最小金额,到达这个金额就可以下单 |
decimal number |
None. |
DepositAmount |
订金金额,下订单需要支付费用 |
decimal number |
None. |
PayTime |
支付失效时间 |
integer |
None. |
Delivery |
配送方式 配送类型(1,门店自提,2,送货到家)(1,2) |
string |
None. |
OpenState |
开放标识 true 开发 负责关闭 |
boolean |
None. |
DepositState |
订金标识 是否开启订金支付 |
boolean |
None. |
Name |
备注说明 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "ec93c4ee-a92a-4aaa-9524-12544fefde90", "FactoryID": "f984a3c6-a453-48a8-9369-ea04a0e3fb97", "MiniAmount": 3.0, "DepositAmount": 4.0, "PayTime": 5, "Delivery": "sample string 6", "OpenState": true, "DepositState": true, "Name": "sample string 9" }
application/xml, text/xml
Sample:
<FacTerminalConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.F.YH"> <Delivery>sample string 6</Delivery> <DepositAmount>4</DepositAmount> <DepositState>true</DepositState> <FactoryID>f984a3c6-a453-48a8-9369-ea04a0e3fb97</FactoryID> <ID>ec93c4ee-a92a-4aaa-9524-12544fefde90</ID> <MiniAmount>3</MiniAmount> <Name>sample string 9</Name> <OpenState>true</OpenState> <PayTime>5</PayTime> </FacTerminalConfig>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.