Skip to content
Kaizena FlowDocs
Search

Search the docs

Settings

The store's settings, read.

OperationMethod and pathScope
Get the store's settingsGET /settingssettings:read

Get the store's settings

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

  • Answers: 200, the answer under data.

Answer

FieldTypeDescription
dataobject
data.namestring
data.slugstring
data.countrystring or null
data.time_zonestring
data.audiencestringWho it sells to: consumers, businesses or both.
data.languageslist of stringThe store's languages, its main one first.
data.currencieslist of objectsThe currencies it keeps, with the rate it set against its main one.
data.currencies[].currencystring, matching ^[A-Z]{3}$An ISO 4217 code, such as NOK or EUR.
data.currencies[].ratenumber or null
data.marketslist of objectsThe countries it sells to, as offered.
data.markets[].codestringA market, by its code (the country's ISO 3166-1 code, such as NO).
data.markets[].currencystring, matching ^[A-Z]{3}$An ISO 4217 code, such as NOK or EUR.
data.markets[].own_currencystring, matching ^[A-Z]{3}$An ISO 4217 code, such as NOK or EUR.
data.markets[].localestring
data.markets[].namestring
data.shippingobject
data.shipping.rateslist of objects
data.shipping.rates[].marketstringA market, by its code (the country's ISO 3166-1 code, such as NO).
data.shipping.rates[].currencystring, matching ^[A-Z]{3}$An ISO 4217 code, such as NOK or EUR.
data.shipping.rates[].amount_minorintegerAn amount in minor units of the currency (øre, cents), VAT included where the store's prices are.
data.shipping.rates[].free_over_minorinteger or nullAn amount in minor units of the currency (øre, cents), VAT included where the store's prices are.
data.shipping.methodslist of objects
data.shipping.methods[].idstring (uuid)
data.shipping.methods[].marketstringA market, by its code (the country's ISO 3166-1 code, such as NO).
data.shipping.methods[].currencystring, matching ^[A-Z]{3}$An ISO 4217 code, such as NOK or EUR.
data.shipping.methods[].namestring
data.shipping.methods[].estimate_daysobject
data.shipping.methods[].estimate_days.mininteger or null
data.shipping.methods[].estimate_days.maxinteger or null
data.shipping.methods[].free_over_minorinteger or nullAn amount in minor units of the currency (øre, cents), VAT included where the store's prices are.
data.shipping.methods[].activeboolean
data.taxobject
data.tax.vat_registeredboolean
data.tax.vat_numberstring or null
data.tax.dispatch_countrystring or null
data.tax.ossbooleanRegistered for the EU's One-Stop Shop.
data.tax.iossbooleanRegistered for the Import One-Stop Shop.
data.price_displayobject
data.price_display.decimalsstring
data.price_display.quantity_chooserstring
data.price_display.wordsmap of string to objectsWords around prices, per language.
data.price_display.words.{key}.beforestring
data.price_display.words.{key}.afterstring

Errors

StatusCodeWhen
401unauthorizedNo valid token in Authorization: Bearer kf_…, or one that was revoked.
403forbiddenThe 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.
429rate_limitedMore calls than the budget allows; Retry-After says how many seconds to wait.
500failedSomething went wrong on our side; nothing more was done. It is safe to try again.

Example request

curl

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

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

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)

Made from the API contract, version 1.57This page as Markdown

Was this page helpful?