[API] add stores to the REST API
Fixes #5627