API v2
Currently Spree includes 2 modern REST APIs:Storefront API
Designed to allow customers to interact with the store via external applications (e.g. Next.js storefront or a dedicated mobile app)
Platform API
Provides management capabilities, allowing third party apps to perform actions otherwise available via the admin panel.
Legacy REST API v1
Legacy REST API v1 was extracted tospree_api_v1
gem. It is not recommended to use it in new projects, but it’s still available for existing ones.