v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
SalesPrice

๐Ÿ”’ Create sales price V3

This endpoint is currently in Beta and available for testing. It may contain bugs, and breaking changes can occur at any time without prior notice. We do not recommend using Beta endpoints in production environments. Should you choose to use it in production, you assume full responsibility for any resulting issues.

This endpoint requires the following scopes: salesPrice:create.

Create a new sales price.

post/api/v3/salesPrices

Request body

quantitynumber float required

Quantity

{"stackTrail":"paths:/api/v3/salesPrices:post:requestBody:content:application/json:schema:properties:packageAmount","oasType":"schema","type":"unknown","description":"Package amount","example":13.37}
customerProductNumberstring

Customer product number

isNotCalculatedFromExchangeTableboolean

Whether the price is not calculated from exchange table

hideInBulkPriceListingboolean

Whether to hide the price from bulk price listing

remarkstring

Remark

validFromstring date

Valid from date

expiresAtstring date

Expires at date

Example request

{
  "product": {
    "id": "1337"
  },
  "customer": {
    "id": "1337"
  },
  "customerGroup": {
    "id": "1337"
  },
  "price": {
    "amount": "13.37",
    "currency": "EUR"
  },
  "quantity": 13.37,
  "packageAmount": 13.37,
  "customerProductNumber": "Number1",
  "isNotCalculatedFromExchangeTable": true,
  "remark": "remark example",
  "validFrom": "2025-01-01",
  "expiresAt": "2025-01-01"
}

Response

Create a new sales price.

Example response

{
  "data": {
    "id": "1337",
    "product": {
      "id": "1337"
    },
    "customer": {
      "id": "1337"
    },
    "customerGroup": {
      "id": "1337"
    },
    "price": {
      "amount": "13.37",
      "currency": "EUR"
    },
    "amount": 13.37,
    "packageAmount": 13.37,
    "customerProductNumber": "Number1",
    "isNotCalculatedFromExchangeTable": true,
    "remark": "remark example",
    "validFrom": "2025-01-01",
    "expiresAt": "2025-01-01"
  }
}