v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
Purchase Price

Update purchase price V2

Updates details of a single purchase price

patch/api/v2/purchasePrices/{id}

Path parameters

idstring required

Resource identifier.

Example:17

The resource's identifier.

Request body

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

{
  "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",
  "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