POST api/product/{id}/modifierSet/{guid}/sort

Sort a product's modifier sets

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Guid of product to sort modifier sets for

globally unique identifier

Required

guid

Guid of modifier set to sort

globally unique identifier

Required

Body Parameters

List of dictionary values containing original and changed index values used to determine the new location

Collection of Pair of string [key] and integer [value]

Request Formats

application/json, text/json

Sample:
[
  {
    "key": "sample string 1",
    "value": 2
  },
  {
    "key": "sample string 1",
    "value": 2
  }
]

application/xml, text/xml

Sample:
<ArrayOfKeyValuePairOfstringint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
  <KeyValuePairOfstringint>
    <key>sample string 1</key>
    <value>2</value>
  </KeyValuePairOfstringint>
  <KeyValuePairOfstringint>
    <key>sample string 1</key>
    <value>2</value>
  </KeyValuePairOfstringint>
</ArrayOfKeyValuePairOfstringint>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.