v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Purchase Price

Create purchase price V1

Creates new purchase price

post/api/v1/purchasePrices

Request body

supplierDesignationstring

The designation of the supplier

supplierItemNumberstring

Supplier item number

fromQuantitynumber float required

Minimum quantity for this price

packageAmountnumber float nullable

Amount of items in a package

validFromstring date nullable required

Date from which the price is valid

expiresAtstring date nullable required

Date until which the price is valid

Example request

{
  "product": {
    "id": "1337"
  },
  "supplier": {
    "id": "194"
  },
  "supplierDesignation": "Xentral",
  "supplierItemNumber": "4992042-20",
  "fromQuantity": 1,
  "packageAmount": 10,
  "price": {
    "amount": 7.3,
    "currency": "EUR"
  },
  "validFrom": "2023-12-01",
  "expiresAt": "2024-12-12"
}

Response

Resource successfully created response