Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

CompanyBranch

CompanyBranch

A company branch: one of the organisation's own locations, used to group the customers a branch is responsible for.

View as Markdown
Summary view
CompanyBranchList, 6 fields. What a list returns by default.
Detail view
CompanyBranch, 6 fields. The default for a single read and for every write.

Deleting one un-assigns its customers rather than blocking.

Used by

GETRead a company branch/company-branches/{company_branch}CompanyBranch
PATCHUpdate a company branch/company-branches/{company_branch}CompanyBranch

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

namestring≤ 255

Branch name as shown in the UI, e.g. Rotterdam.

created_attimestamp (YYYY-MM-DDThh:mm:ssZ)

Creation timestamp.

updated_attimestamp (YYYY-MM-DDThh:mm:ssZ)

Last-write timestamp; use for incremental sync.

customers_countinteger≥ 0

Number of customers assigned to this branch.

Variants

CompanyBranchList 6 fields

What a collection returns, and what ?view=summary returns on a single record.

The same fields as the detail object.

CompanyBranchSummary 2 fields

The embedded form: what you get when another resource carries this one and you did not include it.

Leaves out: created_at, updated_at, customers_count, links