Learn different Salesforce data types depending on conditions. The 5 data types in API are: ID, String, Boolean, Double, and Varies by Type.