Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Body

application/json
id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
code
string
required
Minimum string length: 1
storeCount
integer
default:0
Required range: 0 <= x <= 9007199254740991
active
boolean
default:true

Response

The created region, exactly as the directory now serves it.

The created region, exactly as the directory now serves it.

id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
code
string
required
Minimum string length: 1
storeCount
integer
required
Required range: 0 <= x <= 9007199254740991
active
boolean
required