PUT api/OrderItems?orderId={orderId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

string

Required

Body Parameters

Collection of OrderItemModel
NameDescriptionTypeAdditional information
Quantity

integer

None.

Price

decimal number

None.

ProductKey

string

None.

ProductShapeId

integer

None.

ProductShapeTypeId

integer

None.

ActualPrice

decimal number

None.

Note

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Quantity": 1,
    "Price": 2.1,
    "ProductKey": "sample string 3",
    "ProductShapeId": 1,
    "ProductShapeTypeId": 4,
    "ActualPrice": 5.1,
    "Note": "sample string 6"
  },
  {
    "Quantity": 1,
    "Price": 2.1,
    "ProductKey": "sample string 3",
    "ProductShapeId": 1,
    "ProductShapeTypeId": 4,
    "ActualPrice": 5.1,
    "Note": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderItemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model">
  <OrderItemModel>
    <ActualPrice>5.1</ActualPrice>
    <Note>sample string 6</Note>
    <Price>2.1</Price>
    <ProductKey>sample string 3</ProductKey>
    <ProductShapeId>1</ProductShapeId>
    <ProductShapeTypeId>4</ProductShapeTypeId>
    <Quantity>1</Quantity>
  </OrderItemModel>
  <OrderItemModel>
    <ActualPrice>5.1</ActualPrice>
    <Note>sample string 6</Note>
    <Price>2.1</Price>
    <ProductKey>sample string 3</ProductKey>
    <ProductShapeId>1</ProductShapeId>
    <ProductShapeTypeId>4</ProductShapeTypeId>
    <Quantity>1</Quantity>
  </OrderItemModel>
</ArrayOfOrderItemModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.