Http方法:POST
路由:api/Sale_Order/UpdateOrderList
根据订单明细ID更新明细(不能更新明细的商品ID、编号、商品名称、条形码、商品规格)
请求参数
None.
Body Parameters
订单明细对象,只能更新数量等信息
SaleOrderListModel参数名称 | 参数描述 | 类型 | 附加信息 |
---|---|---|---|
Order_Id |
销售ID |
integer |
None |
Product_Id |
商品ID |
integer |
None |
ProductCode |
编号 |
string |
None |
ProductName |
商品名称 |
string |
None |
ProductModel |
条形码 |
string |
None |
ProductSpec |
商品规格 |
string |
None |
QuantityOrder |
订购数量 |
integer |
None |
SalePrice |
销售单价 |
decimal number |
None |
PurchasePrice |
成本单价 |
decimal number |
None |
DiscountAmount |
优惠金额 |
decimal number |
None |
DiscountRate |
货品折扣 |
decimal number |
None |
SubTotal |
折后金额 |
decimal number |
None |
RowTotal |
销售金额 |
decimal number |
None |
RowPaid |
实收金额 |
decimal number |
None |
ShippingAmount |
邮资成本 |
decimal number |
None |
Weight |
重量 |
decimal number |
None |
SmallUnit |
单位 |
string |
None |
Remark |
备注 |
string |
None |
ConsignorCode |
货主编号 |
string |
None |
ConsignorName |
货主名称 |
string |
None |
StoreOrderId |
店铺订单号 |
string |
None |
StoreItemId |
店铺订单明细ID |
string |
None |
Rate |
税率 |
decimal number |
None |
RatePrice |
含税价 |
decimal number |
None |
SalePriceDiscount |
折后单价 |
decimal number |
None |
RateMoney |
价税合计 |
decimal number |
None |
OrderList_Id |
订单明细ID(如果在更新订单信息时增加一条明细,则赋值0) |
integer |
None |
Request Formats
application/json, text/json
Sample:
{ "OrderList_Id": 1, "Order_Id": 1, "Product_Id": 2, "ProductCode": "sample string 3", "ProductName": "sample string 4", "ProductModel": "sample string 5", "ProductSpec": "sample string 6", "QuantityOrder": 7, "SalePrice": 1.0, "PurchasePrice": 1.0, "DiscountAmount": 1.0, "DiscountRate": 1.0, "SubTotal": 1.0, "RowTotal": 1.0, "RowPaid": 1.0, "ShippingAmount": 1.0, "Weight": 1.0, "SmallUnit": "sample string 8", "Remark": "sample string 9", "ConsignorCode": "sample string 10", "ConsignorName": "sample string 11", "StoreOrderId": "sample string 12", "StoreItemId": "sample string 13", "Rate": 1.0, "RatePrice": 1.0, "SalePriceDiscount": 1.0, "RateMoney": 1.0 }
返回响应信息
根据订单明细ID更新明细(不能更新明细的商品ID、编号、商品名称、条形码、商品规格)
ResultInfo参数名称 | 参数描述 | 类型 | 附加信息 |
---|---|---|---|
Result |
是否成功 |
boolean |
None |
State |
状态 |
string |
None |
Dynamic |
动态附加属性 |
Object |
None |
Msg |
提示信息 |
string |
None |
Response Formats
application/json, text/json
Sample:
{ "Result": true, "State": "sample string 2", "Dynamic": {}, "Msg": "sample string 4" }