Skip to main content

Common Data Types

To keep things simple, the Dibsy API endpoints will always attempt to use the same structure when representing certain value objects.

FieldData Type
CurrencyAn ISO 4217 currency code.
CountryThe country of the address in ISO 3166-1 Alpha-2 format.
BooleanIn JSON structures, booleans should be passed as the JSON boolean type.
DateA string representing a date in YYYY-MM-DD format.
DatetimeA string representing a date and time in ISO 8601 format.
Phone numberAll phone numbers must passed as strings in the E.164 format. For example, +97430302020.