Skip to main content

How to use the REST API

Manage your StoreRocket locations programmatically using our REST API.

Updated this week

The REST API lets you create, read, update, and delete locations programmatically. It's available on the Business plan.

Getting your API token

  1. Go to API Tokens in your dashboard

  2. Click Create Token

  3. Copy it and store it securely. You won't be able to see it again.

Your token is tied to your account and gives access to all projects under it.

Full API documentation

The complete API reference with all endpoints, parameters, and example requests is here:

You can also import the collection directly into Postman to test requests against your own account.

Quick start

All API requests go to https://storerocket.io/api/v2/ and require your token in the Authorization header:

Authorization: Bearer YOUR_API_TOKEN

Here's a quick example to list all your projects:

curl https://storerocket.io/api/v2/projects \
  -H "Authorization: Bearer YOUR_TOKEN"

And to list all locations in a project:

curl https://storerocket.io/api/v2/projects/{PROJECT_ID}/locations \
  -H "Authorization: Bearer YOUR_TOKEN"

Replace {PROJECT_ID} with your project's ID, which you can find in the dashboard URL or by calling the projects endpoint above.

What you can do

  • Projects β€” list all projects under your account

  • Locations β€” list, create, update, and delete locations within a project

When you create or update a location, StoreRocket automatically geocodes the address to get map coordinates. No need to provide latitude/longitude manually.

Rate limits

API requests are rate-limited to prevent abuse. If you hit the limit, you'll get a 429 response. Wait a moment and try again.

Need help?

If you run into any issues or have questions about a specific endpoint, reach out on live chat and we'll help you out.

Did this answer your question?