Currencies

When maintaining currencies in the fulfillmenttools platform, value, currency, and decimalPlaces must be defined to support different currencies and decimal precision.

GET model:

{
  "value": 1559,
  "currency": "EUR",
  "decimalPlaces": 2
}

In this example, 1559 is interpreted as 15.59 EUR.

POST model

{
  "value": 1559,
  "currency": "EUR",
  "decimalPlaces": 2
}

If no decimalPlaces are sent, the backend sets a default of 2. The field is included in the GET response.

Last updated