POST Api/F/YH/SelfGoodsGroupPrice?FactoryID={FactoryID}&SelfGoodsID={SelfGoodsID}
自营商品分组价格编辑
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
FactoryID |
供应商系统编号 |
globally unique identifier |
Required |
SelfGoodsID |
自营商品编号 |
globally unique identifier |
Required |
Body Parameters
自营商品规格颜色信息
Collection of SelfGoodsSizeColourModelName | Description | Type | Additional information |
---|---|---|---|
ID |
自营商品型号颜色信息 |
globally unique identifier |
None. |
SelfGoodsGroupPrices |
自营商品分组价格信息 |
Collection of SelfGoodsGroupPriceModel |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ID": "31d2855d-74de-479b-baf0-6812a021ada3", "SelfGoodsGroupPrices": [ { "ID": "70ddffa4-79ba-48a7-b81b-33a8e2f52a4f", "ServicePrice": 2.0, "Price": 3.0, "RetailPrice": 4.0 }, { "ID": "70ddffa4-79ba-48a7-b81b-33a8e2f52a4f", "ServicePrice": 2.0, "Price": 3.0, "RetailPrice": 4.0 } ] }, { "ID": "31d2855d-74de-479b-baf0-6812a021ada3", "SelfGoodsGroupPrices": [ { "ID": "70ddffa4-79ba-48a7-b81b-33a8e2f52a4f", "ServicePrice": 2.0, "Price": 3.0, "RetailPrice": 4.0 }, { "ID": "70ddffa4-79ba-48a7-b81b-33a8e2f52a4f", "ServicePrice": 2.0, "Price": 3.0, "RetailPrice": 4.0 } ] } ]
application/xml, text/xml
Sample:
<ArrayOfSelfGoodsSizeColourModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LijiyTow.Liji_E.EAPI.Models.F.YH"> <SelfGoodsSizeColourModel> <ID>31d2855d-74de-479b-baf0-6812a021ada3</ID> <SelfGoodsGroupPrices> <SelfGoodsGroupPriceModel> <ID>70ddffa4-79ba-48a7-b81b-33a8e2f52a4f</ID> <Price>3</Price> <RetailPrice>4</RetailPrice> <ServicePrice>2</ServicePrice> </SelfGoodsGroupPriceModel> <SelfGoodsGroupPriceModel> <ID>70ddffa4-79ba-48a7-b81b-33a8e2f52a4f</ID> <Price>3</Price> <RetailPrice>4</RetailPrice> <ServicePrice>2</ServicePrice> </SelfGoodsGroupPriceModel> </SelfGoodsGroupPrices> </SelfGoodsSizeColourModel> <SelfGoodsSizeColourModel> <ID>31d2855d-74de-479b-baf0-6812a021ada3</ID> <SelfGoodsGroupPrices> <SelfGoodsGroupPriceModel> <ID>70ddffa4-79ba-48a7-b81b-33a8e2f52a4f</ID> <Price>3</Price> <RetailPrice>4</RetailPrice> <ServicePrice>2</ServicePrice> </SelfGoodsGroupPriceModel> <SelfGoodsGroupPriceModel> <ID>70ddffa4-79ba-48a7-b81b-33a8e2f52a4f</ID> <Price>3</Price> <RetailPrice>4</RetailPrice> <ServicePrice>2</ServicePrice> </SelfGoodsGroupPriceModel> </SelfGoodsGroupPrices> </SelfGoodsSizeColourModel> </ArrayOfSelfGoodsSizeColourModel>
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.