POST api/order/Order/{orderId}/UpdateInvoiceDetails

Updates the Invoice details of a given Order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
orderId

integer

Required

Body Parameters

OrderInvoiceViewModel
NameDescriptionTypeAdditional information
InvoiceNumber

string

None.

InvoiceNotes

string

None.

Request Formats

application/xml, text/xml

Sample:
<OrderInvoiceViewModel>
  <InvoiceNumber>sample string 1</InvoiceNumber>
  <InvoiceNotes>sample string 2</InvoiceNotes>
</OrderInvoiceViewModel>

application/json, text/json

Sample:
{
  "InvoiceNumber": "sample string 1",
  "InvoiceNotes": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'OrderInvoiceViewModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.