API
User Manual
  • Introduction to API v2
  • Guides
    • Getting started
    • Authorization
    • Delivery Notes Integrations
  • API Reference
    • General
      • Data types
        • Validation
        • Prices
      • Schema
      • Flags
      • ETags
        • ETag examples
      • Filtering
      • Sorting
      • Paging
      • Methods
      • HTTP Status Codes
    • Enums
      • Payment methods
      • Units
      • Order status
  • Entity
    • Attendance
    • Branch
    • Category
    • Cloud
    • Course
    • Customer
    • Customer Account
    • Customer Account Log
    • Daily Menu
    • Daily Menu Product
    • Delivery Note
    • Discount group
    • EET subject
    • Employee
    • Money log
    • Order
    • Order item
    • Product
    • Product Customization
    • Product Ingredient
    • Reservation
    • Stock Packaging
    • Supplier
    • Table
    • Tag
    • Tax (VAT rates)
    • Warehouse
    • Warehouse Branch
  • Others
    • Reports
      • Base Sales Report
    • POS actions
    • Release notes
    • Breaking changes
    • Webhook
    • Third-party libraries
  • Migration
    • Migrating from API v1
    • API v1 Services
      • Branch Service
      • Category Service
      • Customer Service
      • Employee Service
      • OAuth2 Login Service
      • POS action service
      • Product Service
      • Reservation Service
      • Sale Service
      • Stock Service
      • Supplier Service
      • Tableseat Service
      • Tag Service
      • Warehouse Service
Powered by GitBook
On this page
  • Customer account schema
  • JSON response
  • Create customer account
  • Get customer account by ID
  • Get customer account for customer
  • Search customer accounts

Was this helpful?

Export as PDF
  1. Entity

Customer Account

Defines a customer account.

Please note that for credit operations, it is the responsibility of the integrator to create tax documents.

Customer account schema

_cloudId integer Cloud ID 📶 EQUALS,ENUM

_customerId long Customer ID 📶 EQUALS,ENUM

_lastCustomerAccountLogId long? Customer account log ID 📶 EQUALS,ENUM

allowedMinimalBalance BigDecimal Minimal account balance 📶 NUMBER

balance BigDecimal Account balance 📶 NUMBER

created timestamp Timestamp of created record 📶 EQUALS,ENUM,NUMBER

currency string Three-letter currency according to ISO 4217 📶 STRING 🔽 BOTH

id long Customer account ID 📶 EQUALS,ENUM

modified timestamp Last modification date and time 📶 EQUALS,ENUM,NUMBER

type enum Account type, supported value: "default" 📶 STRING 🔽 BOTH

JSON response

{
    "_customerId": <long>,
    "_lastCustomerAccountLogId": <long>,
    "allowedMinimalBalance": <BigDecimal>,
    "balance": <BigDecimal>,
    "created": <timestamp>,
    "currency": <string>,
    "id": <long>,
    "modified": <timestamp>,
    "type": "default"
}

Create customer account

POST https://api.dotykacka.cz/v2/clouds/:cloudId/customer-accounts

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Get customer account by ID

GET https://api.dotykacka.cz/v2/clouds/:cloudId/customer-accounts/:customerAccountId

Path Parameters

Name
Type
Description

cloudId*

integer

customerAccountId

long

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Get customer account for customer

GET https://api.dotykacka.cz/v2/clouds/:cloudId/customers/:customerId/accounts/:accountType

Path Parameters

Name
Type
Description

cloudId*

integer

customerId

long

accountType

string

valid value: "default"

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Search customer accounts

GET https://api.dotykacka.cz/v2/clouds/:cloudId/customer-accounts

Path Parameters

Name
Type
Description

cloudId*

integer

Headers

Name
Type
Description

Authorization*

string

Bearer accessToken

Query Parameters

Name
Type
Description

sort

string

page

integer

filter

string

limit

integer

PreviousCustomerNextCustomer Account Log

Last updated 10 months ago

Was this helpful?