Skip to main content

Replace product parameter values (batch)

Replaces multiple product parameter values. Any existing product parameter values that is not supplied in the request will be removed from the product.

Request Body REQUIRED

The product parameter values to replace.

productParameterValues object[]
ProductId int32

The product id of the parameter.
This value can be omitted if the value is part of a product request.

ParameterId int32

The unique identifier of the parameter that this value belongs to.

Value string

The identifying value of the parameter.
Although always presented as a string, the data within Value must validate against the ProductParameterType of the parameter:
String = Any string.
Float = Any floating point number.
DateTime = Any date.
Multi = Any predefined value id from the predefined set of values for this parameter.
Single = Any predefined value id from the predefined set of values for this parameter.
Headline = Any string.
Tags = Any string, as part of a pipe-separated list. A string containing the pipe (|) character is not allowed.

LocalizedDescriptions object[]

The localized descriptions of the parameter.
Only used for parameter types String or Headline.
For Multi and Single, use LocalizedNames.

LanguageCode string
Content string

The localized content.

Responses
200

Ok.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

A status message for the action taken.

Details string[] OPTIONAL

Any validation messages for the data on the current action.