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

CustomerCategory

CustomerCategory

A customer category: the hand-maintained taxonomy customers are grouped by, used for segmentation and reporting.

View as Markdown
Summary view
CustomerCategoryList, 7 fields. What a list returns by default.
Detail view
CustomerCategory, 7 fields. The default for a single read and for every write.

Deleting one un-categorises its customers rather than blocking.

Used by

GETRead a customer category/customer-categories/{customer_category}CustomerCategory
PATCHUpdate a customer category/customer-categories/{customer_category}CustomerCategory

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

Category name as shown in the UI, e.g. Enterprise.

descriptionstring or nullMultiline

Free-text note on what belongs in this category.

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 in this category.

Variants

CustomerCategoryList 7 fields

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

The same fields as the detail object.

CustomerCategorySummary 2 fields

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

Leaves out: description, created_at, updated_at, customers_count, links