v1

latestOpenAPI 3.0.02026-07-2455104.8 MB
ProductDeliveryThreshold

Create product delivery threshold V3

This endpoint requires the following scopes: deliveryThreshold:create.

Create a product delivery threshold.

post/api/v3/products/{productId}/deliveryThresholds

Path parameters

productIdstring required

Request body

recipientCountrystring required

Recipient country code in ISO 3166-1 alpha-2 format (uppercase)

taxRatenumber float required

Tax rate to be applied for this product and country

commentstring

Optional comment or note about the threshold

revenueAccountstring

Optional revenue account code to be used for this threshold

activeboolean

Whether the threshold is active. Defaults to false.

Example request

{
  "recipientCountry": "AT",
  "taxRate": 7.02,
  "comment": "Special tax rate for Austria",
  "revenueAccount": "ABC123",
  "active": true
}

Response

Create a product delivery threshold.

Example response

{
  "data": {
    "id": "1",
    "recipientCountry": "AT",
    "taxRate": 7.02,
    "comment": "Special tax rate for Austria",
    "revenueAccount": "ABC123",
    "active": true
  }
}