Getting started

Authentication and quickstart

Use an iStores API bearer token to connect your server to your store.

1. Get your credentials

Open API settings in your dashboard and obtain your integration credentials. Enable the permissions needed for the operations you plan to use. Keep your token private.

2. Set your headers

HeaderValue
AuthorizationBearer YOUR_TOKEN
User-AgentYour integration name and version, such as catalog-sync/1.0
Content-Typeapplication/json when sending a JSON body

3. Read your catalog

This request reads the first ten products without changing your store:

Code(bash)
curl "https://api.istores.co.il/products/10/1" \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "User-Agent: catalog-sync/1.0"

Replace YOUR_TOKEN with your bearer token. See Products for the response fields and pagination parameters.

4. Choose your next operation

Browse API resources, open a resource and choose an operation. Check its required permissions and fields before sending a request. In the API playground, use your own credentials and review the method and body before running it: write operations affect your live store.

Troubleshooting

Authentication and permission errors
StatusAction
401Check the bearer token and obtain valid credentials if needed.
402Review outstanding payments in your dashboard.
403Check that your credentials allow the requested operation.
Validation, rate limits and retries
StatusAction
400Check JSON syntax and the endpoint's request format.
404Check the resource ID and whether the feature is available for your store.
422Read the returned field errors and correct the request.
429Wait before retrying. Honor Retry-After when present; otherwise use backoff.

Keep requests at 2 per second. After a write times out, read the resource before retrying so you do not create duplicate records or repeat a payment.

Continue with Requests, responses and retries. For AI assistants, follow the separate MCP connection guide.