---
title: "aid_location_post"
method: POST
path: "/accounts/{aid}/locations"
tags: ["locations"]
---

# aid_location_post

`POST /accounts/{aid}/locations`

Create a sales location
scopes:
- admin:locations
- write:locations

## Path parameters

- `aid` string, ^[PT]{1}\d{8}$, required

## Request body

- object
  - `location_id` string — 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
  - `id` string, required
  - `organization_number` string
  - `name` string — name of the store, aka trade name of the store
  - `business_name` string — Official name of the person or entity that owns the store.

## Response `200`

created an location

- SalesLocationResponse
  - `account_id` string, ^[PT]{1}\d{8}$
  - `id` string, required
  - `organization_number` string
  - `name` string — name of the store, aka trade name of the store
  - `business_name` string — Official name of the person or entity that owns the store.

## Other responses

- `400` — Bad / Invalid request
- `401` — Access forbidden, invalid JWT token was used
- `403` — Forbidden
- `404` — Resource was not found
- `500` — Unexpected Error

---

[API](https://skmtc.net/dintero/apis/account-management-api.md) · [All operations](https://skmtc.net/dintero/apis/account-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dintero/account-management-api/versions/9b83a4199008/schema)
