Skip to main content

Company Config

TypeBase PathTrigger Name
Single entity resource~{realm}/configcompany-configs

This is a single-entity resource that holds account-wide configuration properties.

Endpoints

NameMethodRelative PathPayloadResponseDescription
getCompanyConfigGET~{realm}/configN/AStored_CompanyConfigRetrieves the configuration.
putCompanyConfigPUT~{realm}/configCompanyConfigStored_CompanyConfigReplaces the configuration.
updateCompanyConfigPATCH~{realm}/configPartial_CompanyConfigStored_CompanyConfigUpdates specified configuration fields.

Permissions

PermissionDescription
edit-company-configClient is allowed to modify the configuration.
show-company-configClient is allowed to show the configuration.

Entities

Interface CompanyConfig

interface CompanyConfig {
'account-config'?: AccountConfig;
'gratuity-handling'?: boolean;
'id'?: number;
'created'?: DateTime;
'updated'?: DateTime;
'deleted'?: DateTime;
'updated-by'?: number;
'updated-from'?: number;
'tags'?: string[];
'labels'?: number[];
}
PropertyData TypeDescription
account-configAccountConfig?Account configuration defaults. Product group and payment method overrides are not allowed. See the documentation of the Till entity for a description.
gratuity-handlingBooleanEnables support for gratuity handling.
idInt64?The resource ID of this entity.
createdDateTime?Date and time when this entity was first created.
updatedDateTime?Date and time when this entity was last modified.
deletedDateTime?Date and time when this entity was deleted.
updated-byInt64?ID of User who last modified this entity.
updated-fromInt64?ID of Till (trusted device) which last modified this entity.
labelsInt64[]?A list of Label IDs associated with this entity.