Tenants

A tenant is an top-level entity of Tirix. Think of tenants as customers of Tirix.

Security

As a security measure access to this node is restricted.

WARNING

You can only view and modify the tenant associated with your account. Access to lists are restricted.

TIP

You can directly access the tenant associated with your account using the edge /accounts/me/tenant.

Schema

Schema: Tenant

PropertyTypeDescription
idObjectIdUnique identifier
nameStringName of tenant
databaseStringTenant database
activeBooleanDetermines if tenant is active
createdDateTime when the tenant was created
updatedDateTime when the tenant was last modified
billing_addressAddressPhysical address where invoices should be sent
shipping_addressAddressPhysical address where goods should be sent
ownerObjectIdAccount id owning the tenant

Get a list of tenants

If you want to retrieve a list of warehouse sites, use this GET request:

GET https://api.tirix.io/tenants

Get a tenant

If you want to fetch an individual warehouse site, use this GET request:

GET https://api.tirix.io/tenants/{tenant_id}

Create a new tenant

If you want to create a new warehouse site, use this POST request:

POST https://api.tirix.io/tenants

Modify a tenant

If you want to modify a specific warehouse site, use this PUT request:

PUT https://api.tirix.io/tenants/{tenant_id}

Delete a tenant

Tenants are persistent and can not be irreversibly deleted.

Edges

Accounts

If you want to fetch accounts for an individual tenant, use this GET request:

GET https://api.tirix.io/tenants/{tenant_id}/accounts

Warehouse sites

If you want to fetch warehouse sites for an individual tenant, use this GET request:

GET https://api.tirix.io/tenants/{tenant_id}/warehouse-sites
Last Updated: