POST api/order/Order/{orderID}/OrderDetail?productID={productID}&quantity={quantity}

Allows you to add a new OrderDetail to a given OrderID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderID

Order # of the order to add the item to

integer

Required

productID

The Product # to add

string

Required

quantity

The Quantity to add

integer

Default value is 1

Body Parameters

None.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.