PUT v1/Products/{productId}/Properties
Update a Product Property.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId |
The id of the product. |
integer |
Required. |
Body Parameters
The product property.
ProductProperty| Name | Description | Type | Additional information |
|---|---|---|---|
| CultureId |
Gets or sets the culture identifier. |
integer |
None. |
| ShopId |
Gets or sets the shop identifier. |
integer |
None. |
| ProductPropertyDefId |
Gets or sets the product property definition identifier. |
integer |
Required |
| Code |
Gets or sets the code. |
string |
None. |
| Value |
Gets or sets the value. |
string |
Max length: 2147483647 |
Request Formats
application/json, text/json
Sample:
{
"CultureId": 1,
"ShopId": 1,
"ProductPropertyDefId": 1,
"Code": "sample string 2",
"Value": "sample string 3"
}
application/xml, text/xml
Sample:
<ProductProperty xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <CultureId>1</CultureId> <ShopId>1</ShopId> <ProductPropertyDefId>1</ProductPropertyDefId> <Code>sample string 2</Code> <Value>sample string 3</Value> </ProductProperty>
Response Information
Resource Description
The HttpResponseMessage object.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |