v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Purchase Order

Create purchase order

Creates a new purchase order.

post/api/v1/purchaseOrders

Request body

datestring date required

Date of the purchase order.

bodyIntroductionstring

Text above the position table in the PDF.

bodyOutroductionstring

Text below the position table in the PDF.

salesOrderConfirmationReferencestring

Reference of the sales order confirmation.

isConfirmationRequestedboolean

Shows if a confirmation is requested.

suppliersOfferReferencestring

Offer reference of the supplier.

internalDesignationstring

Internal designation of the purchase order.

isConfirmedboolean

Shows if the purchase order is confirmed.

confirmedVia'Internet' | 'E-Mail' | 'Telephone' | 'Telefax' | 'Letter' | 'Other'

Determines how the purchase order was confirmed.

internalCommentstring

Internal comment about the purchase order.

liabilitiesInfostring

Information for liabilities.

differingDesignationboolean

Whether the purchase order uses differing designation.

Example request

{
  "project": {
    "id": "1337"
  },
  "supplier": {
    "id": "17"
  },
  "requestForQuotation": {
    "id": "1337"
  },
  "language": {
    "iso2": "DE"
  },
  "financials": {
    "paymentMethod": {
      "id": "1337"
    },
    "currency": "PLN"
  },
  "delivery": {
    "deliveryTerms": {
      "id": "1337"
    }
  },
  "positions": [
    {
      "project": {
        "id": "1337"
      },
      "product": {
        "id": "1337"
      },
      "salesOrderPosition": {
        "id": "1337"
      },
      "price": {
        "amount": "13.37",
        "currency": "EUR"
      }
    }
  ]
}

Response

Resource successfully created response