PUT v1/Products/{productId}/Resources/{productResourceId}/MetaData

Add the Product Resource's meta data. The meta data CultureId parameter is required - if not set, the Resource's CultureId will be set to null. All other parameters are optional and are applied only if set in a request.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
productId

The Product id

integer

Required.

productResourceId

The Resource id

integer

Required.

Body Parameters

The Resource metaData

ProductResourceMetaData
NameDescriptionTypeAdditional information
Name

string

None.

CultureId

integer

None.

Data

string

None.

Sequence

integer

None.

ContentType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "CultureId": 1,
  "Data": "sample string 2",
  "Sequence": 1,
  "ContentType": 1
}

application/xml, text/xml

Sample:
<ProductResourceMetaData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Name>sample string 1</Name>
  <CultureId>1</CultureId>
  <Data>sample string 2</Data>
  <Sequence>1</Sequence>
  <ContentType>1</ContentType>
</ProductResourceMetaData>

Response Information

Response Codes

  • OK (200)

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.