POST api/pricezone/{id}/sort

Re-sort a price zone

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

PriceZone id

integer

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.