POST Api/F/YH/SelfGoodsEdit?FactoryID={FactoryID}
自营商品编辑
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FactoryID |
供应商系统编号 |
globally unique identifier |
Required |
Body Parameters
自营商品信息
SelfGoodsEditName | Description | Type | Additional information |
---|---|---|---|
ID |
编号 |
globally unique identifier |
None. |
CategoryID |
分类编号 |
globally unique identifier |
None. |
Name |
名称 |
string |
None. |
Info |
简介 |
string |
None. |
MinCount |
最小起订数量 |
integer |
None. |
Count |
库存 |
integer |
None. |
WholesaleName |
批发单位 |
string |
None. |
RetailName |
零售单位 |
string |
None. |
Grade |
等级 |
integer |
None. |
SaleState |
特价标识 |
boolean |
None. |
PlaceState |
是否基地采集 |
boolean |
None. |
OfferState |
报价状态 |
boolean |
None. |
State |
状态 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "70297816-fbae-418b-8f48-757be28cf59c", "CategoryID": "2c33cb86-c982-4844-9c56-12fe7d342cec", "Name": "sample string 3", "Info": "sample string 4", "MinCount": 5, "Count": 6, "WholesaleName": "sample string 7", "RetailName": "sample string 8", "Grade": 9, "SaleState": true, "PlaceState": true, "OfferState": true, "State": true }
application/xml, text/xml
Sample:
<SelfGoodsEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.F.YH"> <CategoryID>2c33cb86-c982-4844-9c56-12fe7d342cec</CategoryID> <Count>6</Count> <Grade>9</Grade> <ID>70297816-fbae-418b-8f48-757be28cf59c</ID> <Info>sample string 4</Info> <MinCount>5</MinCount> <Name>sample string 3</Name> <OfferState>true</OfferState> <PlaceState>true</PlaceState> <RetailName>sample string 8</RetailName> <SaleState>true</SaleState> <State>true</State> <WholesaleName>sample string 7</WholesaleName> </SelfGoodsEdit>
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.