API - SDK interoperability
This section helps developers who work with both the REST API and Mobile SDKs understand how they relate.
Mapping of every use case to its REST API endpoint and SDK method
How API response fields map to SDK model objects, nutrient calculations, and serving sizes
Upcoming SDK version aligned with the API data model
Key differences
The SDK wraps the REST API — under the hood, every SDK method calls the same
/napi/...endpoints documented in the API Overview.The SDK applies localization headers automatically if you've called
updateLanguage,updateProductLocalization, orupdateSearchConfiguration. In the REST API, you set these headers yourself. See Localization.For Android-specific details on how the SDK parses API JSON responses into model objects, see JSON Response Parsing in the Android SDK docs.
Last updated