Preskočiť na obsah
API dokumentácia

Account and settings

Shops (e-shops) of the company, company data, consent settings, notifications, labels, web tracking, billing (read), SmartEmailing migration state.

Technická referencia je v angličtine (rovnako ako strojovo čitateľný dokument OpenAPI). Celú skupinu pre AI agenta načítate z /api/openapi.json?tag=Account.

Prihlásenie: Authorization: Bearer pst_... alebo HTTP Basic (e-mail člena firmy a API kľúč).

Operácie

MetódaCestaPopis
GET/api/v1/public/price-listPublic price list (no authentication)
GET/api/v1/tenants/{tenant}/account-webhooksList account webhooks and their events
POST/api/v1/tenants/{tenant}/account-webhooksCreate an account webhook
PATCH/api/v1/tenants/{tenant}/account-webhooks/{webhook_id}Edit, switch off or on an account webhook
DELETE/api/v1/tenants/{tenant}/account-webhooks/{webhook_id}Delete an account webhook
POST/api/v1/tenants/{tenant}/account-webhooks/{webhook_id}/testSend a test call of an account webhook now
GET/api/v1/tenants/{tenant}/billingTariff, usage and balance
GET/api/v1/tenants/{tenant}/billing/cancelWhat cancelling the tariff would mean
GET/api/v1/tenants/{tenant}/billing/invoicesList invoices
GET/api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/pdfDownload an invoice (PDF)
GET/api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/qr.svgQR payment code of an invoice (SVG)
GET/api/v1/tenants/{tenant}/billing/paymentsList payments
GET/api/v1/tenants/{tenant}/billing/profileGet the billing profile
GET/api/v1/tenants/{tenant}/billing/quotePrice of a tariff
GET/api/v1/tenants/{tenant}/companyGet the company data
PATCH/api/v1/tenants/{tenant}/companyUpdate the company data
GET/api/v1/tenants/{tenant}/consent-settingsConsent settings of every shop
PATCH/api/v1/tenants/{tenant}/consent-settings/{shop_id}Update the customer exception of a shop
GET/api/v1/tenants/{tenant}/grid-tagsLabels used in a grid
GET/api/v1/tenants/{tenant}/labelsList labels
POST/api/v1/tenants/{tenant}/labelsCreate a label
PATCH/api/v1/tenants/{tenant}/labels/{label_id}Update a label
DELETE/api/v1/tenants/{tenant}/labels/{label_id}Delete a label
POST/api/v1/tenants/{tenant}/labels/{label_id}/assignAssign a label to objects
POST/api/v1/tenants/{tenant}/maintenance/phone-landline-mobileMaintenance: move landline-stored mobile numbers to mobile (dry run unless apply)
POST/api/v1/tenants/{tenant}/maintenance/se-backfill-contactsMaintenance: fill empty contact fields from a SmartEmailing backup (dry run unless apply)
POST/api/v1/tenants/{tenant}/maintenance/shop-enrichMaintenance: fill empty contact fields from the e-shop feeds (dry run unless apply)
POST/api/v1/tenants/{tenant}/maintenance/shop-listsMaintenance: rebuild the e-shop lists (dry run unless apply)
GET/api/v1/tenants/{tenant}/notificationsList notifications
POST/api/v1/tenants/{tenant}/notifications/deleteDelete notifications
POST/api/v1/tenants/{tenant}/notifications/readMark notifications as read
POST/api/v1/tenants/{tenant}/notifications/unreadMark notifications as unread
GET/api/v1/tenants/{tenant}/onboardingState of the onboarding wizard
PATCH/api/v1/tenants/{tenant}/onboardingSave the onboarding wizard
GET/api/v1/tenants/{tenant}/rfmState of the RFM analysis
POST/api/v1/tenants/{tenant}/rfm/enable-requestAsk to enable the RFM analysis
GET/api/v1/tenants/{tenant}/running-actionsRunning background actions (imports, exports ...)
GET/api/v1/tenants/{tenant}/shop-enrichWhether order feed imports fill empty contact fields
PUT/api/v1/tenants/{tenant}/shop-enrichTurn the ongoing contact data enrichment on or off
GET/api/v1/tenants/{tenant}/shop-settingsSending company data of every shop
PATCH/api/v1/tenants/{tenant}/shop-settings/{shop_id}Update the sending company data of a shop
GET/api/v1/tenants/{tenant}/shopsList shops (e-shops) of the company
POST/api/v1/tenants/{tenant}/shopsCreate a shop
GET/api/v1/tenants/{tenant}/shops/{shop_id}Get a shop
PATCH/api/v1/tenants/{tenant}/shops/{shop_id}Update a shop
GET/api/v1/tenants/{tenant}/shops/{shop_id}/brandGet the brand settings of a shop
PUT/api/v1/tenants/{tenant}/shops/{shop_id}/brandReplace the brand settings of a shop
PUT/api/v1/tenants/{tenant}/shops/{shop_id}/contact-languageSet the default language of new contacts of a shop
POST/api/v1/tenants/{tenant}/shops/{shop_id}/disableSwitch a shop off
POST/api/v1/tenants/{tenant}/shops/{shop_id}/enableSwitch a shop on
GET/api/v1/tenants/{tenant}/site-scriptEvery shop's one script line and connection state
PATCH/api/v1/tenants/{tenant}/site-script/{shop_id}Switch the checkout newsletter box of a shop
POST/api/v1/tenants/{tenant}/site-script/{shop_id}/checkTest whether the script is on the shop's homepage
GET/api/v1/tenants/{tenant}/smartemailingState of the SmartEmailing migration
GET/api/v1/tenants/{tenant}/smartemailing/migrations/{migration_id}Get one SmartEmailing migration run
GET/api/v1/tenants/{tenant}/web-trackingWeb tracking state of every shop
GET/api/v1/tenants/{tenant}/web-tracking/eventsList web tracking events
PATCH/api/v1/tenants/{tenant}/web-tracking/{shop_id}Switch web tracking of a shop

