Skip to content

REST API v2. Authenticate with a Bearer JWT in the Authorization header unless an endpoint is marked public.

Servers​

https://v2-staging.tscheckout.comCurrent host

DefaultLocalizationSettings​

Endpoints to interact with default localization settings


Get default localization​

GET
/api/v2/settings/default-localization

Returns the current default localization object

Authorizations​

bearerAuth
Type
HTTP (bearer)

Responses​

Default localization object or null if not set

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization

Samples​


Update default localization​

PATCH
/api/v2/settings/default-localization

Updates the default localization ID and returns the localization object

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Default localization updated, returns localization object

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI