# Tringify Store API

Reference and guides for the Tringify Store API.

Use the Store API to read and manage a store from an app or a server integration. Each bearer token belongs to one store and grants specific scopes. Start by confirming the connection, then use the resource endpoints your integration needs.

## API version and base URL

The supported API version is `2025-01`. Send requests to `https://api-store.tringify.com/api/2025-01`. Tokens are pinned to an API version; changing a request URL does not change that pin. Authenticated responses include `X-Tringify-API-Version` when version validation succeeds. See [Versioning and deprecation](/store-api/getting-started/versioning) for how versions are supported and retired.

## Make your first request

Get a token as described in [Authentication](/store-api/getting-started/authentication). For a first test, the store owner can create a Store Admin token under **Settings > API Tokens**. The store must have an active or trialing subscription. `GET /discover` requires no resource scope, so it is a useful first call.

```bash
curl "https://api-store.tringify.com/api/2025-01/discover" \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

A successful response looks like this. Check `store_id` (the store you meant to connect), `store_type` and `scopes`; [Token and store details](/store-api/discover) lists every field.

```json
{
  "success": true,
  "data": {
    "api_version": "2025-01",
    "token_type": "store_admin",
    "token_name": "Inventory sync",
    "store_id": "74e634ea-84ec-43b8-b66b-986214c2c5a3",
    "store_name": "Example Store",
    "store_country": "US",
    "store_timezone": "America/New_York",
    "store_currency": "USD",
    "store_default_locale": "en",
    "primary_domain": "shop.example.com",
    "plan_name": "Plus",
    "store_type": "live",
    "scopes": [
      "read_products",
      "write_products"
    ]
  }
}
```

If `data.store_type` is `dev` or `transfer`, you are connected to a development or transfer store. These stores have smaller rate limits and take test payments only; see [Development and transfer stores](/apps/apps/development-stores).

## Continue with resource requests

Every endpoint names the scope it needs. Listing tags, for example, needs `read_products`, which `write_products` includes:

```bash
curl "https://api-store.tringify.com/api/2025-01/tags" \
  -H "Authorization: Bearer YOUR_STORE_API_TOKEN"
```

Send `Content-Type: application/json` when the endpoint accepts a JSON body. Keep long-lived tokens on your server; in an embedded app, use an [App Bridge session token](/apps/admin-app-bridge/authentication) for browser requests.

## Conventions

- **Responses.** A success has `success: true` and its result in `data`; a write also returns a `code`, such as `TAX_RATE_CREATED`, and a `message`. A failure has `success: false` and an `error` with a `code`, a `message` and often `details.field`, the property at fault. Branch on `error.code`; see [Errors](/store-api/getting-started/errors).
- **Money and rates** are decimal strings such as `"10.50"`, never JSON numbers. An amount in several currencies is a map keyed by currency code, such as `{"USD": "10.50", "EUR": "9.90"}`. `formatted_*` fields are for display only.
- **Times** are ISO 8601 with the store's time-zone offset, such as `2026-07-21T16:30:00+05:30`.
- **Lists** page with `page` and `per_page`, or with the `cursor` from the previous response, as each endpoint documents. A resource's `limits` endpoint gives its page sizes and text lengths; read them instead of hard-coding numbers.

Read [Rate limits](/store-api/getting-started/rate-limits) and [Errors](/store-api/getting-started/errors) before adding retries. Use [Reference data](/store-api/reference) for country, currency, language, and address choices. If your integration reacts to changes, continue to [Receive webhooks](/store-api/webhooks/verify-signatures); each resource page lists its events. To let an AI assistant work with a store instead of writing code, see [Connect an AI assistant](/apps/connectors/connect).