Public price list (no authentication)

GET /api/v1/public/price-list

Bez prihlásenia.

The active tiers and the settings of the calculator (public, as SmartEmailing's price list on its web).

Odpovede

List account webhooks and their events

GET /api/v1/tenants/{tenant}/account-webhooks

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

{items, events, silentEvents, limit}: the company's account webhooks (oldest first), the events a webhook can listen to (SmartEmailing's 11) and those accepted for compatibility that never fire yet.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Create an account webhook

POST /api/v1/tenants/{tenant}/account-webhooks

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

{url, event, basicAuth?: {login, password}} -> 201 the webhook. Only what happens after the registration is sent. 400 validation url | event | basicAuth, 409 conflict url (the same address and event) | limit.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json): Required by the server: event, url.

PoleTypPovinnéPopis
urlstringnie
eventone of: new_contact, updated_contact, unsubscribed_contact, email_delivery_started, delivery_status, sent_email, email_open, email_click, scoring_result_changed, engagement_level_changed, sms_delivery_statusnie
activebooleannie
basicAuthobject or nullnienull removes the credentials; password '' keeps the stored password (edit only).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Edit, switch off or on an account webhook

PATCH /api/v1/tenants/{tenant}/account-webhooks/{webhook_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

{url?, event?, active?, basicAuth?}: basicAuth null removes the credentials, {login, password: ''} keeps the password. A changed event starts at the newest item; switching on again clears the errors.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
webhook_idpathstringánoId of the webhook (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
urlstringnie
eventone of: new_contact, updated_contact, unsubscribed_contact, email_delivery_started, delivery_status, sent_email, email_open, email_click, scoring_result_changed, engagement_level_changed, sms_delivery_statusnie
activebooleannie
basicAuthobject or nullnienull removes the credentials; password '' keeps the stored password (edit only).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Delete an account webhook

DELETE /api/v1/tenants/{tenant}/account-webhooks/{webhook_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
webhook_idpathstringánoId of the webhook (string of digits).

Odpovede

  • 204 No content

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Send a test call of an account webhook now

POST /api/v1/tenants/{tenant}/account-webhooks/{webhook_id}/test

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Sends one test call now (a fictional contact test@example.com, "test": true, header X-Postarna-Test: 1): {ok, status, ms, error} with error scheme | dns | address | deadline | network | status. Moves nothing.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
webhook_idpathstringánoId of the webhook (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Tariff, usage and balance

GET /api/v1/tenants/{tenant}/billing

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

What cancelling the tariff would mean

GET /api/v1/tenants/{tenant}/billing/cancel

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

List invoices

GET /api/v1/tenants/{tenant}/billing/invoices

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
fromquerystringnieStart of the period (YYYY-MM-DD local day, or ISO time where noted).
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text (case and diacritics insensitive). max 200 chars
sortquerystringnieSort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id).
statusquerystringnieStatus filter.
toquerystringnieEnd of the period (YYYY-MM-DD local day, or ISO time where noted).
typequerystringnie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationcurrency, q, sort, status, type
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Download an invoice (PDF)

GET /api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/pdf

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
invoice_idpathstringánoId of the invoice (string of digits).

Odpovede

  • 200 OK: application/pdf string (binary)

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

QR payment code of an invoice (SVG)

GET /api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/qr.svg

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
invoice_idpathstringánoId of the invoice (string of digits).

Odpovede

  • 200 OK: image/svg+xml string

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

List payments

GET /api/v1/tenants/{tenant}/billing/payments

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Get the billing profile

GET /api/v1/tenants/{tenant}/billing/profile

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Price of a tariff

GET /api/v1/tenants/{tenant}/billing/quote

Oprávnenie: modul billing, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
currencyquerystringnie
periodquerystringnie
tierIdquerystringnie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Get the company data

GET /api/v1/tenants/{tenant}/company

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

The company holding the account: legal name, IČO, DIČ / IČ DPH (settings Firma).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Update the company data

PATCH /api/v1/tenants/{tenant}/company

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
namestringnie
companyIdstringnie
vatIdstringnie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

GET /api/v1/tenants/{tenant}/consent-settings

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: get_consent_settings

Customer exception (soft opt-in) months per shop.

The customer exception (soft opt-in) of every e-shop: a Slovak shop follows the law's own 12 months unless the tenant sets its own number for it (months); any other shop is off unless the tenant turns it on.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

PATCH /api/v1/tenants/{tenant}/consent-settings/{shop_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full · Nástroj MCP: update_consent_settings

Sets the customer exception months of a shop (0 to 120, 0 = off, null = legal default).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
monthsnumber or nulláno

Odpovede

Chyby

StavKódHodnoty message
400validationmonths
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Labels used in a grid

GET /api/v1/tenants/{tenant}/grid-tags

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full

Labels used in one grid (?grid=lists|segments|campaigns|automations), for the Štítky filter.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
gridquerystringnie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationgrid
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

List labels

GET /api/v1/tenants/{tenant}/labels

Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Create a label

POST /api/v1/tenants/{tenant}/labels

Oprávnenie: modul content, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json): Required by the server: color, name.

PoleTypPovinnéPopis
namestringáno
colorstringáno

Odpovede

  • 201 Created: application/json Label

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Update a label

PATCH /api/v1/tenants/{tenant}/labels/{label_id}

Oprávnenie: modul content, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
label_idpathstringánoId of the label (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
namestringnie
colorstringnie

Odpovede

  • 200 OK: application/json Label

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Delete a label

DELETE /api/v1/tenants/{tenant}/labels/{label_id}

Oprávnenie: modul content, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
label_idpathstringánoId of the label (string of digits).

Odpovede

  • 204 No content

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Assign a label to objects

POST /api/v1/tenants/{tenant}/labels/{label_id}/assign

Oprávnenie: modul content, úroveň full; kľúč s prístupom full

{lists?, segments?, campaigns?, automations?: [ids]} get the label (each kind needs full rights in its module).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
label_idpathstringánoId of the label (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
listsarray of stringnie
segmentsarray of stringnie
campaignsarray of stringnie
automationsarray of stringnie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Maintenance: move landline-stored mobile numbers to mobile (dry run unless apply)

POST /api/v1/tenants/{tenant}/maintenance/phone-landline-mobile

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

Owner, 13. 10. 2026: contacts whose phone (landline, "Pevná linka") in fact holds a mobile number (core/ phone.py classify_contact_field, from before that module existed) move it into mobile, only while mobile is still empty and nobody edited phone or mobile by hand; a true landline stays. Body {apply}, a dry run by default. 200 {checked, moved, keptLandline, keptEdited, applied}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
applyanynie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationapply
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Maintenance: fill empty contact fields from a SmartEmailing backup (dry run unless apply)

POST /api/v1/tenants/{tenant}/maintenance/se-backfill-contacts

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

MG-01, AN-01 (core/se_backfill.run_records): body {contacts: [{email, column: value}] (records_to_json, a part of the export is fine), audienceFields: false, shopCustomers: false, apply}. Fills only empty fields; apply also recomputes the engagement grades. A large backfill goes in parts with reach: false and recompute: false (both default true) on all but the last part, so each call stays far under the 60 s request limit. 200 {counts per field ..., automations, applied}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
applyanynie
contactsanyáno

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationapply, contacts
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Maintenance: fill empty contact fields from the e-shop feeds (dry run unless apply)

POST /api/v1/tenants/{tenant}/maintenance/shop-enrich

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

Contact data from the e-shop feeds (core/shop_enrich.run): body {apply}. Fills only empty fields from the customer accounts, the delivery data and the shop's language, derives gender, name day and salutations; apply also turns on the ongoing enrichment of the feed imports (phones and billing addresses come with the next whole order export). 200 {contacts, matched, contactsChanged, fill, language, derived, keptEdited, automationReach: [{id, name, nameDay, before, after, new, newPerMonth, newNext30Days}] (mailable contacts that may enter each active repeat automation before and after), ongoingBefore, ongoing, applied}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
applybooleanáno

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationapply, reach
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Maintenance: rebuild the e-shop lists (dry run unless apply)

POST /api/v1/tenants/{tenant}/maintenance/shop-lists

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

SZ-09, KK-09 (core/shop_lists.sync): body {seBackup: {lists: {se id: name}, members: {se id: [[address, state]]}} (optional), apply}. 200 {counts, lists: [{name, kind, action, members}], automations: active scenarios reading what changes, applied}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
applyanynie
seBackupanynie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationapply
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

List notifications

GET /api/v1/tenants/{tenant}/notifications

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: list_notifications

Notifications of the account (import finished, campaign sent or paused, automation paused...), newest first, with the unread count.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Delete notifications

POST /api/v1/tenants/{tenant}/notifications/delete

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full

{ids: [...]} removes those notifications, {all: true} every notification of the tenant (SE "Smazat vše").

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

object

Odpovede

  • 204 No content

Chyby

StavKódHodnoty message
400validationids
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Mark notifications as read

POST /api/v1/tenants/{tenant}/notifications/read

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json): Required by the server: ids.

PoleTypPovinnéPopis
idsarray of stringáno

Odpovede

  • 204 No content

Chyby

StavKódHodnoty message
400validationids
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Mark notifications as unread

POST /api/v1/tenants/{tenant}/notifications/unread

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full

SE "Označit jako nepřečtené": {ids: [...]}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json): Required by the server: ids.

PoleTypPovinnéPopis
idsarray of stringáno

Odpovede

  • 204 No content

Chyby

StavKódHodnoty message
400validationids
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

State of the onboarding wizard

GET /api/v1/tenants/{tenant}/onboarding

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

The onboarding wizard's state (core/onboarding.py).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Save the onboarding wizard

PATCH /api/v1/tenants/{tenant}/onboarding

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
stepone of: domain, shop, script, feeds, contacts, donenie
shopIdstringnie
skipone of: domain, shop, script, feeds, contacts, donenie
unskipone of: domain, shop, script, feeds, contacts, donenie
completebooleannie
dismissbooleannie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

State of the RFM analysis

GET /api/v1/tenants/{tenant}/rfm

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full

SE GET rfm-analysis/model: Poštárna has no RFM model yet; whether the tenant asked for it.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Ask to enable the RFM analysis

POST /api/v1/tenants/{tenant}/rfm/enable-request

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

SE "Zapnout RFM analýzu": records the request (once), switches nothing on.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

object

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Running background actions (imports, exports ...)

GET /api/v1/tenants/{tenant}/running-actions

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full

SE "Probíhající akce": background work of the tenant that runs or waits to run (core/jobs.running_actions).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Whether order feed imports fill empty contact fields

GET /api/v1/tenants/{tenant}/shop-enrich

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full

{ongoing}: whether the order feed imports fill empty contact fields as they come (core/shop_enrich.SETTING; off until a member runs the enrichment or turns it on). Nastavení › E-shopy, Údaje kontaktů z e-shopu.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Turn the ongoing contact data enrichment on or off

PUT /api/v1/tenants/{tenant}/shop-enrich

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

Body {ongoing: bool}: turns the ongoing enrichment of the order feed imports on or off (audited). Nothing is filled now; the one-time fill is POST /maintenance/shop-enrich. 200 {ongoing}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json): Required by the server: ongoing.

PoleTypPovinnéPopis
ongoingbooleanáno

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationongoing
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Sending company data of every shop

GET /api/v1/tenants/{tenant}/shop-settings

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: get_shop_settings

Sending company of each shop (name, address, IČO).

The sender company of every e-shop: name, IČO and registered office (footers of e-mails, pages and forms).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Update the sending company data of a shop

PATCH /api/v1/tenants/{tenant}/shop-settings/{shop_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full · Nástroj MCP: update_shop_settings

Changes the sending company of a shop.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
companyIdstringnie
companyNamestringnie
companyAddressstringnie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

List shops (e-shops) of the company

GET /api/v1/tenants/{tenant}/shops

Oprávnenie: modul null, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: list_shops

Shops (e-shops) of the account with id, code, domain, currency, language.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Create a shop

POST /api/v1/tenants/{tenant}/shops

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Telo požiadavky (application/json)

PoleTypPovinnéPopis
codestringáno
displayNamestringáno
domainstringáno
webDisplaystringnie
languageLangáno
currencyCurrencyáno
platformone of: shoptet, woocommerce, prestashop, upgates, customnie
senderNamestringnie
senderEmailstringnie
linkDomainstringnie
companyNamestringáno
companyIdstringnie
companyAddressstringnie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Get a shop

GET /api/v1/tenants/{tenant}/shops/{shop_id}

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Update a shop

PATCH /api/v1/tenants/{tenant}/shops/{shop_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
companyIdstringnie
companyNamestringnie
currencyone of: CZK, EURnie
companyAddressstringnie
displayNamestringnie
domainstringnie
webDisplaystringnie
languageone of: cs, sknie
platformone of: shoptet, woocommerce, prestashop, upgates, customnie
senderNamestringnie
senderEmailstringnie
linkDomainstringnie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Get the brand settings of a shop

GET /api/v1/tenants/{tenant}/shops/{shop_id}/brand

Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full

{logoUrl, logoLink, logoWidth, primaryColor, secondaryColor, textColor, backgroundColor, fontFamily, headingFontFamily}: '' (logoWidth null) when unset; logoLink defaults to https:// and the shop's web address (web_display, else its domain) when unset.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Replace the brand settings of a shop

PUT /api/v1/tenants/{tenant}/shops/{shop_id}/brand

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Body with any of the brand fields: a missing field is kept, '' (logoWidth null) clears it. logoUrl and logoLink '' or https, colours '' or #rrggbb (stored in lower case), logoWidth null or 20 to 800, fonts at most 100 characters without < > { } ; ". 400 validation <field>. Answers the brand like GET.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
logoUrlstringnie
logoLinkstringnieWhere the logo leads; defaults to the shop's web.
logoWidthnumber or nullnie
primaryColorstringnie
secondaryColorstringnie
textColorstringnie
backgroundColorstringnie
fontFamilystringnie
headingFontFamilystringnie

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Set the default language of new contacts of a shop

PUT /api/v1/tenants/{tenant}/shops/{shop_id}/contact-language

Oprávnenie: modul contacts, úroveň full; kľúč s prístupom full

SE's Nastavení aplikace › Výchozí jazyk kontaktu (UZ-02) of one shop: {language: cs | sk}; it applies to contacts added from now on by hand, over the API or by a sign-up (migration 0392). 400 validation language, 404 for another shop.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json)

PoleTypPovinnéPopis
languageLangáno

Odpovede

  • 200 OK: application/json Shop

Chyby

StavKódHodnoty message
400validationlanguage
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Switch a shop off

POST /api/v1/tenants/{tenant}/shops/{shop_id}/disable

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Switch a shop on

POST /api/v1/tenants/{tenant}/shops/{shop_id}/enable

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Every shop's one script line and connection state

GET /api/v1/tenants/{tenant}/site-script

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

The shops with their one line and connection state (module notes).

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Switch the checkout newsletter box of a shop

PATCH /api/v1/tenants/{tenant}/site-script/{shop_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json): Required by the server: checkoutConsent.

PoleTypPovinnéPopis
checkoutConsentbooleanáno

Odpovede

Chyby

StavKódHodnoty message
400validationcheckoutConsent
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Test whether the script is on the shop's homepage

POST /api/v1/tenants/{tenant}/site-script/{shop_id}/check

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

The Test button (module notes): {result, url, state, seenAt}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

State of the SmartEmailing migration

GET /api/v1/tenants/{tenant}/smartemailing

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

{connection (null before the first connect), migration (the latest run or null)}.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Get one SmartEmailing migration run

GET /api/v1/tenants/{tenant}/smartemailing/migrations/{migration_id}

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
migration_idpathstringánoId of the migration (string of digits).

Odpovede

Chyby

StavKódHodnoty message
400validation
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Web tracking state of every shop

GET /api/v1/tenants/{tenant}/web-tracking

Oprávnenie: modul settings, úroveň read; kľúč s prístupom read alebo full

Shops with the Používat switch, whether a scenario listens to their carts, and the script address.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

List web tracking events

GET /api/v1/tenants/{tenant}/web-tracking/events

Oprávnenie: modul contacts, úroveň read; kľúč s prístupom read alebo full

SE grid Identifikováni: ?type=visit|identification|cart|custom, ?q= (e-mail), ?shopId=, paging.

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
pagequeryintegerniePage number, from 1. default 1, min 1
pageSizequeryintegernieItems per page, 1 to 100. default 25, min 1, max 100
qquerystringnieSearch text (case and diacritics insensitive). max 200 chars
shopIdquerystringnie
typequerystringnie

Odpovede

  • 200 OK: application/json object

Chyby

StavKódHodnoty message
400validationq, type
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
429429 rate_limited: wait Retry-After seconds.

Switch web tracking of a shop

PATCH /api/v1/tenants/{tenant}/web-tracking/{shop_id}

Oprávnenie: modul settings, úroveň full; kľúč s prístupom full

Parametre

NázovKdeTypPovinnéPopis
tenantpathstring (uuid)ánoPublic id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page.
shop_idpathstringánoId of the shop (string of digits).

Telo požiadavky (application/json): Required by the server: enabled.

PoleTypPovinnéPopis
enabledbooleanáno

Odpovede

  • 204 No content

Chyby

StavKódHodnoty message
400validationenabled
401401 unauthorized: missing, unknown, revoked, expired or idle API key.
403403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack.
404not_found
429429 rate_limited: wait Retry-After seconds.

Schémy

AccountCompany

The company holding the account (GET /tenants/{t}/company).

PoleTypPovinnéPopis
namestringáno
companyIdstringáno
vatIdstringáno

AccountWebhook

An account webhook (Nastavení › Datové zdroje › Webhooky; the same rows as API v3 /web-hooks).

PoleTypPovinnéPopis
idstringáno
urlstringáno
eventone of: new_contact, updated_contact, unsubscribed_contact, email_delivery_started, delivery_status, sent_email, email_open, email_click, scoring_result_changed, engagement_level_changed, sms_delivery_statusáno
activebooleanánofalse = switched off (by hand, or by itself after errorsLimit errors in a row).
silentbooleanánoAccepted for compatibility, never fires yet.
timeoutSnumberáno
basicLoginstring or nullánoHTTP Basic user name; the password is never answered.
lastResponseCodenumber or nulláno
lastCallAtstring or nulláno
errorsInRownumberáno
errorsLimitnumberáno
viaApibooleanánoRegistered with an API key (API v3).
createdAtstringáno

AccountWebhookInput

PoleTypPovinnéPopis
urlstringnie
eventone of: new_contact, updated_contact, unsubscribed_contact, email_delivery_started, delivery_status, sent_email, email_open, email_click, scoring_result_changed, engagement_level_changed, sms_delivery_statusnie
activebooleannie
basicAuthobject or nullnienull removes the credentials; password '' keeps the stored password (edit only).

AccountWebhookTest

Result of Otestovat: error scheme | dns | address | deadline | network | status ('' when ok).

PoleTypPovinnéPopis
okbooleanáno
statusnumber or nulláno
msnumber or nulláno
errorstringáno

AccountWebhooks

PoleTypPovinnéPopis
itemsarray of AccountWebhookáno
eventsarray of one of: new_contact, updated_contact, unsubscribed_contact, email_delivery_started, delivery_status, sent_email, email_open, email_click, scoring_result_changed, engagement_level_changed, sms_delivery_statusáno
silentEventsarray of one of: new_contact, updated_contact, unsubscribed_contact, email_delivery_started, delivery_status, sent_email, email_open, email_click, scoring_result_changed, engagement_level_changed, sms_delivery_statusáno
limitnumberáno

AppNotification

PoleTypPovinnéPopis
idstringáno
typeNotificationTypeáno
paramsmap of string or numberánoValues for the placeholders of notifications.type.<type>; numbers are formatted by the UI.
importantbooleanáno
readbooleanáno
createdAtstringáno

BankDetails

PoleTypPovinnéPopis
accountstringáno
ibanstringáno

BillingBlock

one of: `, free_limit, unpaid`

BillingCurrency

one of: CZK, EUR

BillingOverview

PoleTypPovinnéPopis
subscriptionSubscriptionáno
priceListPriceListáno
profileBillingProfileáno
bankobjectánonull = the platform has not set that account yet ("nenastaveno").
cardPaymentsoonáno
supportobjectáno

BillingPeriod

one of: monthly, annual

BillingProfile

PoleTypPovinnéPopis
firstNamestringáno
lastNamestringáno
billingEmailstringáno
phonestringáno
isCompanybooleanáno
countrystringáno
companyNamestringáno
companyIdstringáno
vatIdstringáno
vatPayerbooleanáno
streetstringáno
citystringáno
zipstringáno
currencyBillingCurrencyáno
savedbooleannie
completebooleannie
vatCheckVatChecknieThe VIES check of the VAT ID (server only; never sent back on save).

BillingQuote

PoleTypPovinnéPopis
tierPriceTieráno
currencyBillingCurrencyáno
periodBillingPeriodáno
monthlystringáno
netstringáno
vatRatestringáno
vatstringáno
totalstringáno
reverseChargebooleanáno
annualSavingstringáno
beforeDiscountstring or nulláno
upgradeNetstring or nulláno
changeone of: new, upgrade, downgrade, sameánonew = a new subscription (first invoice below), upgrade now, downgrade from the next period, same tier.
contactsnumberáno
fitsbooleanánoThe contacts fit the tier now (a downgrade is refused otherwise).
firstStartstring or nulláno
firstEndstring or nulláno
firstNetstring or nulláno
firstVatstring or nulláno
firstTotalstring or nulláno

BillingSlice

A period and its net price.

PoleTypPovinnéPopis
onstringáno
startstringáno
endstringáno
netstringáno

CancelInfo

PoleTypPovinnéPopis
blockersarray of one of: trial, unpaid, profile, not_active, alreadyáno
reasonsarray of CancelReasonáno

CancelReason

one of: not_needed, complex, missing_features, bugs, price, communication, other_tool, other

ConsentSettings

The customer exception (soft opt-in) of one e-shop (GET /tenants/{t}/consent-settings): how many months after a contact's last completed order the shop may still mail it without another consent basis. months null = off. isDefault true = the shop's own law default (12 months for a Slovak shop, off otherwise, SK zákon č. 452/2021 Z. z. § 116 odst. 16), not a choice the tenant made; false = the tenant's own number (including an explicit 0).

PoleTypPovinnéPopis
shopIdstringáno
codestringáno
languageLangáno
monthsnumber or nulláno
isDefaultbooleanáno

Currency

one of: CZK, EUR

Error

PoleTypPovinnéPopis
errorobjectáno
json
{
  "error": {
    "code": "validation",
    "message": "email"
  }
}

Invoice

PoleTypPovinnéPopis
idstringáno
numberstringáno
kindone of: invoice, credit_noteáno
purposeone of: upgrade, subscription, overage, manual, creditáno
currencyBillingCurrencyáno
netstringáno
vatstringáno
totalstringáno
vatRatestringáno
reverseChargebooleanáno
paidAmountstringáno
stateone of: cancelled, issued, paidáno
statusInvoiceStatusáno
issueDatestringáno
dueDatestringáno
paidAtstring or nulláno
sentAtstring or nulláno
periodStartstringáno
periodEndstringáno
daysnumberánoDays after the due date (overdue) or until it (unpaid).
creditForstring or nulláno
remindersnumberáno
hasQrbooleanáno
buyerNamestringáno
tenantobjectnie

InvoiceStatus

one of: cancelled, unpaid, credit, paid, partial, overdue, due_today

Label

SE Štítky: a label with its RGBA colour (#rrggbbaa) and how many records carry it.

PoleTypPovinnéPopis
idstringáno
namestringáno
colorstringáno
usednumberáno
createdAtstringáno

LabelTargets

PoleTypPovinnéPopis
listsarray of stringnie
segmentsarray of stringnie
campaignsarray of stringnie
automationsarray of stringnie

Lang

one of: cs, sk

NotificationList

PoleTypPovinnéPopis
itemsarray of AppNotificationáno
unreadnumberáno

NotificationType

one of: import_finished, campaign_sent, domain_verified, bounce_warning, export_ready, automation_paused, list_contacts_added, list_unsubscribed, campaign_paused, automation_notice, se_sync_problem, import_waiting, purpose_assigned_list, engagement_computed, contacts_bulk_done, list_merged, list_deleted

OnboardingPatch

PoleTypPovinnéPopis
stepone of: domain, shop, script, feeds, contacts, donenie
shopIdstringnie
skipone of: domain, shop, script, feeds, contacts, donenie
unskipone of: domain, shop, script, feeds, contacts, donenie
completebooleannie
dismissbooleannie

OnboardingState

PoleTypPovinnéPopis
visiblebooleanánoShown on the dashboard (not finished, not closed; a company without a row only while it has no contact).
stepone of: domain, shop, script, feeds, contacts, doneáno
skippedarray of one of: domain, shop, script, feeds, contacts, doneáno
completedAtstring or nulláno
dismissedAtstring or nulláno
shopobject or nulláno
stepsobjectánoDone from the data itself.
feedsobjectáno
contactsnumberáno
progressnumberánoSteps of the first five that are done or skipped.
totalnumberáno

OverageDay

One day over the tier: (price of the tier that fits - price of the tier) / days of the month.

PoleTypPovinnéPopis
daystringáno
contactsnumberáno
overnumberáno
fromMaxnumberáno
toMaxnumberáno
amountstringáno

Payment

PoleTypPovinnéPopis
idstringáno
invoiceIdstringáno
invoiceNumberstringáno
amountstringáno
currencyBillingCurrencyáno
paidOnstringáno
methodone of: bank, card, credit_note, manualáno

PriceList

PoleTypPovinnéPopis
tiersarray of PriceTieráno
annualDiscountPctstringáno
vatRatestringáno
trialDaysnumberáno
freeContactsnumberáno
freeEmailsMonthnumberáno
fairUseSendsnumberáno
currenciesarray of BillingCurrencyáno

PriceTier

PoleTypPovinnéPopis
idstringáno
maxContactsnumberáno
monthlystring or nullánoNet a month in the subscription's currency; null = individual price.
monthlyCzkstring or nulláno
monthlyEurstring or nullnie
freebooleanáno
activebooleanáno

RfmState

RFM analysis (SE GET rfm-analysis/model): no model in Poštárna yet; whether the company asked for it.

PoleTypPovinnéPopis
enabledbooleanáno
requestedbooleanáno
requestedAtstring or nulláno

RunningAction

PoleTypPovinnéPopis
idstringáno
kindone of: import_run, import_doi, export_run, feed_refresh, order_feed_refresh, se_discover, se_sync_suppressions, engagement_recompute, contacts_bulk, list_merge, list_deleteáno
statusone of: queued, runningáno
sincestringáno

SeConnection

PoleTypPovinnéPopis
loginstringáno
keyHintstringánoFirst three characters of the key (the key itself is never returned).
accountIdstring or nulláno
verifiedAtstringáno
listsmap of SeListChoiceáno
optionsobjectáno
syncEnabledbooleanánoHourly sync of the parallel run.
syncChangedAtstring or nulláno
lastSyncAtstring or nulláno
lastSyncmap of string or numberáno
syncStatusone of: ok, failed, skipped, latenieok, skipped (a switch run was queued or running), failed (syncProblem says why) or late (no sync for 3 hours).
syncProblemstringniecredentials, unavailable, dataKey, error, migration_running or no_sync.
syncProblemAtstring or nullnie

SeListChoice

PoleTypPovinnéPopis
roleone of: optin, member, unsub, skipáno
shopstringánoShop code (cz, sk).
namestringáno

SeMigration

PoleTypPovinnéPopis
idstringáno
statusone of: queued, running, finished, failedáno
phaseone of: `, contacts, purposes, templates, automations, fields, suppressions, apply, report`áno
progressobjectáno
planobjectáno
countsmap of numberáno
reportSeReport or nulláno
failedbooleanáno
stoppedbooleannieThe worker stopped before the run finished; starting it again resumes it.
failureone of: `, unavailable, error, stopped, credentials, answer, dataKey, connection`nieThe kind of a failed run (SE_RUN_FAILURES), '' otherwise; never the technical text.
createdAtstringáno
startedAtstring or nulláno
finishedAtstring or nulláno

SeProblem

PoleTypPovinnéPopis
codeone of: blacklistMissing, hardbounceMissing, unsubscribeMissing, listUnsubscribeMissing, suppressionMissing, duplicatesMerged, invalidWithOptOut, listUnsubscribeNotInPostarna, erasedáno
countnumberáno
blockingbooleanánotrue = Poštárna must not send yet (readyToSend false).

SeReport

PoleTypPovinnéPopis
rowsarray of SeReportRowáno
listsarray of objectáno
skippedmap of numberánoContacts not taken over and why (not_in_mapped_lists, invalid_address).
mappingmap of numberáno
mergedobjectnieSmartEmailing records merged into one contact because their addresses are the same.
problemsarray of SeProblemnie
suppressionDiffobjectáno
readyToSendbooleanánoBlacklist, hard bounces and unsubscribes of SmartEmailing are all in Poštárna: Poštárna may send.

SeReportRow

One line of the reconciliation: SmartEmailing against Poštárna (counts only).

PoleTypPovinnéPopis
keyone of: unsubscribed, blacklisted, contacts, purposes, templates, automations, hardbounced, listUnsubscribes, customFields, consentsáno
senumberáno
postarnanumberáno
creatednumbernie
skippednumbernie
archivednumbernie
imagesFailednumbernie
failednumbernie

SeState

PoleTypPovinnéPopis
connectionSeConnection or nulláno
migrationSeMigration or nulláno

Shop

PoleTypPovinnéPopis
idstringáno
codestringánocz, sk (ShopSettings.code)
displayNamestringáno
domainstringáno
currencyCurrencyáno
languageLangáno
activebooleanniefalse = switched off in settings E-shopy (hidden from the switcher and pickers); absent = active.
contactLanguageone of: cs, sknieSE's Výchozí jazyk kontaktu (UZ-02): the language of the shop's new contacts that come without one; until chosen (contactLanguageSet false) Czech for a .cz and Slovak for a .sk domain.
contactLanguageSetbooleannie

ShopBrand

Brand identity of an e-shop (SmartEmailing "Grafická identita"): the Logo element and predefined sections use it.

PoleTypPovinnéPopis
logoUrlstringáno
logoLinkstringánoWhere the logo leads; defaults to the shop's web.
logoWidthnumber or nulláno
primaryColorstringáno
secondaryColorstringáno
textColorstringáno
backgroundColorstringáno
fontFamilystringáno
headingFontFamilystringáno

ShopConnector

The connector of orders and customers as the tenant sees it; the platform sets it (its key is the platform's).

PoleTypPovinnéPopis
hoststringáno
intervalSnumberánoSeconds between automatic runs; 0 = only by hand.

ShopDetail

PoleTypPovinnéPopis
webDisplaystringáno
platformone of: shoptet, woocommerce, prestashop, upgates, custománo
senderNamestringáno
senderEmailstringáno
linkDomainstringánoOwn domain of tracking and unsubscribe links; '' = the platform's.
companyNamestringáno
companyIdstringáno
companyAddressstringáno
activebooleanánofalse = switched off in settings E-shopy (hidden from the switcher and pickers); absent = active.
disabledAtstring or nulláno
createdAtstringáno
connectorShopConnector or nulláno
usageShopUsageáno
lockedbooleanánoLanguage and currency are fixed once the shop has contacts, orders, feeds or a sent campaign.
idstringáno
codestringánocz, sk (ShopSettings.code)
displayNamestringáno
domainstringáno
currencyCurrencyáno
languageLangáno
contactLanguageone of: cs, sknieSE's Výchozí jazyk kontaktu (UZ-02): the language of the shop's new contacts that come without one; until chosen (contactLanguageSet false) Czech for a .cz and Slovak for a .sk domain.
contactLanguageSetbooleannie

ShopInput

POST /tenants/{t}/shops (code, displayName, domain, language, currency, companyName required) and PATCH (code fixed).

PoleTypPovinnéPopis
codestringáno
displayNamestringáno
domainstringáno
webDisplaystringnie
languageLangáno
currencyCurrencyáno
platformone of: shoptet, woocommerce, prestashop, upgates, customnie
senderNamestringnie
senderEmailstringnie
linkDomainstringnie
companyNamestringáno
companyIdstringnie
companyAddressstringnie

ShopSettings

The sender company of one e-shop (settings Firma, GET /tenants/{t}/shop-settings): every campaign and automation e-mail names it in the standard footer, the public pages and forms in theirs. companyId (IČO) and companyAddress (registered office) are shown only when filled ('' = not filled).

PoleTypPovinnéPopis
shopIdstringáno
codestringáno
displayNamestringáno
languageLangáno
companyNamestringáno
companyIdstringáno
companyAddressstringáno

ShopUsage

What a shop has (GET /tenants/{t}/shops/{id}).

PoleTypPovinnéPopis
contactsnumberáno
listsnumberáno
segmentsnumberáno
campaignsnumberáno
automationsActivenumberáno
feedsnumberáno
ordersnumberáno

SiteScriptCheck

The Test button (POST /tenants/{t}/site-script/{shop}/check): found = the line is on the homepage.

PoleTypPovinnéPopis
resultone of: found, not_found, unreachableáno
urlstring or nulláno
stateone of: live, quiet, waitingáno
seenAtstring or nulláno

SiteScriptShop

PoleTypPovinnéPopis
shopIdstringáno
codestringáno
namestringáno
domainstringáno
webDisplaystringáno
platformone of: shoptet, woocommerce, prestashop, upgates, custománo
scriptUrlstringánoThe postarna.js address of the one line.
snippetstringánoThe whole line for the shop's footer.
stateone of: live, quiet, waitingánolive = the script reported within 3 days, quiet = earlier, waiting = never.
seenAtstring or nulláno
seenHoststringáno
checkoutConsentbooleanánoThe script also reads the newsletter box of the checkout and the registration.
popupsnumberánoActive pop-up and slide-in forms the script shows; active classic forms it can place.
embedsnumberáno
signupsobjectánoCheckout newsletter boxes of the last 30 days by state.

Subscription

PoleTypPovinnéPopis
stateSubscriptionStateáno
inTrialbooleanáno
trialEndsAtstring or nulláno
trialDaysLeftnumberáno
periodBillingPeriodáno
currencyBillingCurrencyáno
tierPriceTier or nulláno
manualbooleanáno
customMonthlystring or nulláno
monthlystring or nulláno
periodNetstring or nulláno
annualMonthlystring or nulláno
annualSavingstring or nulláno
annualDiscountPctstringáno
vatRatestringáno
contactsnumberáno
limitnumber or nulláno
overBynumberáno
contactsChange30dnumber or nulláno
sentMonthnumberáno
freebooleanáno
freeEmailsMonthnumber or nulláno
fairUseLimitnumberáno
fairUseSendsnumberáno
nextInvoiceOnstring or nullánoDay the next invoice is issued: at once for the first one, the 2nd of the month for a renewal.
nextPeriodOnstring or nullánoFirst day of the next (or the waiting) period: a planned lower tier and the renewal apply from it.
daysToInvoicenumber or nulláno
periodStartstring or nulláno
periodEndstring or nulláno
cancelAtstring or nulláno
billingBlockBillingBlockáno
billingExemptbooleanáno
sendingStatestringáno
paymentMethodone of: bank, cardáno
overageTotalstring or nulláno
overageDaysnumberáno
currentSpendstring or nulláno
unpaidInvoicesnumberáno
overdueInvoicesnumberáno
orderedbooleanánoA paid tier is ordered (in the trial: it starts when the trial ends).
dueDaysnumberáno
firstInvoiceBillingSlice or nullánoA tier ordered in the trial: its first invoice on the day the trial ends, for the rest of that month (pro rata).
nextTierPriceTier or nullánoSnížit tarif: the lower tier planned from the next period (null = none).
nextBillingobject or nullánoThe next invoice of a running subscription: the tier (the planned lower one) and the overage of a monthly one.
overageFromstring or nullánoFirst day of the overage not billed yet (null outside a paid period).
overagearray of OverageDayánoDays over the tier since overageFrom (SE Příloha k faktuře), billed with the next invoice.

SubscriptionState

one of: trial, active, past_due, suspended, cancelled, expired

VatCheck

PoleTypPovinnéPopis
requiredbooleanánoAn EU company outside CZ that says it is a VAT payer: only then is the VAT ID checked.
stateVatCheckStateáno
vatIdstringáno
checkedAtstring or nulláno
namestringánoName and address as VIES returned them; requestIdentifier = the consultation number (evidence).
addressstringáno
requestIdentifierstringáno
errorstringáno
lastValidAtstring or nulláno
fallbackUntilstring or nullánoUntil when an unavailable VIES still allows reverse charge (last valid check + 30 days).
reverseChargebooleanáno

VatCheckState

one of: not_needed, unchecked, valid, invalid, unavailable

WebTrackingEvent

One row of the grid Identifikováni (a tracked event of a contact).

PoleTypPovinnéPopis
idstringáno
typeone of: custom, visit, identification, cartáno
datamap of anyáno
atstringáno
shopIdstring or nulláno
sourcestringáno
contactIdstringáno
emailstringáno

WebTrackingShop

SE Datové zdroje › Webtracking: a shop's Používat switch, whether a scenario listens to its carts, the script.

PoleTypPovinnéPopis
shopIdstringáno
codestringáno
namestringáno
domainstringáno
enabledbooleanáno
listeningbooleanáno
scriptUrlstringánoThe cart.js address for the one line in the shop's footer.