PUT api/OrderItems?orderId={orderId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
orderId | string |
Required |
Body Parameters
Collection of OrderItemModelName | Description | Type | Additional information |
---|---|---|---|
Quantity | integer |
None. |
|
Price | decimal number |
None. |
|
ProductKey | string |
None. |
|
ProductShapeId | integer |
None. |
|
ProductShapeTypeId | integer |
None. |
|
Note | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Quantity": 1, "Price": 2.1, "ProductKey": "sample string 3", "ProductShapeId": 1, "ProductShapeTypeId": 4, "Note": "sample string 5" }, { "Quantity": 1, "Price": 2.1, "ProductKey": "sample string 3", "ProductShapeId": 1, "ProductShapeTypeId": 4, "Note": "sample string 5" } ]
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> <Note>sample string 5</Note> <Price>2.1</Price> <ProductKey>sample string 3</ProductKey> <ProductShapeId>1</ProductShapeId> <ProductShapeTypeId>4</ProductShapeTypeId> <Quantity>1</Quantity> </OrderItemModel> <OrderItemModel> <Note>sample string 5</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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.