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

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
productId

The id of the product.

integer

Required.

code

The property code.

string

Required.

Body Parameters

The property value.

PropertyValue
NameDescriptionTypeAdditional 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

Response Codes

  • OK (200)
  • NotFound (404)

Resource Description

The HttpResponseMessage object.


HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.