Register new organisation
Register a new organisation and attach the current logged in users to the organisation
POST
/api/v1/{app_id}/organisations- API
- Auth
- OpenAPI
- auth-api
- Updated
- Apr 26, 2026
auth-api:POST:/api/v1/{app_id}/organisations
Register a new organisation and attach the current logged in users to the organisation
API ownership
- API family: Auth API
- Best for: Customer identity, session, token, cart, and wishlist flows.
- Do not use from: Merchant admin data syncs or public catalog rendering.
- Guide route: /apis/auth/latest
The OpenAPI contract defines the method, path, parameters, request body, and responses for this operation.
Operation
- Method:
POST - Path:
/api/v1/\{app_id\}/organisations - Summary: Register new organisation
- Description: Register a new organisation and attach the current logged in users to the organisation
- OpenAPI contract: auth-api
- Operation ID: Not documented in the OpenAPI contract.
Operation key uses API family, method, and path because this OpenAPI contract does not publish an operation ID.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| app_id | path | Yes | string | UUID of the app |
Request body
- Required: Yes
- Description: User registration details
- Content: application/json (object)
Register Company Request
| Property | Type | Required | Details |
|---|---|---|---|
attribute_ids | string[] | No | - |
billing_address | object[] | No | - |
comment | string | No | - |
contact_name | string | No | - |
credit_check | boolean | No | - |
custom_fields | object | No | - |
customer_role | string | No | The role asigned to the signed in user in the organisation and user relationship. The slug of the custom role |
email | string | No | - |
external_ref | string | No | - |
invoice_email | string | No | - |
name | string | Yes | - |
organisation_number | string | No | - |
phone | string | No | - |
shipping_address | object[] | No | - |
status | enum("active", "pending") | Yes | - |
store_groups | string[] | No | - |
tax_id_vat_number | string | No | - |
user_id | string | Yes | - |
Company Address Request
| Property | Type | Required | Details |
|---|---|---|---|
city | string | No | - |
co_address | string | No | - |
country | string | No | - |
house_number | string | No | - |
is_default | boolean | No | - |
name | string | No | - |
phone | string | No | - |
postal_code | string | No | - |
shipping_type | string | No | - |
state_province | string | No | - |
street_address | string | No | - |
{
"attribute_ids": [
"string"
],
"billing_address": [
{
"city": "string",
"co_address": "string",
"country": "string",
"house_number": "string",
"is_default": false,
"name": "string",
"phone": "string",
"postal_code": "string",
"shipping_type": "string",
"state_province": "string",
"street_address": "string"
}
],
"comment": "string",
"contact_name": "string",
"credit_check": false,
"custom_fields": {},
"customer_role": "string",
"email": "string",
"external_ref": "string",
"invoice_email": "string",
"name": "string",
"organisation_number": "string",
"phone": "string",
"shipping_address": [
{
"city": "string",
"co_address": "string",
"country": "string",
"house_number": "string",
"is_default": false,
"name": "string",
"phone": "string",
"postal_code": "string",
"shipping_type": "string",
"state_province": "string",
"street_address": "string"
}
],
"status": "active",
"store_groups": [
"string"
],
"tax_id_vat_number": "string",
"user_id": "string"
}Responses
| Status | Description | Content |
|---|---|---|
| 200 | OK | application/json (object) |
| 400 | Invalid request | application/json (object) |
| 500 | Internal server error | application/json (object) |
200 - object
Get Organisation
| Property | Type | Required | Details |
|---|---|---|---|
company | object | No | - |
Company
| Property | Type | Required | Details |
|---|---|---|---|
app_id | string | No | - |
attributes | object[] | No | - |
billing_address | object[] | No | - |
comment | string | No | - |
contact_name | string | No | - |
created_at | string | No | - |
credit_check | boolean | No | - |
custom_fields | object | No | - |
customer_groups | object[] | No | - |
email | string | No | - |
external_ref | string | No | - |
files | object[] | No | - |
id | string | No | - |
invoice_email | string | No | - |
name | string | No | - |
organisation_number | string | No | - |
parent_id | string | No | - |
phone | string | No | - |
shipping_address | object[] | No | - |
status | string | No | - |
store_groups | object[] | No | - |
tags | object[] | No | - |
tax_id_vat_number | string | No | - |
updated_at | string | No | - |
Attribute
| Property | Type | Required | Details |
|---|---|---|---|
description | string | No | - |
id | string | No | - |
key | string | No | - |
name | string | No | - |
template_key | string | No | - |
translations | object | No | - |
values | object | No | - |
Company Address
| Property | Type | Required | Details |
|---|---|---|---|
city | string | No | - |
co_address | string | No | - |
company_id | string | No | - |
company_name | string | No | - |
country | string | No | - |
created_at | string | No | - |
house_number | string | No | - |
id | string | No | - |
is_default | boolean | No | - |
name | string | No | - |
phone | string | No | - |
postal_code | string | No | - |
shipping_type | string | No | - |
state_province | string | No | - |
street_address | string | No | - |
updated_at | string | No | - |
Customer Group Ref
| Property | Type | Required | Details |
|---|---|---|---|
id | string | No | - |
name | string | No | - |
slug | string | No | - |
File
| Property | Type | Required | Details |
|---|---|---|---|
app_id | string | No | - |
content_type | string | No | - |
created_at | string | No | - |
custom_fields | object | No | - |
filename | string | No | - |
id | string | No | - |
updated_at | string | No | - |
url | string | No | - |
Store Group
| Property | Type | Required | Details |
|---|---|---|---|
country_of_sale | string | No | - |
created_at | string | No | - |
description | string | No | - |
id | string | No | - |
name | string | No | - |
slug | string | No | - |
store_type | string | No | - |
updated_at | string | No | - |
Tag
| Property | Type | Required | Details |
|---|---|---|---|
id | string | No | - |
key | string | No | - |
name | string | No | - |
{
"company": {
"app_id": "string",
"attributes": [
{
"description": "string",
"id": "string",
"key": "string",
"name": "string",
"template_key": "string",
"translations": {
"description": null,
"name": null
},
"values": {}
}
],
"billing_address": [
{
"city": "string",
"co_address": "string",
"company_id": "string",
"company_name": "string",
"country": "string",
"created_at": "string",
"house_number": "string",
"id": "string",
"is_default": false,
"name": "string",
"phone": "string",
"postal_code": "string",
"shipping_type": "string",
"state_province": "string",
"street_address": "string",
"updated_at": "string"
}
],
"comment": "string",
"contact_name": "string",
"created_at": "string",
"credit_check": false,
"custom_fields": {},
"customer_groups": [
{
"id": "string",
"name": "string",
"slug": "string"
}
],
"email": "string",
"external_ref": "string",
"files": [
{
"app_id": "string",
"content_type": "string",
"created_at": "string",
"custom_fields": {},
"filename": "string",
"id": "string",
"updated_at": "string",
"url": "string"
}
],
"id": "string",
"invoice_email": "string",
"name": "string",
"organisation_number": "string",
"parent_id": "string",
"phone": "string",
"shipping_address": [
{
"city": "string",
"co_address": "string",
"company_id": "string",
"company_name": "string",
"country": "string",
"created_at": "string",
"house_number": "string",
"id": "string",
"is_default": false,
"name": "string",
"phone": "string",
"postal_code": "string",
"shipping_type": "string",
"state_province": "string",
"street_address": "string",
"updated_at": "string"
}
],
"status": "string",
"store_groups": [
{
"country_of_sale": "string",
"created_at": "string",
"description": "string",
"id": "string",
"name": "string",
"slug": "string",
"store_type": "string",
"updated_at": "string"
}
],
"tags": [
{
"id": "string",
"key": "string",
"name": "string"
}
],
"tax_id_vat_number": "string",
"updated_at": "string"
}
}400 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | No | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}500 - object
Error Message
| Property | Type | Required | Details |
|---|---|---|---|
details | string[] | No | - |
message | string | No | - |
success | boolean | No | - |
Generated example (synthetic):
{
"details": [
"string"
],
"message": "string",
"success": false
}Contract identity
Use these fields to confirm you are implementing the intended endpoint contract.
- API family: Auth API
- Method:
POST - Path:
/api/v1/\{app_id\}/organisations - Operation ID: Not documented in the OpenAPI contract.
- OpenAPI tag: Organisations
- OpenAPI summary: Register new organisation