---
updatedAt: 2025-06-17T12:30:19.000Z
agentTools:
  projectIndex: https://stockpit.readme.io/llms.txt
---

# Data types

## Int

Integer number (ex: 2, 117, -9). Value is between -9223372036854775808 and 9223372036854775807.

## String

Text limited to 255 characters.

## ID

Same as Int

## Float

Float number. Depending on the data, the maximum value and the number of decimals could be different :

* for a quantity : 17 digits, 7 after the decimal point
* for a cost : 14 digits, 4 after the decimal point
* for a price : 10 digits, 2 after the decimal point
* for a weight : 10 digits, 4 after the decimal point
* for a percentage : 5 digits, 2 after the decimal point (except for a currency rate : 12 digits, 6 after the decimal point)

## Boolean

Boolean value (true / false). The API could return also 0 (false) and 1 (true)

## Date

Date (format : YYYY-MM-DD)

## DateTime

Date and time (format : YYYY-MM-DD HH:MM:SS)