> ## Documentation Index
> Fetch the complete documentation index at: https://docs.storerocket.io/llms.txt
> Use this file to discover all available pages before exploring further.

# StoreRocket API

> Build a location integration with clear contracts and working examples.

Create locations, keep store details in sync, and update individual fields without replacing the rest of a location.
Test a read request in your browser, or choose cURL, JavaScript or PHP.

<CardGroup cols={2}>
  <Card title="Make your first request" icon="terminal" href="/api/quickstart">Create a token, choose a project and read your locations.</Card>
  <Card title="Sync location updates" icon="arrows-rotate" href="/api/sync-locations">Read every page, preview changes and handle retries.</Card>
  <Card title="Update selected fields" icon="pen" href="/api/locations/update">Use PATCH to change only the fields you supply.</Card>
  <Card title="Locations without hours" icon="clock" href="/api/locations/create#opening-hours">Save coming-soon locations without inventing a schedule.</Card>
  <Card title="Errors and retries" icon="triangle-exclamation" href="/api/errors">Understand HTTP statuses and actionable field errors.</Card>
  <Card title="Existing V1 integrations" icon="code" href="/api/legacy">Keep legacy routes, credentials and contracts clear.</Card>
</CardGroup>

This reference documents the current V2 API at `https://storerocket.io/api/v2`, with separate [legacy V1 documentation](/api/legacy).
For dashboard and installation guides, visit the [StoreRocket help center](https://help.storerocket.io).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.