PUT Orders/ModifyOrderItem

throw new HttpResponseException(HttpStatusCode.Unauthorized); ModifyOrderItem

Request Information

URI Parameters

None.

Body Parameters

ModifyOrderItemBinding
NameDescriptionTypeAdditional information
ID

integer

None.

VariationID

integer

None.

Quantity

decimal number

None.

Observations

Customer observations

string

String length: inclusive between 0 and 500

OrderID

integer

None.

Token

globally unique identifier

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "VariationID": 2,
  "Quantity": 3.0,
  "Observations": "sample string 4",
  "OrderID": 5,
  "Token": "b813b86e-e377-4190-8d71-a838de7e0e2b",
  "Lang": "sample string 7",
  "StoreID": 8
}

application/xml, text/xml

Sample:
<ModifyOrderItemBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Binding.Order">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 7</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">8</StoreID>
  <OrderID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">5</OrderID>
  <Token xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Order">b813b86e-e377-4190-8d71-a838de7e0e2b</Token>
  <ID>1</ID>
  <Observations>sample string 4</Observations>
  <Quantity>3</Quantity>
  <VariationID>2</VariationID>
</ModifyOrderItemBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.