v1

latestOpenAPI 3.0.0UNLICENSED2026-07-26178479713.7 KB
locations

aid_location_post

Create a sales location scopes:

  • admin:locations
  • write:locations
post/accounts/{aid}/locations

Path parameters

aidstring ^[PT]{1}\d{8}$ required

An id that uniquely identifies the account.

Request body

location_idstring

The id you have defined for the sales location. (must not have trailing or leading spaces). An auto-generated location_id will be created if no location_id is provided

idstring required
organization_numberstring
namestring

name of the store, aka trade name of the store

business_namestring

Official name of the person or entity that owns the store.

Example request

{
  "location_id": "S01923",
  "id": "SL02",
  "organization_number": "123456789MVA",
  "name": "SC Oslo",
  "business_name": "SC Oslo AS"
}

Response

created an location

account_idstring ^[PT]{1}\d{8}$
idstring required
organization_numberstring
namestring

name of the store, aka trade name of the store

business_namestring

Official name of the person or entity that owns the store.

Example response

{
  "id": "SL02",
  "organization_number": "123456789MVA",
  "name": "SC Oslo",
  "business_name": "SC Oslo AS"
}