Help Page Home

POST api/parts/orders/{id}/invoice

Mark a subset of parts from the given order as having been shipped and attached to an invoice

Required Scopes

Parts.UpdateParts

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The unique ID of the parts order.

globally unique identifier

Required

Body Parameters

The details of the invoice

InvoiceDto
NameDescriptionTypeAdditional information
InvoiceNumber

string

None.

ShippingDate

date

None.

Parts

Collection of InvoicePart

None.

Request Formats

{
  "InvoiceNumber": "sample string 1",
  "ShippingDate": "2026-12-01T07:16:33.6331539+00:00",
  "Parts": [
    {
      "PartNumber": "sample string 1",
      "Quantity": 2
    },
    {
      "PartNumber": "sample string 1",
      "Quantity": 2
    }
  ]
}
<InvoiceDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudaAPI.WebAPI.Models">
  <InvoiceNumber>sample string 1</InvoiceNumber>
  <Parts>
    <InvoicePart>
      <PartNumber>sample string 1</PartNumber>
      <Quantity>2</Quantity>
    </InvoicePart>
    <InvoicePart>
      <PartNumber>sample string 1</PartNumber>
      <Quantity>2</Quantity>
    </InvoicePart>
  </Parts>
  <ShippingDate>2026-12-01T07:16:33.6331539+00:00</ShippingDate>
</InvoiceDto>

Response Information

Resource Description

boolean

Response Formats

true
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>