# Settings

> The store's settings, read.

| Operation | Method and path | Scope |
|---|---|---|
| [Get the store's settings](https://docs.kaizenaflow.com/reference/admin-api/settings#settings-get) | `GET /settings` | [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#settings-read) |

## Get the store's settings {#settings-get}

`GET https://kaizenaflow.com/api/admin/v1/settings`

The store's markets, currencies and languages, shipping rates and methods, tax profile and price display, as its settings pages keep them.

- **Operation:** `settings.get`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#settings-read)
- **Answers:** `200`, the answer under `data`.

### Answer {#settings-get-answer}

| Field | Type | Description |
|---|---|---|
| `data` | object |   |
| `data.name` | string |   |
| `data.slug` | string |   |
| `data.country` | string or null |   |
| `data.time_zone` | string |   |
| `data.audience` | string | Who it sells to: consumers, businesses or both. |
| `data.languages` | list of string | The store's languages, its main one first. |
| `data.currencies` | list of objects | The currencies it keeps, with the rate it set against its main one. |
| `data.currencies[].currency` | string, matching `^[A-Z]{3}$` | An ISO 4217 code, such as NOK or EUR. |
| `data.currencies[].rate` | number or null |   |
| `data.markets` | list of objects | The countries it sells to, as offered. |
| `data.markets[].code` | string | A market, by its code (the country's ISO 3166-1 code, such as NO). |
| `data.markets[].currency` | string, matching `^[A-Z]{3}$` | An ISO 4217 code, such as NOK or EUR. |
| `data.markets[].own_currency` | string, matching `^[A-Z]{3}$` | An ISO 4217 code, such as NOK or EUR. |
| `data.markets[].locale` | string |   |
| `data.markets[].name` | string |   |
| `data.shipping` | object |   |
| `data.shipping.rates` | list of objects |   |
| `data.shipping.rates[].market` | string | A market, by its code (the country's ISO 3166-1 code, such as NO). |
| `data.shipping.rates[].currency` | string, matching `^[A-Z]{3}$` | An ISO 4217 code, such as NOK or EUR. |
| `data.shipping.rates[].amount_minor` | integer | An amount in minor units of the currency (øre, cents), VAT included where the store's prices are. |
| `data.shipping.rates[].free_over_minor` | integer or null | An amount in minor units of the currency (øre, cents), VAT included where the store's prices are. |
| `data.shipping.methods` | list of objects |   |
| `data.shipping.methods[].id` | string (uuid) |   |
| `data.shipping.methods[].market` | string | A market, by its code (the country's ISO 3166-1 code, such as NO). |
| `data.shipping.methods[].currency` | string, matching `^[A-Z]{3}$` | An ISO 4217 code, such as NOK or EUR. |
| `data.shipping.methods[].name` | string |   |
| `data.shipping.methods[].estimate_days` | object |   |
| `data.shipping.methods[].estimate_days.min` | integer or null |   |
| `data.shipping.methods[].estimate_days.max` | integer or null |   |
| `data.shipping.methods[].free_over_minor` | integer or null | An amount in minor units of the currency (øre, cents), VAT included where the store's prices are. |
| `data.shipping.methods[].active` | boolean |   |
| `data.tax` | object |   |
| `data.tax.vat_registered` | boolean |   |
| `data.tax.vat_number` | string or null |   |
| `data.tax.dispatch_country` | string or null |   |
| `data.tax.oss` | boolean | Registered for the EU's One-Stop Shop. |
| `data.tax.ioss` | boolean | Registered for the Import One-Stop Shop. |
| `data.price_display` | object |   |
| `data.price_display.decimals` | string |   |
| `data.price_display.quantity_chooser` | string |   |
| `data.price_display.words` | map of string to objects | Words around prices, per language. |
| `data.price_display.words.{key}.before` | string |   |
| `data.price_display.words.{key}.after` | string |   |

### Errors {#settings-get-errors}

| Status | Code | When |
|---|---|---|
| 401 | [`unauthorized`](https://docs.kaizenaflow.com/reference/errors#unauthorized) | No valid token in `Authorization: Bearer kf_…`, or one that was revoked. |
| 403 | [`forbidden`](https://docs.kaizenaflow.com/reference/errors#forbidden) | The token does not hold the scope the operation needs, or its owner does not hold the staff permission it needs in the store now (a store that is not open, as in the admin, keeps open only its orders, customers, reports and the owner's own pages such as its webhooks; its products, discounts, website and settings, read or changed, are refused); the message names which. |
| 429 | [`rate_limited`](https://docs.kaizenaflow.com/reference/errors#rate-limited) | More calls than the budget allows; `Retry-After` says how many seconds to wait. |
| 500 | [`failed`](https://docs.kaizenaflow.com/reference/errors#failed) | Something went wrong on our side; nothing more was done. It is safe to try again. |

### Example request {#settings-get-example}

**curl**

```shell
curl 'https://kaizenaflow.com/api/admin/v1/settings' \
  -H "Authorization: Bearer $KAIZENA_TOKEN"
```

**JavaScript**

```javascript
const response = await fetch("https://kaizenaflow.com/api/admin/v1/settings", {
  headers: {
    Authorization: `Bearer ${process.env.KAIZENA_TOKEN}`,
  },
});
const answer = await response.json();
```

**Python**

```python
import json
import os
import urllib.request

request = urllib.request.Request(
    "https://kaizenaflow.com/api/admin/v1/settings",
    headers={
        "Authorization": "Bearer " + os.environ["KAIZENA_TOKEN"],
    },
)
with urllib.request.urlopen(request) as response:
    answer = json.load(response)
```

---

https://docs.kaizenaflow.com/reference/admin-api/settings · made from the API contract 1.57
