POST api/admin/ProductsApi/UpdateProductColorSize
Request Information
URI Parameters
None.
Body Parameters
ProductColorSizeModelName | Description | Type | Additional information |
---|---|---|---|
ProductID | integer |
Range: inclusive between 1 and 2147483647 |
|
ProductColorID | integer |
Range: inclusive between 1 and 2147483647 |
|
Size | string |
Min length: 1 String length: inclusive between 0 and 20 |
|
SizeGroupId | integer |
None. |
|
IsEnabled | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "ProductID": 1, "ProductColorID": 2, "Size": "sample string 3", "SizeGroupId": 4, "IsEnabled": true }
application/xml, text/xml
Sample:
<ProductColorSizeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels.PostModel"> <IsEnabled>true</IsEnabled> <ProductColorID>2</ProductColorID> <ProductID>1</ProductID> <Size>sample string 3</Size> <SizeGroupId>4</SizeGroupId> </ProductColorSizeModel>
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.