v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Purchase Price

Update multiple purchase prices V2

Updates multiple purchase prices

patch/api/v2/purchasePrices

Request body

idstring required

Resource identifier.

supplierDesignationstring

The designation of the supplier

supplierItemNumberstring

Supplier item number

fromQuantitynumber float

Minimum quantity for this price

packageAmountnumber float nullable

Amount of items in a package

validFromstring date nullable

Date from which the price is valid

expiresAtstring date nullable

Date until which the price is valid

internalCommentstring

Internal Comment

Example request

[
  {
    "id": "17",
    "product": {
      "id": "1337"
    },
    "supplier": {
      "id": "194"
    },
    "supplierDesignation": "Xentral",
    "supplierItemNumber": "4992042-20",
    "fromQuantity": 1,
    "packageAmount": 10,
    "price": {
      "amount": "13.37",
      "currency": "EUR"
    },
    "validFrom": "2023-12-01",
    "expiresAt": "2024-12-12",
    "additionalInformation": {
      "supplierStockLevel": 73,
      "supplierStockDate": "2024-11-01",
      "safetyStockLevel": 10,
      "standardDeliveryTime": 3,
      "standardDeliveryTimeUnit": "days",
      "currentDeliveryTime": 12,
      "currentDeliveryTimeUnit": "weeks"
    },
    "internalComment": "Test"
  }
]

Response

Operation completed successfully, no response body