POST v1/Products/{productId}/Properties/{code}
Add or update the Product Property implicitly creating a Product Property Definition if not found by the specified code.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| productId |
The id of the product. |
integer |
Required. |
| code |
The property code. |
string |
Required. |
Body Parameters
The property value.
PropertyValue| Name | Description | Type | Additional information |
|---|---|---|---|
| Value |
The property value |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Value": "sample string 1"
}
application/xml, text/xml
Sample:
<PropertyValue xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Value>sample string 1</Value> </PropertyValue>
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. |