Skip to content

List terminals (cajas/POS) under a branch

GET
/v1/tenants/{tenantId}/branches/{branchId}/terminals
curl --request GET \
--url https://api.emite.cr/v1/tenants/example/branches/example/terminals \
--header 'Authorization: Bearer <token>'

Each terminal has a 5-digit code (00001, 00002, ...) that follows the branch code in the invoice consecutivo. Terminal Principal 00001 is created automatically per branch at onboarding.

tenantId
required
string

Tenant UUID.

branchId
required
string

Parent branch UUID.

Media typeapplication/json
Array<object>
object
id
required

Id of the terminal — the {terminalId} of the terminal routes.

string format: uuid
branchId
required

Id of the branch the terminal belongs to.

string format: uuid
code
required

Terminal number, 5 digits: the five digits after the branch code in every consecutivo issued from it, and the terminalCode a document names to be issued from it. Unique within its branch; fixed once created.

string
name
required

Name of the terminal, for the app and the API; documents do not show it.

string
isDefault
required

Whether it is its branch's default terminal — the one a document of that branch uses when it names no terminalCode. At most one per branch; with none, creating a document of that branch that names no terminal answers 412 TENANT_NOT_CONFIGURED.

boolean
Example
[
{
"code": "00001",
"name": "Terminal Principal"
}
]

Missing or invalid JWT / API key

Tenant boundary violation or insufficient scope.

Branch not found in the company.