Skip to main content
GET
Retrieves the full detail of a purchase order by its ID.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

purchaseOrderId
string<uuid>
required

The purchase order's ID. Der LieferantenBestellung Schlüssel.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

Response

Success.

The full detail of a purchase order, including its line items, addresses and the supplier snapshot.

purchaseOrderId
string<uuid>
required

Unique ID of the purchase order.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

supplierId
string<uuid>
required

ID of the supplier the order was placed with.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

status
enum<integer>
required

The order's current status.

Available options:
0,
5,
20,
30,
50,
500
currencyIso
string
required

ISO code of the order's currency.

currencyFactor
number<decimal>
required

Conversion factor of the order's currency.

isConfirmed
boolean
required

Whether the order has been confirmed by the supplier.

lineItems
object[]
required

The order's line items.

supplierName
string

The supplier's current display name, resolved at read time. NULL if the supplier could not be resolved.

orderNumber
string

The order's own number.

externalOrderNumber
string

The buyer's own order number.

referenceOrderNumber
string

A reference order number.

requestedDeliveryDate
string<date-time>

The delivery date requested from the supplier.

createdAt
string<date-time>

Date the order was created.

warehouseId
string<uuid>

Target warehouse of the incoming goods.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

companyId
string<uuid>

The company the order was placed for.

Example:

"b45f6432-2462-4c6f-b00f-1d9d01000000"

internalComment
string

Internal comment on the order, not communicated to the supplier.

deliveryAddress
object

Delivery address of the order.

billingAddress
object

Billing address of the order.

supplier
object

Snapshot of the supplier's master data at the time the order was created.