POST api/admin/ProductsApi/UpdateColorPiecePrice
Request Information
URI Parameters
None.
Body Parameters
UpdateColorPriceModelName | Description | Type | Additional information |
---|---|---|---|
ProductID | integer |
Range: inclusive between 1 and 2147483647 |
|
ProductColorID | integer |
Range: inclusive between 1 and 2147483647 |
|
Size | string |
Required Min length: 1 String length: inclusive between 0 and 20 |
|
SizeGroupID | integer |
Range: inclusive between 1 and 2147483647 |
|
FixedPrice | decimal number |
None. |
|
EffectiveUnitPrice | decimal number |
None. |
|
PiecePrice | decimal number |
None. |
|
IsFixedPrice | boolean |
None. |
|
UpdatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductID": 1, "ProductColorID": 2, "Size": "sample string 3", "SizeGroupID": 4, "FixedPrice": 5.0, "EffectiveUnitPrice": 6.0, "PiecePrice": 7.0, "IsFixedPrice": true, "UpdatedBy": "sample string 9" }
application/xml, text/xml
Sample:
<UpdateColorPriceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <EffectiveUnitPrice>6</EffectiveUnitPrice> <FixedPrice>5</FixedPrice> <IsFixedPrice>true</IsFixedPrice> <PiecePrice>7</PiecePrice> <ProductColorID>2</ProductColorID> <ProductID>1</ProductID> <Size>sample string 3</Size> <SizeGroupID>4</SizeGroupID> <UpdatedBy>sample string 9</UpdatedBy> </UpdateColorPriceModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.