Skip to main content

Update product sort orders (batch)

Update product sort orders for multiple products.

Query Parameters
productIdType int32

Possible values: [0, 1, 2, 3]

The type of product id supplied.
0 = Internal. Internal product id set by Geins.
Eg: 10001.
1 = ArticleNumber. Article number set by customer.
Eg: ABC123.
2 = MarketPrefixedInternal. Internal product id set by Geins, prefixed with market.
Eg: SE10001.
3 = MarketPrefixedArticleNumber. Article number set by customer, prefixed with market.
Eg: SEABC123.

Request Body REQUIRED

List of product ids with new sort order values.

object[]
Id string

A value to uniquely identity a single product.
This value can represent different fields, depending on configuration.

Custom1 int32

Custom sort value 1.

Custom2 int32

Custom sort value 2.

Custom3 int32

Custom sort value 3.

Custom4 int32

Custom sort value 4.

Custom5 int32

Custom sort value 5.

Responses
200

The update result.

Schema OPTIONAL
Message string OPTIONAL

Information about the outcome of the request.

Invalid object[] OPTIONAL

Supplied sort order batch items that failed validation.

Id string OPTIONAL

A value to uniquely identity a single product.
This value can represent different fields, depending on configuration.

Custom1 int32 OPTIONAL

Custom sort value 1.

Custom2 int32 OPTIONAL

Custom sort value 2.

Custom3 int32 OPTIONAL

Custom sort value 3.

Custom4 int32 OPTIONAL

Custom sort value 4.

Custom5 int32 OPTIONAL

Custom sort value 5.

NotFound object[] OPTIONAL

Supplied sort order batch items that were technically valid, but couldn't be found.

Id string OPTIONAL

A value to uniquely identity a single product.
This value can represent different fields, depending on configuration.

Custom1 int32 OPTIONAL

Custom sort value 1.

Custom2 int32 OPTIONAL

Custom sort value 2.

Custom3 int32 OPTIONAL

Custom sort value 3.

Custom4 int32 OPTIONAL

Custom sort value 4.

Custom5 int32 OPTIONAL

Custom sort value 5.

UpdateCount int32 OPTIONAL

Number of sort order updates resulting from the request.

400

Bad request.

Schema OPTIONAL
Message string OPTIONAL

Information about the outcome of the request.

Invalid object[] OPTIONAL

Supplied sort order batch items that failed validation.

Id string OPTIONAL

A value to uniquely identity a single product.
This value can represent different fields, depending on configuration.

Custom1 int32 OPTIONAL

Custom sort value 1.

Custom2 int32 OPTIONAL

Custom sort value 2.

Custom3 int32 OPTIONAL

Custom sort value 3.

Custom4 int32 OPTIONAL

Custom sort value 4.

Custom5 int32 OPTIONAL

Custom sort value 5.

NotFound object[] OPTIONAL

Supplied sort order batch items that were technically valid, but couldn't be found.

Id string OPTIONAL

A value to uniquely identity a single product.
This value can represent different fields, depending on configuration.

Custom1 int32 OPTIONAL

Custom sort value 1.

Custom2 int32 OPTIONAL

Custom sort value 2.

Custom3 int32 OPTIONAL

Custom sort value 3.

Custom4 int32 OPTIONAL

Custom sort value 4.

Custom5 int32 OPTIONAL

Custom sort value 5.

UpdateCount int32 OPTIONAL

Number of sort order updates resulting from the request.