Účet a nastavenia
Referencia API pre e-shopy firmy, firemné údaje, nastavenia súhlasov, upozornenia, štítky, webtracking, fakturáciu a stav prechodu zo SmartEmailingu.
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óda | Cesta | Popis |
|---|---|---|
| GET | /api/v1/public/price-list | Public price list (no authentication) |
| GET | /api/v1/tenants/{tenant}/account-webhooks | List account webhooks and their events |
| POST | /api/v1/tenants/{tenant}/account-webhooks | Create 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}/test | Send a test call of an account webhook now |
| GET | /api/v1/tenants/{tenant}/billing | Tariff, usage and balance |
| GET | /api/v1/tenants/{tenant}/billing/cancel | What cancelling the tariff would mean |
| GET | /api/v1/tenants/{tenant}/billing/invoices | List invoices |
| GET | /api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/pdf | Download an invoice (PDF) |
| GET | /api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/qr.svg | QR payment code of an invoice (SVG) |
| GET | /api/v1/tenants/{tenant}/billing/payments | List payments |
| GET | /api/v1/tenants/{tenant}/billing/profile | Get the billing profile |
| GET | /api/v1/tenants/{tenant}/billing/quote | Price of a tariff |
| GET | /api/v1/tenants/{tenant}/brand-identities | List the brand styles |
| POST | /api/v1/tenants/{tenant}/brand-identities | Create a brand style |
| GET | /api/v1/tenants/{tenant}/brand-identities/{identity_id} | Get a brand style |
| PATCH | /api/v1/tenants/{tenant}/brand-identities/{identity_id} | Update a brand style |
| DELETE | /api/v1/tenants/{tenant}/brand-identities/{identity_id} | Delete a brand style |
| POST | /api/v1/tenants/{tenant}/brand-identities/{identity_id}/default | Make a brand style the default one |
| POST | /api/v1/tenants/{tenant}/brand-identities/{identity_id}/duplicate | Duplicate a brand style |
| GET | /api/v1/tenants/{tenant}/company | Get the company data |
| PATCH | /api/v1/tenants/{tenant}/company | Update the company data |
| GET | /api/v1/tenants/{tenant}/consent-settings | Consent 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-tags | Labels used in a grid |
| GET | /api/v1/tenants/{tenant}/labels | List labels |
| POST | /api/v1/tenants/{tenant}/labels | Create 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}/assign | Assign a label to objects |
| POST | /api/v1/tenants/{tenant}/maintenance/phone-landline-mobile | Maintenance: move landline-stored mobile numbers to mobile (dry run unless apply) |
| POST | /api/v1/tenants/{tenant}/maintenance/se-backfill-contacts | Maintenance: fill empty contact fields from a SmartEmailing backup (dry run unless apply) |
| POST | /api/v1/tenants/{tenant}/maintenance/shop-enrich | Maintenance: fill empty contact fields from the e-shop feeds (dry run unless apply) |
| POST | /api/v1/tenants/{tenant}/maintenance/shop-lists | Maintenance: rebuild the e-shop lists (dry run unless apply) |
| GET | /api/v1/tenants/{tenant}/notifications | List notifications |
| POST | /api/v1/tenants/{tenant}/notifications/delete | Delete notifications |
| POST | /api/v1/tenants/{tenant}/notifications/read | Mark notifications as read |
| POST | /api/v1/tenants/{tenant}/notifications/unread | Mark notifications as unread |
| GET | /api/v1/tenants/{tenant}/onboarding | State of the onboarding wizard |
| PATCH | /api/v1/tenants/{tenant}/onboarding | Save the onboarding wizard |
| GET | /api/v1/tenants/{tenant}/order-mapping | Order state and shipping method names of one shop with their meaning |
| PUT | /api/v1/tenants/{tenant}/order-mapping | Set the meaning of order state and shipping method names of one shop |
| GET | /api/v1/tenants/{tenant}/order-mapping/summary | How many order state and shipping method names are not mapped yet |
| GET | /api/v1/tenants/{tenant}/rfm | State of the RFM analysis |
| POST | /api/v1/tenants/{tenant}/rfm/enable-request | Ask to enable the RFM analysis |
| GET | /api/v1/tenants/{tenant}/running-actions | Running background actions (imports, exports ...) |
| GET | /api/v1/tenants/{tenant}/shop-enrich | Whether order feed imports fill empty contact fields |
| PUT | /api/v1/tenants/{tenant}/shop-enrich | Turn the ongoing contact data enrichment on or off |
| GET | /api/v1/tenants/{tenant}/shop-settings | Sending 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}/shops | List shops (e-shops) of the company |
| POST | /api/v1/tenants/{tenant}/shops | Create 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}/brand | Get the brand settings of a shop |
| PUT | /api/v1/tenants/{tenant}/shops/{shop_id}/brand | Replace the brand settings of a shop |
| PUT | /api/v1/tenants/{tenant}/shops/{shop_id}/contact-language | Set the default language of new contacts of a shop |
| POST | /api/v1/tenants/{tenant}/shops/{shop_id}/disable | Switch a shop off |
| POST | /api/v1/tenants/{tenant}/shops/{shop_id}/enable | Switch a shop on |
| GET | /api/v1/tenants/{tenant}/site-script | Every 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}/check | Test whether the script is on the shop's homepage |
| GET | /api/v1/tenants/{tenant}/smartemailing | State of the SmartEmailing migration |
| GET | /api/v1/tenants/{tenant}/smartemailing/migrations/{migration_id} | Get one SmartEmailing migration run |
| GET | /api/v1/tenants/{tenant}/sms/campaigns | List SMS campaigns |
| POST | /api/v1/tenants/{tenant}/sms/campaigns | Create an SMS campaign |
| GET | /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id} | Get an SMS campaign |
| PATCH | /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id} | Update an SMS campaign draft |
| DELETE | /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id} | Delete an SMS campaign draft |
| POST | /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}/cancel | Cancel an SMS campaign |
| POST | /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}/estimate | Estimate the recipients and price of an SMS campaign |
| POST | /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}/send | Send or schedule an SMS campaign |
| GET | /api/v1/tenants/{tenant}/sms/eligibility | Who may receive marketing SMS and why |
| GET | /api/v1/tenants/{tenant}/sms/messages | List sent and queued SMS |
| POST | /api/v1/tenants/{tenant}/sms/preview | Count the parts and price of an SMS text |
| POST | /api/v1/tenants/{tenant}/sms/senders | Set or order an SMS sender name |
| DELETE | /api/v1/tenants/{tenant}/sms/senders/{sms_sender_id} | Withdraw an SMS sender name |
| GET | /api/v1/tenants/{tenant}/sms/settings | Get the SMS settings |
| PATCH | /api/v1/tenants/{tenant}/sms/settings | Update the SMS settings |
| GET | /api/v1/tenants/{tenant}/sms/stats | SMS statistics of a period |
| POST | /api/v1/tenants/{tenant}/sms/test | Queue a test SMS to a test number |
| GET | /api/v1/tenants/{tenant}/web-tracking | Web tracking state of every shop |
| GET | /api/v1/tenants/{tenant}/web-tracking/events | List 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.
Odpovede
- 200 OK:
application/jsonPriceList
List account webhooks and their events
GET /api/v1/tenants/{tenant}/account-webhooks
Oprávnenie: oblasť integrations, ú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 and those accepted for compatibility that never fire yet.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonAccountWebhooks
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Create an account webhook
POST /api/v1/tenants/{tenant}/account-webhooks
Oprávnenie: oblasť integrations, ú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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | nie | |
event | 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 | nie | |
active | boolean | nie | |
basicAuth | object or null | nie | null removes the credentials; password '' keeps the stored password (edit only). |
Odpovede
- 201 Created:
application/jsonAccountWebhook
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | event_unsupported |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Edit, switch off or on an account webhook
PATCH /api/v1/tenants/{tenant}/account-webhooks/{webhook_id}
Oprávnenie: oblasť integrations, ú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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the webhook (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | nie | |
event | 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 | nie | |
active | boolean | nie | |
basicAuth | object or null | nie | null removes the credentials; password '' keeps the stored password (edit only). |
Odpovede
- 200 OK:
application/jsonAccountWebhook
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | event_unsupported |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Delete an account webhook
DELETE /api/v1/tenants/{tenant}/account-webhooks/{webhook_id}
Oprávnenie: oblasť integrations, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the webhook (string of digits). |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Send a test call of an account webhook now
POST /api/v1/tenants/{tenant}/account-webhooks/{webhook_id}/test
Oprávnenie: oblasť integrations, ú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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the webhook (string of digits). |
Odpovede
- 200 OK:
application/jsonAccountWebhookTest
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Tariff, usage and balance
GET /api/v1/tenants/{tenant}/billing
Oprávnenie: oblasť billing, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonBillingOverview
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
What cancelling the tariff would mean
GET /api/v1/tenants/{tenant}/billing/cancel
Oprávnenie: oblasť billing, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonCancelInfo
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List invoices
GET /api/v1/tenants/{tenant}/billing/invoices
Oprávnenie: oblasť invoices, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
from | query | string | nie | Start of the period (YYYY-MM-DD local day, or ISO time where noted). |
page | query | integer | nie | Page number, from 1. default 1, min 1 |
pageSize | query | integer | nie | Items per page, 1 to 100. default 25, min 1, max 100 |
q | query | string | nie | Search text (case and diacritics insensitive). max 200 chars |
sort | query | string | nie | Sort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id). |
status | query | string | nie | Status filter. |
to | query | string | nie | End of the period (YYYY-MM-DD local day, or ISO time where noted). |
type | query | string | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | currency, preset, q, sort, status, to, type |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Download an invoice (PDF)
GET /api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/pdf
Oprávnenie: oblasť invoices, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the invoice (string of digits). |
Odpovede
- 200 OK:
application/pdfstring (binary)
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
QR payment code of an invoice (SVG)
GET /api/v1/tenants/{tenant}/billing/invoices/{invoice_id}/qr.svg
Oprávnenie: oblasť invoices, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the invoice (string of digits). |
Odpovede
- 200 OK:
image/svg+xmlstring
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List payments
GET /api/v1/tenants/{tenant}/billing/payments
Oprávnenie: oblasť invoices, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
page | query | integer | nie | Page number, from 1. default 1, min 1 |
pageSize | query | integer | nie | Items per page, 1 to 100. default 25, min 1, max 100 |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get the billing profile
GET /api/v1/tenants/{tenant}/billing/profile
Oprávnenie: oblasť billing, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonBillingProfile
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Price of a tariff
GET /api/v1/tenants/{tenant}/billing/quote
Oprávnenie: oblasť billing, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
currency | query | string | nie | |
period | query | string | nie | |
tierId | query | string | nie |
Odpovede
- 200 OK:
application/jsonBillingQuote
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List the brand styles
GET /api/v1/tenants/{tenant}/brand-identities
Oprávnenie: oblasť content, úroveň read; kľúč s prístupom read alebo full
Every graphic identity of the account: the default one first, then by name. {items: [...]}
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Create a brand style
POST /api/v1/tenants/{tenant}/brand-identities
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
{name, shopId?, active?, look?, logo?, primaryColor?}: a new identity (the first one becomes the default). 400 validation <field>, 409 conflict name / limit. 201 with the identity.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
shopId | string or null | nie | |
active | boolean | nie | |
look | object | nie | |
logo | BrandLogo | nie | |
primaryColor | string | nie |
Odpovede
- 201 Created:
application/jsonBrandIdentity
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get a brand style
GET /api/v1/tenants/{tenant}/brand-identities/{identity_id}
Oprávnenie: oblasť content, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
identity_id | path | string | áno | Id of the identity (string of digits). |
Odpovede
- 200 OK:
application/jsonBrandIdentity
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update a brand style
PATCH /api/v1/tenants/{tenant}/brand-identities/{identity_id}
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Any of {name, shopId, active, look, logo, primaryColor}: look replaces the whole look (the e-mail styles of design.styles, partial), logo the whole logo. 409 conflict active for switching off the default identity.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
identity_id | path | string | áno | Id of the identity (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
shopId | string or null | nie | |
active | boolean | nie | |
look | object | nie | |
logo | BrandLogo | nie | |
primaryColor | string | nie |
Odpovede
- 200 OK:
application/jsonBrandIdentity
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Delete a brand style
DELETE /api/v1/tenants/{tenant}/brand-identities/{identity_id}
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Deletes an inactive identity that is not the default one: 409 conflict default / active otherwise. 204.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
identity_id | path | string | áno | Id of the identity (string of digits). |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Make a brand style the default one
POST /api/v1/tenants/{tenant}/brand-identities/{identity_id}/default
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
The identity becomes the default one of the account (and active).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
identity_id | path | string | áno | Id of the identity (string of digits). |
Odpovede
- 200 OK:
application/jsonBrandIdentity
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Duplicate a brand style
POST /api/v1/tenants/{tenant}/brand-identities/{identity_id}/duplicate
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
A copy of the identity ("<name> (2)"), active, not the default. 201 with the copy.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
identity_id | path | string | áno | Id of the identity (string of digits). |
Odpovede
- 201 Created:
application/jsonBrandIdentity
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get the company data
GET /api/v1/tenants/{tenant}/company
Oprávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full
The company holding the account: legal name, IČO, DIČ / IČ DPH and the kind of business (settings Firma).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonAccountCompany
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update the company data
PATCH /api/v1/tenants/{tenant}/company
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
companyId | string | nie | |
vatId | string | nie | |
businessType | one of: eshop, web, other | nie | What the company does: the wording and the suggestions of the administration follow it. |
Odpovede
- 200 OK:
application/jsonAccountCompany
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Consent settings of every shop
GET /api/v1/tenants/{tenant}/consent-settings
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update the customer exception of a shop
PATCH /api/v1/tenants/{tenant}/consent-settings/{shop_id}
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
months | number or null | áno |
Odpovede
- 200 OK:
application/jsonConsentSettings
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | months |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Labels used in a grid
GET /api/v1/tenants/{tenant}/grid-tags
Oprávnenie: oblasť null, úroveň read; kľúč s prístupom read alebo full
The Štítky filter of one grid (?grid=lists|segments|campaigns|automations|forms|templates): the company's labels and the other tags used in the grid.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
grid | query | string | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | grid |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List labels
GET /api/v1/tenants/{tenant}/labels
Oprávnenie: oblasť labels, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Create a label
POST /api/v1/tenants/{tenant}/labels
Oprávnenie: oblasť labels, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | |
color | string | áno |
Odpovede
- 201 Created:
application/jsonLabel
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update a label
PATCH /api/v1/tenants/{tenant}/labels/{label_id}
Oprávnenie: oblasť labels, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the label (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
color | string | nie |
Odpovede
- 200 OK:
application/jsonLabel
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Delete a label
DELETE /api/v1/tenants/{tenant}/labels/{label_id}
Oprávnenie: oblasť labels, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the label (string of digits). |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Assign a label to objects
POST /api/v1/tenants/{tenant}/labels/{label_id}/assign
Oprávnenie: oblasť labels, úroveň full; kľúč s prístupom full
{lists?, templates?, forms?, automations?, segments?, campaigns?: [ids]} get the label (segments and campaigns too). Each kind needs full rights in its area.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the label (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
lists | array of string | nie | |
templates | array of string | nie | |
forms | array of string | nie | |
automations | array of string | nie | |
segments | array of string | nie | |
campaigns | array of string | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Maintenance: move landline-stored mobile numbers to mobile (dry run unless apply)
POST /api/v1/tenants/{tenant}/maintenance/phone-landline-mobile
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | any | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | apply |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Maintenance: fill empty contact fields from a SmartEmailing backup (dry run unless apply)
POST /api/v1/tenants/{tenant}/maintenance/se-backfill-contacts
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | any | nie | |
contacts | any | áno |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | apply, contacts |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Maintenance: fill empty contact fields from the e-shop feeds (dry run unless apply)
POST /api/v1/tenants/{tenant}/maintenance/shop-enrich
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | boolean | áno |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | apply, reach |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Maintenance: rebuild the e-shop lists (dry run unless apply)
POST /api/v1/tenants/{tenant}/maintenance/shop-lists
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | any | nie | |
seBackup | any | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | apply |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List notifications
GET /api/v1/tenants/{tenant}/notifications
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonNotificationList
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Delete notifications
POST /api/v1/tenants/{tenant}/notifications/delete
Oprávnenie: oblasť null, úroveň read; kľúč s prístupom read alebo full
{ids: [...]} removes those notifications, {all: true} every notification of the tenant.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | ids |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Mark notifications as read
POST /api/v1/tenants/{tenant}/notifications/read
Oprávnenie: oblasť null, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ids | array of string | áno |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | ids |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Mark notifications as unread
POST /api/v1/tenants/{tenant}/notifications/unread
Oprávnenie: oblasť null, úroveň read; kľúč s prístupom read alebo full
{ids: [...]}.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ids | array of string | áno |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | ids |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
State of the onboarding wizard
GET /api/v1/tenants/{tenant}/onboarding
Oprávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full
The onboarding wizard's state (core/onboarding.py).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonOnboardingState
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Save the onboarding wizard
PATCH /api/v1/tenants/{tenant}/onboarding
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
step | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | nie | |
shopId | string | nie | |
skip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | nie | |
unskip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | nie | |
complete | boolean | nie | |
dismiss | boolean | nie |
Odpovede
- 200 OK:
application/jsonOnboardingState
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Order state and shipping method names of one shop with their meaning
GET /api/v1/tenants/{tenant}/order-mapping
Oprávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full
State names and shipping method names of one shop's orders with their meaning, origin and a suggestion.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
shopId | query | string | nie |
Odpovede
- 200 OK:
application/jsonOrderMapping
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Set the meaning of order state and shipping method names of one shop
PUT /api/v1/tenants/{tenant}/order-mapping
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Sets the meaning of state names (states [{name, state}]) and shipping methods (shipping [{name, type}]) of one shop; a null meaning removes the shop's own rule. Stored orders are re-mapped (no order events) and the segment counts and engagement levels are recomputed in the background.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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: shopId.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
states | array of object | nie | |
shipping | array of object | nie |
Odpovede
- 200 OK:
application/jsonOrderMapping
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
How many order state and shipping method names are not mapped yet
GET /api/v1/tenants/{tenant}/order-mapping/summary
Oprávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full
How many state names and shipping methods of the account's orders are not mapped yet (the notice).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonOrderMappingSummary
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
State of the RFM analysis
GET /api/v1/tenants/{tenant}/rfm
Oprávnenie: oblasť contacts, úroveň read; kľúč s prístupom read alebo full
Poštárna has no RFM model yet; whether the tenant asked for it.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonRfmState
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Ask to enable the RFM analysis
POST /api/v1/tenants/{tenant}/rfm/enable-request
Oprávnenie: oblasť contacts, úroveň full; kľúč s prístupom full
Records the request (once), switches nothing on.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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
- 200 OK:
application/jsonRfmState
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Running background actions (imports, exports ...)
GET /api/v1/tenants/{tenant}/running-actions
Oprávnenie: oblasť null, úroveň read; kľúč s prístupom read alebo full
Background work of the tenant that runs or waits to run (core/jobs.running_actions).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Whether order feed imports fill empty contact fields
GET /api/v1/tenants/{tenant}/shop-enrich
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Turn the ongoing contact data enrichment on or off
PUT /api/v1/tenants/{tenant}/shop-enrich
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ongoing | boolean | áno |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | ongoing |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Sending company data of every shop
GET /api/v1/tenants/{tenant}/shop-settings
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update the sending company data of a shop
PATCH /api/v1/tenants/{tenant}/shop-settings/{shop_id}
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full · Nástroj MCP: update_shop_settings
Changes the sending company of a shop.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
companyId | string | nie | |
companyName | string | nie | |
companyAddress | string | nie |
Odpovede
- 200 OK:
application/jsonShopSettings
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List shops (e-shops) of the company
GET /api/v1/tenants/{tenant}/shops
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Create a shop
POST /api/v1/tenants/{tenant}/shops
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
code | string | áno | |
displayName | string | áno | |
domain | string | áno | |
webDisplay | string | nie | |
language | Lang | áno | |
currency | Currency | áno | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | nie | |
senderName | string | nie | |
senderEmail | string | nie | |
linkDomain | string | nie | |
companyName | string | áno | |
companyId | string | nie | |
companyAddress | string | nie |
Odpovede
- 201 Created:
application/jsonShopDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get a shop
GET /api/v1/tenants/{tenant}/shops/{shop_id}
Oprávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Odpovede
- 200 OK:
application/jsonShopDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update a shop
PATCH /api/v1/tenants/{tenant}/shops/{shop_id}
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
companyId | string | nie | |
companyName | string | nie | |
currency | one of: CZK, EUR | nie | |
companyAddress | string | nie | |
displayName | string | nie | |
domain | string | nie | |
webDisplay | string | nie | |
language | one of: cs, sk | nie | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | nie | |
senderName | string | nie | |
senderEmail | string | nie | |
linkDomain | string | nie |
Odpovede
- 200 OK:
application/jsonShopDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get the brand settings of a shop
GET /api/v1/tenants/{tenant}/shops/{shop_id}/brand
Oprávnenie: oblasť content, úroveň read; kľúč s prístupom read alebo full
{logoUrl, logoLink, logoWidth, primaryColor, secondaryColor, textColor, backgroundColor, fontFamily, headingFontFamily, identityId, logoDarkUrl, look}: the graphic identity the editor uses for the shop (its own active one, else the default one); '' (logoWidth null) when unset; logoLink defaults to https:// and the shop's web address (web_display, else its domain) when unset; look = the identity's e-mail styles ({} without one).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Odpovede
- 200 OK:
application/jsonShopBrand
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Replace the brand settings of a shop
PUT /api/v1/tenants/{tenant}/shops/{shop_id}/brand
Oprávnenie: oblasť 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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
logoUrl | string | nie | |
logoLink | string | nie | Where the logo leads; defaults to the shop's web. |
logoWidth | number or null | nie | |
primaryColor | string | nie | |
secondaryColor | string | nie | |
textColor | string | nie | |
backgroundColor | string | nie | |
fontFamily | string | nie | |
headingFontFamily | string | nie | |
identityId | string or null | nie | The graphic identity the editor uses for the shop (its own active one, else the default one); null without. |
logoDarkUrl | string | nie | The dark logo (the light one when the identity uses it for dark too); '' without. |
look | object | nie | The identity's e-mail styles a new e-mail starts with ({} without an identity). |
Odpovede
- 200 OK:
application/jsonShopBrand
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Set the default language of new contacts of a shop
PUT /api/v1/tenants/{tenant}/shops/{shop_id}/contact-language
Oprávnenie: oblasť contacts, úroveň full; kľúč s prístupom full
{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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
language | Lang | áno |
Odpovede
- 200 OK:
application/jsonShop
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | language |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Switch a shop off
POST /api/v1/tenants/{tenant}/shops/{shop_id}/disable
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Odpovede
- 200 OK:
application/jsonShopDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Switch a shop on
POST /api/v1/tenants/{tenant}/shops/{shop_id}/enable
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Odpovede
- 200 OK:
application/jsonShopDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Every shop's one script line and connection state
GET /api/v1/tenants/{tenant}/site-script
Oprávnenie: oblasť webtracking, úroveň read; kľúč s prístupom read alebo full
The shops with their one line and connection state (module notes).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Switch the checkout newsletter box of a shop
PATCH /api/v1/tenants/{tenant}/site-script/{shop_id}
Oprávnenie: oblasť webtracking, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json): Required by the server: checkoutConsent.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
checkoutConsent | boolean | áno |
Odpovede
- 200 OK:
application/jsonSiteScriptShop
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | checkoutConsent |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Test whether the script is on the shop's homepage
POST /api/v1/tenants/{tenant}/site-script/{shop_id}/check
Oprávnenie: oblasť webtracking, úroveň full; kľúč s prístupom full
The Test button (module notes): {result, url, state, seenAt}.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Odpovede
- 200 OK:
application/jsonSiteScriptCheck
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
State of the SmartEmailing migration
GET /api/v1/tenants/{tenant}/smartemailing
Oprávnenie: oblasť integrations, úroveň read; kľúč s prístupom read alebo full
{connection (null before the first connect), migration (the latest run or null)}.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonSeState
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get one SmartEmailing migration run
GET /api/v1/tenants/{tenant}/smartemailing/migrations/{migration_id}
Oprávnenie: oblasť integrations, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the migration (string of digits). |
Odpovede
- 200 OK:
application/jsonSeMigration
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List SMS campaigns
GET /api/v1/tenants/{tenant}/sms/campaigns
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
page | query | integer | nie | Page number, from 1. default 1, min 1 |
pageSize | query | integer | nie | Items per page, 1 to 100. default 25, min 1, max 100 |
q | query | string | nie | Search text (case and diacritics insensitive). max 200 chars |
status | query | string | nie | Status filter. |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | status |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Create an SMS campaign
POST /api/v1/tenants/{tenant}/sms/campaigns
Oprávnenie: oblasť campaigns, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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: name.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | |
body | string | nie | |
stripDiacritics | boolean | nie | |
senderId | string or null | nie | |
templateId | string or null | nie | |
listIds | array of string | nie | |
segmentId | string or null | nie |
Odpovede
- 201 Created:
application/jsonSmsCampaign
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get an SMS campaign
GET /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_campaign_id | path | string | áno | Id of the sms campaign (string of digits). |
Odpovede
- 200 OK:
application/jsonSmsCampaign
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update an SMS campaign draft
PATCH /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}
Oprávnenie: oblasť campaigns, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_campaign_id | path | string | áno | Id of the sms campaign (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
body | string | nie | |
stripDiacritics | boolean | nie | |
senderId | string or null | nie | |
templateId | string or null | nie | |
listIds | array of string | nie | |
segmentId | string or null | nie |
Odpovede
- 200 OK:
application/jsonSmsCampaign
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Delete an SMS campaign draft
DELETE /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}
Oprávnenie: oblasť campaigns, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_campaign_id | path | string | áno | Id of the sms campaign (string of digits). |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Cancel an SMS campaign
POST /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}/cancel
Oprávnenie: oblasť campaigns, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_campaign_id | path | string | áno | Id of the sms campaign (string of digits). |
Telo požiadavky (application/json)
object
Odpovede
- 200 OK:
application/jsonSmsCampaign
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Estimate the recipients and price of an SMS campaign
POST /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}/estimate
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_campaign_id | path | string | áno | Id of the sms campaign (string of digits). |
Telo požiadavky (application/json)
object
Odpovede
- 200 OK:
application/jsonSmsEstimate
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Send or schedule an SMS campaign
POST /api/v1/tenants/{tenant}/sms/campaigns/{sms_campaign_id}/send
Oprávnenie: oblasť campaigns, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_campaign_id | path | string | áno | Id of the sms campaign (string of digits). |
Telo požiadavky (application/json): Required by the server: confirmCount.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
confirmCount | number | áno | |
scheduledAt | string or null | nie |
Odpovede
- 200 OK:
application/jsonSmsCampaign
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | scheduledAt |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Who may receive marketing SMS and why
GET /api/v1/tenants/{tenant}/sms/eligibility
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Counts over all contacts (core/sms/eligibility.overview): contacts, withPhone, eligible (consent + customer), consent, customer, and the ones left out: optout, blocked, noConsent, noPhone; the window in use: customerWindow (months_12 | like_email), customerShops [{shopId, code, months}] (0 off, null no time limit) and customerMonths (the months shared by every shop where the soft opt-in is on, null when they differ or have no time limit).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonSmsEligibilityOverview
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List sent and queued SMS
GET /api/v1/tenants/{tenant}/sms/messages
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
campaignId | query | string | nie | |
contactId | query | string | nie | |
page | query | integer | nie | Page number, from 1. default 1, min 1 |
pageSize | query | integer | nie | Items per page, 1 to 100. default 25, min 1, max 100 |
status | query | string | nie | Status filter. |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | status |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Count the parts and price of an SMS text
POST /api/v1/tenants/{tenant}/sms/preview
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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: body.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
body | string | áno | |
stripDiacritics | boolean | nie | |
promo | boolean | nie | Promotional (default): with the opt-out footer. |
country | one of: CZ, SK | nie | |
senderId | string or null | nie | The sender whose price perPart shows: missing = the settings' sender, null = the system number. |
Odpovede
- 200 OK:
application/jsonSmsPreview
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | country, promo, senderId, stripDiacritics |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Set or order an SMS sender name
POST /api/v1/tenants/{tenant}/sms/senders
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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: kind, value.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
value | string | áno | |
kind | one of: text, unregistered | áno | |
note | string | nie |
Odpovede
- 201 Created:
application/jsonSmsSender
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Withdraw an SMS sender name
DELETE /api/v1/tenants/{tenant}/sms/senders/{sms_sender_id}
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
sms_sender_id | path | string | áno | Id of the sms sender (string of digits). |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Get the SMS settings
GET /api/v1/tenants/{tenant}/sms/settings
Oprávnenie: oblasť settings, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonSmsSettings
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Update the SMS settings
PATCH /api/v1/tenants/{tenant}/sms/settings
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
consentPurposeId | string or null | nie | |
defaultCountry | one of: CZ, SK | nie | |
senderId | string or null | nie | |
testNumbers | array of string | nie | |
quietHours | boolean | nie | |
customerWindow | one of: months_12, like_email | nie |
Odpovede
- 200 OK:
application/jsonSmsSettings
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
SMS statistics of a period
GET /api/v1/tenants/{tenant}/sms/stats
Oprávnenie: oblasť campaigns, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
from | query | string | nie | Start of the period (YYYY-MM-DD local day, or ISO time where noted). |
preset | query | one of: all, today, yesterday, 7d, 30d, 90d, this_week, last_week, month, last_month, this_year, last_year | nie | A period preset instead of from / to, resolved to the account's calendar days ending today (weeks start on Monday; all = no limit where the list allows it). The same days as from / to give the same numbers. |
to | query | string | nie | End of the period (YYYY-MM-DD local day, or ISO time where noted). |
Odpovede
- 200 OK:
application/jsonSmsStats
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | from |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Queue a test SMS to a test number
POST /api/v1/tenants/{tenant}/sms/test
Oprávnenie: oblasť settings, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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: body, number.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
number | string | áno | |
body | string | áno | |
stripDiacritics | boolean | nie | |
senderId | string or null | nie |
Odpovede
- 201 Created:
application/jsonSmsMessage
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | stripDiacritics |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Web tracking state of every shop
GET /api/v1/tenants/{tenant}/web-tracking
Oprávnenie: oblasť webtracking, ú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ázov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
List web tracking events
GET /api/v1/tenants/{tenant}/web-tracking/events
Oprávnenie: oblasť contacts, úroveň read; kľúč s prístupom read alebo full
?type=visit|identification|cart|custom, ?q= (e-mail), ?shopId=, Období (?preset= or ?from=&to=), paging.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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. |
from | query | string | nie | Start of the period (YYYY-MM-DD local day, or ISO time where noted). |
page | query | integer | nie | Page number, from 1. default 1, min 1 |
pageSize | query | integer | nie | Items per page, 1 to 100. default 25, min 1, max 100 |
preset | query | one of: all, today, yesterday, 7d, 30d, 90d, this_week, last_week, month, last_month, this_year, last_year | nie | A period preset instead of from / to, resolved to the account's calendar days ending today (weeks start on Monday; all = no limit where the list allows it). The same days as from / to give the same numbers. |
q | query | string | nie | Search text (case and diacritics insensitive). max 200 chars |
shopId | query | string | nie | |
to | query | string | nie | End of the period (YYYY-MM-DD local day, or ISO time where noted). |
type | query | string | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | q, type |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Switch web tracking of a shop
PATCH /api/v1/tenants/{tenant}/web-tracking/{shop_id}
Oprávnenie: oblasť webtracking, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public 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_id | path | string | áno | Id of the shop (string of digits). |
Telo požiadavky (application/json): Required by the server: enabled.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | áno |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | enabled |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. | |
| 503 | unavailable | busy |
Schémy
AccountCompany
The company holding the account (GET /tenants/{t}/company).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | |
companyId | string | áno | |
vatId | string | áno | |
businessType | one of: eshop, web, other | áno | What the company does: the wording and the suggestions of the administration follow it. |
AccountWebhook
An account webhook (Nastavení › Napojená data › Webhooky; the same rows as API v3 /web-hooks).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
url | string | áno | |
event | 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 | |
active | boolean | áno | false = switched off (by hand, or by itself after errorsLimit errors in a row). |
silent | boolean | áno | Accepted for compatibility, never fires yet. |
timeoutS | number | áno | |
basicLogin | string or null | áno | HTTP Basic user name; the password is never answered. |
lastResponseCode | number or null | áno | |
lastCallAt | string or null | áno | |
errorsInRow | number | áno | |
errorsLimit | number | áno | |
viaApi | boolean | áno | Registered with an API key (API v3). |
createdAt | string | áno |
AccountWebhookInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | nie | |
event | 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 | nie | |
active | boolean | nie | |
basicAuth | object or null | nie | null removes the credentials; password '' keeps the stored password (edit only). |
AccountWebhookTest
Result of Otestovat: error scheme | dns | address | deadline | network | status ('' when ok).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ok | boolean | áno | |
status | number or null | áno | |
ms | number or null | áno | |
error | string | áno |
AccountWebhooks
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
items | array of AccountWebhook | áno | |
events | array 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 | |
silentEvents | array 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 | |
limit | number | áno |
AppNotification
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
type | NotificationType | áno | |
params | map of string or number | áno | Values for the placeholders of notifications.type.<type>; numbers are formatted by the UI. |
important | boolean | áno | |
read | boolean | áno | |
createdAt | string | áno |
BankDetails
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
account | string | áno | '' when the account has no local number (EUR paid to the CZK account by IBAN). |
iban | string | áno | |
bic | string | nie | BIC/SWIFT, '' or absent when not configured (older servers and the demo omit it). |
viaCzk | boolean | nie | EUR without an own EUR account: paid to the IBAN of the CZK account (owner, 11 Nov 2026). |
BillingBlock
one of: `, trial_limit, free_limit, unpaid`
BillingCurrency
one of: CZK, EUR
BillingOverview
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
subscription | Subscription | áno | |
priceList | PriceList | áno | |
profile | BillingProfile | áno | |
bank | object | áno | null = the platform has not set that account yet ("nenastaveno"). |
cardPayment | soon | áno | |
support | object | áno | |
agency | object or null | nie | A client account of an agency: who its invoices go to (optional: older servers and the demo omit it). |
BillingPeriod
one of: monthly, annual
BillingProfile
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
firstName | string | áno | |
lastName | string | áno | |
billingEmail | string | áno | |
phone | string | áno | |
isCompany | boolean | áno | |
country | string | áno | |
companyName | string | áno | |
companyId | string | áno | |
vatId | string | áno | |
vatPayer | boolean | áno | |
street | string | áno | |
city | string | áno | |
zip | string | áno | |
currency | BillingCurrency | áno | |
invoiceEmail | string | nie | E-mail pro zasílání faktur (optional): every invoice, payment and reminder e-mail goes there; empty = the login e-mail of the account owner. |
saved | boolean | nie | |
complete | boolean | nie | |
vatCheck | VatCheck | nie | The VIES check of the VAT ID (server only; never sent back on save). |
BillingQuote
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
tier | PriceTier | áno | |
currency | BillingCurrency | áno | |
period | BillingPeriod | áno | |
monthly | string | áno | |
net | string | áno | |
vatRate | string | áno | |
vat | string | áno | |
total | string | áno | |
reverseCharge | boolean | áno | |
annualSaving | string | áno | |
beforeDiscount | string or null | áno | |
upgradeNet | string or null | áno | |
change | one of: new, upgrade, downgrade, same | áno | new = a new subscription (first invoice below), upgrade now, downgrade from the next period, same tier. |
contacts | number | áno | |
fits | boolean | áno | The contacts fit the tier now (a downgrade is refused otherwise). |
firstStart | string or null | áno | |
firstEnd | string or null | áno | |
firstNet | string or null | áno | |
firstVat | string or null | áno | |
firstTotal | string or null | áno |
BillingSlice
A period and its net price.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
on | string | áno | |
start | string | áno | |
end | string | áno | |
net | string | áno |
BorderDefault
A border of an element default (MJML "1px solid #rrggbb").
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
width | number | áno | |
style | string | áno | |
color | string | áno |
BoxPadding
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
top | number | áno | |
right | number | áno | |
bottom | number | áno | |
left | number | áno |
BrandIdentity
GET /tenants/{t}/brand-identities.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
name | string | áno | |
shopId | string or null | áno | The e-shop it is for; null = every e-shop. |
isDefault | boolean | áno | |
active | boolean | áno | |
look | object | áno | |
logo | BrandLogo | áno | |
primaryColor | string | áno | Main colour of the brand ('' = none). |
createdAt | string | áno | |
updatedAt | string | áno |
BrandIdentityInput
POST / PATCH body of a graphic identity: 400 name, shopId, look, logo.*, primaryColor; 409 name, limit, active.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
shopId | string or null | nie | |
active | boolean | nie | |
look | object | nie | |
logo | BrandLogo | nie | |
primaryColor | string | nie |
BrandLogo
Light and dark logo of a graphic identity.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | nie | |
link | string | nie | Where the logo leads. |
width | number | nie | px, 20 to 800. |
darkUrl | string | nie | |
darkSameAsLight | boolean | nie | Use the light logo in the dark scheme too. |
CancelInfo
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
blockers | array of one of: trial, unpaid, profile, not_active, already | áno | |
reasons | array of CancelReason | áno |
CancelReason
one of: other, not_needed, complex, missing_features, bugs, price, communication, other_tool
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).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
code | string | áno | |
language | Lang | áno | |
months | number or null | áno | |
isDefault | boolean | áno |
Currency
one of: CZK, EUR
ElementDefaults
What a newly inserted element starts with. Missing = the built-in value. Inner rows are rows inside a wrapper row (mj-wrapper), inner columns their columns. The colours of buttons and the divider (with their dark variants) are the e-mail's colours (buttonColor, button2Color, dividerColor ...).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
rowPadding | BoxPadding | nie | |
rowRadius | number | nie | |
rowBorder | BorderDefault or null | nie | |
rowBorderColor | string | nie | Vzhled značky › Barvy: the preferred colour of a row border (BR-03; the border a new row turns on). |
rowDirection | one of: ltr, rtl | nie | Vzhled značky › Řádek (BR-03): direction of the columns (mj-section direction), their vertical alignment, the gap between them (px, half on each side of a column) and the row background of a new row. |
rowAlign | one of: top, middle, bottom | nie | |
rowGap | number | nie | |
rowBackground | string | nie | |
innerRowPadding | BoxPadding | nie | |
innerRowRadius | number | nie | |
innerRowBorder | BorderDefault or null | nie | |
columnPadding | BoxPadding | nie | |
columnRadius | number | nie | |
columnBorder | BorderDefault or null | nie | |
innerColumnPadding | BoxPadding | nie | |
innerColumnRadius | number | nie | |
innerColumnBorder | BorderDefault or null | nie | |
textPadding | BoxPadding | nie | |
imagePadding | BoxPadding | nie | |
imageWidth | number | nie | % of the column (100 = the whole width). |
imageRadius | number | nie | |
videoPadding | BoxPadding | nie | |
videoWidth | number | nie | |
videoRadius | number | nie | |
buttonType | one of: link, primary, secondary | nie | |
buttonPadding | BoxPadding | nie | |
buttonInnerPadding | object | nie | |
buttonRadius | number | nie | |
buttonFullWidth | boolean | nie | |
buttonBorder | BorderDefault or null | nie | |
dividerPadding | BoxPadding | nie | |
dividerWidth | number | nie | |
dividerThickness | number | nie | |
dividerStyle | one of: solid, dashed, dotted | nie | |
spacerHeight | number | nie |
ElementDefaultsMobile
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
rowPadding | BoxPadding | nie | |
columnPadding | BoxPadding | nie | |
textPadding | BoxPadding | nie | |
imagePadding | BoxPadding | nie | |
imageWidth | number | nie | |
videoWidth | number | nie | |
buttonPadding | BoxPadding | nie | |
dividerPadding | BoxPadding | nie | |
dividerWidth | number | nie | |
spacerHeight | number | nie |
Error
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
error | object | áno |
{
"error": {
"code": "validation",
"message": "email"
}
}FirstPaymentInvoice
The first invoice of a tariff ordered from the self-serve trial: the amount still to pay and its due date.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
number | string | áno | |
currency | one of: CZK, EUR | áno | |
due | string | áno | |
dueDate | string | áno | |
payBy | string or null | nie | The last day to pay before the unpaid order is cancelled (the day every text names); null once money came for the invoice or when the order does not cancel itself. |
cancelOn | string or null | nie | The day the unpaid order is cancelled by itself (some days after payBy: a transfer takes time); null as payBy. |
overdue | boolean | nie | The invoice is past its due date (the dashboard's first-order warning). |
Invoice
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
number | string | áno | |
kind | one of: invoice, credit_note | áno | |
purpose | one of: upgrade, subscription, overage, manual, credit | áno | |
currency | BillingCurrency | áno | |
net | string | áno | |
vat | string | áno | |
total | string | áno | |
vatRate | string | áno | |
reverseCharge | boolean | áno | |
paidAmount | string | áno | |
state | one of: cancelled, issued, paid | áno | |
status | InvoiceStatus | áno | |
issueDate | string | áno | |
dueDate | string | áno | |
paidAt | string or null | áno | |
sentAt | string or null | áno | |
periodStart | string | áno | |
periodEnd | string | áno | |
days | number | áno | Days after the due date (overdue) or until it (unpaid). |
creditFor | string or null | áno | |
reminders | number | áno | |
hasQr | boolean | áno | |
buyerName | string | áno | |
czk | object or null | nie | The VAT in CZK of an EUR document with Czech VAT (ČNB rate of the taxable date, frozen at issue); null otherwise. |
tenant | object | nie |
InvoiceStatus
one of: cancelled, unpaid, credit, paid, partial, overdue, due_today
Label
A label with its RGBA colour (#rrggbbaa) and how many records carry it.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
name | string | áno | |
color | string | áno | |
used | number | áno | |
createdAt | string | áno |
LabelTargets
Records a label is assigned to (segments and campaigns too, whose grids have the Štítky filter).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
lists | array of string | nie | |
templates | array of string | nie | |
forms | array of string | nie | |
automations | array of string | nie | |
segments | array of string | nie | |
campaigns | array of string | nie |
Lang
one of: cs, sk
MagicBackground
A background of the visual editor: a plain colour, a linear gradient or a picture (https).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
type | one of: color, gradient, image | áno | |
from | string | nie | |
to | string | nie | |
angle | number | nie | Gradient direction in degrees (180 = top to bottom). |
image | string | nie | |
fit | one of: cover, repeat, original | nie | Picture: cover the area, tile, or the original size once. |
MagicStyles
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
padding | BoxPadding | nie | Space around the e-mail body, desktop and mobile. |
paddingMobile | BoxPadding | nie | |
darkMode | boolean | nie | Dark mode in the recipient's app (prefers-color-scheme) with its colours. |
darkBackgroundColor | string | nie | |
darkContentColor | string | nie | |
darkTextColor | string | nie | |
darkHeadingColor | string | nie | |
darkLinkColor | string | nie | |
darkButtonColor | string | nie | Dark mode colours of the buttons and the divider (each colour has its "(tmavé schéma)" variant). |
darkButtonTextColor | string | nie | |
darkButton2Color | string | nie | |
darkButton2TextColor | string | nie | |
darkDividerColor | string | nie | |
background | MagicBackground | nie | A gradient or a picture over the colour (backgroundColor / contentColor stay the fallback of clients without head styles). |
bodyBackground | MagicBackground | nie | |
button2Color | string | nie | Secondary button and divider colours. |
button2TextColor | string | nie | |
button2BorderColor | string | nie | |
buttonBorderColor | string | nie | |
dividerColor | string | nie | |
headingColors | object | nie | Own colours of Nadpis H1, H2 and H3 (ED-07); missing = headingColor. |
darkButtonBorderColor | string | nie | Dark variants of the button borders (ED-07). |
darkButton2BorderColor | string | nie | |
innerRowColor | string | nie | Barva těla - vnitřní řádka, Barva pozadí sloupce (also of an inner row) and Pozadí prvku; missing = none (the body shows through). |
columnColor | string | nie | |
innerColumnColor | string | nie | |
elementColor | string | nie | |
darkColors | object | nie | Dark variants of the slots without an older dark field (editor/magic/colorScheme.ts). |
colorsMobile | object | nie | Phone colours (light and dark) under 480 px; missing = desktop. |
darkColorsMobile | object | nie | |
footerDefault | boolean | nie | System footer: its own default look instead of the e-mail's, and no background. |
footerTransparent | boolean | nie | |
text | object | nie | Text styles per kind; missing keys = defaults. Mobile values override desktop ones under 480 px. |
textMobile | object | nie | |
defaults | ElementDefaults | nie | Defaults of new elements (editor/magic/elementDefaults.ts applies them). |
defaultsMobile | ElementDefaultsMobile | nie | Phone values of the element defaults: paddings, widths and the spacer height under 480 px. |
MappingOrigin
one of: invalid, none, shopMap, map, shop, source, suggestion
NotificationList
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
items | array of AppNotification | áno | |
unread | number | á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, sign_in_failed, invoice_issued, invoice_due_soon, invoice_overdue, invoice_paid, license_expire_soon, license_expired, agency_billing_switch, import_quarantined, import_released, import_rejected, sending_cap_reached, domain_unverified, domain_failed, automation_action_failed
OnboardingPatch
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
step | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | nie | |
shopId | string | nie | |
skip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | nie | |
unskip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | nie | |
complete | boolean | nie | |
dismiss | boolean | nie |
OnboardingState
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
visible | boolean | áno | Shown on the dashboard (not finished, not closed; a company without a row only while it has no contact). |
step | OnboardingStep | áno | |
skipped | array of OnboardingStep | áno | |
completedAt | string or null | áno | |
dismissedAt | string or null | áno | |
shop | object or null | áno | |
steps | object | áno | Done from the data itself. |
stepList | array of OnboardingStep | nie | The steps of this company in order (a company without an e-shop: ONBOARDING_PLAIN_STEPS); older answers: ONBOARDING_STEPS. |
domainWaiting | string | nie | The first sending domain that waits for its DNS records ('' = none entered or one is verified). |
firstSteps | object | nie | Done steps of FIRST_STEPS, from the data (core/onboarding.first_steps). |
firstStepsVisible | boolean | nie | False once the first e-mail went out to a contact: the list is not shown any more. |
feeds | object | áno | |
contacts | number | áno | |
progress | number | áno | Steps of stepList (without done) that are done or skipped. |
total | number | áno |
OnboardingStep
one of: shop, domain, script, feeds, contacts, done, sender, template, campaign
OrderCancelInfo
What happens when an order that waits for its first payment is cancelled.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
partlyPaid | boolean | áno | Money already came for an invoice: only support cancels the order. |
payBy | string or null | áno | |
cancelOn | string or null | áno | |
backTo | one of: trial, free | áno | Where the account goes: back to its trial (until trialEndsAt, with the trial's limits) or to the free tier. |
trialEndsAt | string or null | áno | |
freeContacts | number | áno | |
freeEmails | number | áno |
OrderMapping
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
states | array of one of: other, cancelled, unpaid, new, paid, processing, shipped, pickup, delivered, complaint, returned | áno | |
shippingTypes | array of one of: other, pickup_point, courier, personal_pickup, digital | áno | |
stateNames | array of OrderStateName | áno | |
shippingMethods | array of ShippingMethodName | áno | |
unmapped | object | áno | |
changed | object | nie | After a save: orders whose state / shipping type changed, recount queued in the background. |
OrderMappingInput
A save of one shop: null removes the shop's own rule of that name.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
states | array of object | nie | |
shipping | array of object | nie |
OrderMappingSummary
Unmapped names across the account's shops (the notice "Přiřaďte stavy objednávek").
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
orders | boolean | áno | |
unmappedStates | number | áno | |
unmappedShipping | number | áno | |
shops | array of object | áno |
OrderStateName
A state name seen in one shop's orders (Nastavení › Stavy objednávek a dopravy).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | Exactly as the e-shop exports it (Shoptet may truncate it). |
orders | number | áno | |
lastOrderAt | string or null | áno | |
state | one of: other, cancelled, unpaid, new, paid, processing, shipped, pickup, delivered, complaint, returned | áno | |
origin | MappingOrigin | áno | |
suggestion | one of: other, cancelled, unpaid, new, paid, processing, shipped, pickup, delivered, complaint, returned, null | áno | Proposed meaning for a common name; never applied without the user. |
OverageDay
One day over the tier (terms 1.3): over x unit (price of one contact of the tier) / days of the month. A day of the former rule (until 25 Nov 2026, when it was cheaper) has toMax instead: (price of the tier that fits - price of the tier) / days.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
day | string | áno | |
contacts | number | áno | |
over | number | áno | |
fromMax | number | áno | |
toMax | number or null | áno | |
unit | string or null | áno | |
days | number or null | áno | |
amount | string | áno |
Payment
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
invoiceId | string | áno | |
invoiceNumber | string | áno | |
amount | string | áno | |
currency | BillingCurrency | áno | |
paidOn | string | áno | |
method | one of: bank, card, credit_note, manual | áno | |
overpaid | object or null | nie | A bank payment that brought more than the invoice asked (A-1202-36): what came and the surplus, in the payment's own currency (a payment in Kč of an EUR invoice: Kč); the surplus stays with the operator. null otherwise. |
PriceList
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
sms | object or null | áno | SMS prices per currency (net) while SMS are on for the platform: per part from the system number, from an unregistered name, the setup and monthly fee of a registered name; null when SMS are off. |
tiers | array of PriceTier | áno | |
annualDiscountPct | string | áno | |
vatRate | string | áno | |
trialDays | number | áno | |
freeContacts | number | áno | |
freeEmailsMonth | number | áno | |
currencies | array of BillingCurrency | áno |
PriceTier
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
maxContacts | number | áno | |
monthly | string or null | áno | Net a month in the subscription's currency; null = individual price. |
monthlyCzk | string or null | áno | |
monthlyEur | string or null | nie | |
free | boolean | áno | |
active | boolean | áno |
RfmState
RFM analysis: no model in Poštárna yet; whether the company asked for it.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | áno | |
requested | boolean | áno | |
requestedAt | string or null | áno |
RunningAction
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
kind | one 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 | |
status | one of: queued, running | áno | |
since | string | áno |
SeConnection
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
login | string | áno | |
keyHint | string | áno | First three characters of the key (the key itself is never returned). |
accountId | string or null | áno | |
verifiedAt | string | áno | |
lists | map of SeListChoice | áno | |
options | object | áno | |
syncEnabled | boolean | áno | Hourly sync of the parallel run. |
syncChangedAt | string or null | áno | |
lastSyncAt | string or null | áno | |
lastSync | map of string or number | áno | |
syncStatus | one of: ok, failed, skipped, late | nie | ok, skipped (a switch run was queued or running), failed (syncProblem says why) or late (no sync for 3 hours). |
syncProblem | string | nie | credentials, unavailable, dataKey, error, migration_running or no_sync. |
syncProblemAt | string or null | nie |
SeListChoice
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
role | one of: optin, member, unsub, skip | áno | |
shop | string | áno | Shop code (cz, sk). |
name | string | áno |
SeMigration
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
status | one of: queued, running, failed, finished | áno | |
phase | one of: `, contacts, purposes, templates, automations, fields, suppressions, apply, report` | áno | |
progress | object | áno | |
plan | object | áno | |
counts | map of number | áno | |
report | SeReport or null | áno | |
failed | boolean | áno | |
stopped | boolean | nie | The worker stopped before the run finished; starting it again resumes it. |
failure | one of: `, unavailable, error, stopped, credentials, answer, dataKey, connection` | nie | The kind of a failed run (SE_RUN_FAILURES), '' otherwise; never the technical text. |
createdAt | string | áno | |
startedAt | string or null | áno | |
finishedAt | string or null | áno |
SeProblem
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
code | one of: blacklistMissing, hardbounceMissing, unsubscribeMissing, listUnsubscribeMissing, suppressionMissing, duplicatesMerged, invalidWithOptOut, listUnsubscribeNotInPostarna, erased, formsWithoutList, webhooksUnsupported, webhooksPassword | áno | |
count | number | áno | |
blocking | boolean | áno | true = Poštárna must not send yet (readyToSend false). |
SeReport
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
rows | array of SeReportRow | áno | |
lists | array of object | áno | |
skipped | map of number | áno | Contacts not taken over and why (not_in_mapped_lists, invalid_address). |
mapping | map of number | áno | |
merged | object | nie | SmartEmailing records merged into one contact because their addresses are the same. |
problems | array of SeProblem | nie | |
suppressionDiff | object | áno | |
readyToSend | boolean | áno | Blacklist, 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).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
key | one of: unsubscribed, blacklisted, contacts, purposes, templates, automations, forms, webhooks, history, hardbounced, listUnsubscribes, customFields, consents | áno | |
se | number | áno | |
postarna | number | áno | |
created | number | nie | |
skipped | number | nie | |
archived | number | nie | |
eventsSaved | number | nie | history (MG-05): events of SE's campaigns kept on Poštárna's contacts. |
imagesFailed | number | nie | |
failed | number | nie | |
noList | number | nie | forms: SE forms without a list taken over; webhooks: SMS events not taken, logins to enter again. |
unsupported | number | nie | |
basicAuth | number | nie |
SeState
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
connection | SeConnection or null | áno | |
migration | SeMigration or null | áno |
ShippingMethodName
A shipping method name seen in one shop's orders.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | |
orders | number | áno | |
lastOrderAt | string or null | áno | |
type | one of: `, other, pickup_point, courier, personal_pickup, digital` | áno | |
origin | MappingOrigin | áno | |
suggestion | one of: other, pickup_point, courier, personal_pickup, digital, null | áno |
Shop
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
code | string | áno | cz, sk (ShopSettings.code) |
displayName | string | áno | |
domain | string | áno | |
currency | Currency | áno | |
language | Lang | áno | |
active | boolean | nie | false = switched off in settings E-shopy (hidden from the switcher and pickers); absent = active. |
contactLanguage | one of: cs, sk | nie | 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. |
contactLanguageSet | boolean | nie |
ShopBrand
Brand identity of an e-shop: the Logo element and predefined sections use it.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
logoUrl | string | áno | |
logoLink | string | áno | Where the logo leads; defaults to the shop's web. |
logoWidth | number or null | áno | |
primaryColor | string | áno | |
secondaryColor | string | áno | |
textColor | string | áno | |
backgroundColor | string | áno | |
fontFamily | string | áno | |
headingFontFamily | string | áno | |
identityId | string or null | nie | The graphic identity the editor uses for the shop (its own active one, else the default one); null without. |
logoDarkUrl | string | nie | The dark logo (the light one when the identity uses it for dark too); '' without. |
look | object | nie | The identity's e-mail styles a new e-mail starts with ({} without an identity). |
ShopConnector
The connector of orders and customers as the tenant sees it; the platform sets it (its key is the platform's).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
host | string | áno | |
intervalS | number | áno | Seconds between automatic runs; 0 = only by hand. |
ShopDetail
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
webDisplay | string | áno | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | áno | |
senderName | string | áno | |
senderEmail | string | áno | |
linkDomain | string | áno | Own domain of tracking and unsubscribe links; '' = the platform's. |
companyName | string | áno | |
companyId | string | áno | |
companyAddress | string | áno | |
active | boolean | áno | false = switched off in settings E-shopy (hidden from the switcher and pickers); absent = active. |
disabledAt | string or null | áno | |
createdAt | string | áno | |
connector | ShopConnector or null | áno | |
usage | ShopUsage | áno | |
locked | boolean | áno | Language and currency are fixed once the shop has contacts, orders, feeds or a sent campaign. |
id | string | áno | |
code | string | áno | cz, sk (ShopSettings.code) |
displayName | string | áno | |
domain | string | áno | |
currency | Currency | áno | |
language | Lang | áno | |
contactLanguage | one of: cs, sk | nie | 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. |
contactLanguageSet | boolean | nie |
ShopInput
POST /tenants/{t}/shops (code, displayName, domain, language, currency, companyName required) and PATCH (code fixed).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
code | string | áno | |
displayName | string | áno | |
domain | string | áno | |
webDisplay | string | nie | |
language | Lang | áno | |
currency | Currency | áno | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | nie | |
senderName | string | nie | |
senderEmail | string | nie | |
linkDomain | string | nie | |
companyName | string | áno | |
companyId | string | nie | |
companyAddress | string | nie |
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).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
code | string | áno | |
displayName | string | áno | |
language | Lang | áno | |
companyName | string | áno | |
companyId | string | áno | |
companyAddress | string | áno |
ShopUsage
What a shop has (GET /tenants/{t}/shops/{id}).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
contacts | number | áno | |
lists | number | áno | |
segments | number | áno | |
campaigns | number | áno | |
automationsActive | number | áno | |
feeds | number | áno | |
orders | number | áno |
SiteScriptCheck
The Test button (POST /tenants/{t}/site-script/{shop}/check): found = the line is on the homepage.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
result | one of: found, not_found, unreachable | áno | |
url | string or null | áno | |
state | one of: live, quiet, waiting | áno | |
seenAt | string or null | áno |
SiteScriptShop
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
code | string | áno | |
name | string | áno | |
domain | string | áno | |
webDisplay | string | áno | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | áno | |
scriptUrl | string | áno | The postarna.js address of the one line. |
snippet | string | áno | The whole line for the shop's footer. |
state | one of: live, quiet, waiting | áno | live = the script reported within 3 days, quiet = earlier, waiting = never. |
seenAt | string or null | áno | |
seenHost | string | áno | |
checkoutConsent | boolean | áno | The script also reads the newsletter box of the checkout and the registration. |
popups | number | áno | Active pop-up and slide-in forms the script shows; active classic forms it can place. |
embeds | number | áno | |
signups | object | áno | Checkout newsletter boxes of the last 30 days by state. |
SmsCampaign
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
status | one of: cancelled, sent, draft, scheduled, sending | áno | |
scheduledAt | string or null | áno | |
startedAt | string or null | áno | |
finishedAt | string or null | áno | |
createdAt | string | áno | |
updatedAt | string | áno | |
counts | SmsCampaignCounts | áno | |
parts | number | áno | |
encoding | SmsEncoding | áno | |
cost | object | áno | |
name | string | áno | |
body | string | áno | |
stripDiacritics | boolean | áno | |
senderId | string or null | áno | |
templateId | string or null | áno | |
listIds | array of string | áno | |
segmentId | string or null | áno |
SmsCampaignCounts
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
recipients | number | áno | |
queued | number | áno | |
sent | number | áno | |
delivered | number | áno | |
undelivered | number | áno | |
failed | number | áno | |
skipped | number | áno |
SmsCountry
one of: CZ, SK
SmsEligibilityOverview
GET /sms/eligibility: counts over all contacts of the account.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
contacts | number | áno | |
withPhone | number | áno | |
eligible | number | áno | consent + customer |
consent | number | áno | |
customer | number | áno | |
optout | number | áno | |
blocked | number | áno | |
noConsent | number | áno | |
noPhone | number | áno | |
customerMonths | number or null | áno | Months shared by every shop with the soft opt-in on; null when they differ or have no time limit. |
customerWindow | one of: months_12, like_email | áno | |
customerShops | array of object | áno | Per shop: months 0 off, null without a time limit. |
SmsEncoding
one of: gsm, ucs2
SmsEstimate
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
recipients | number | áno | |
skipped | object | áno | Left out, the first reason of each contact: no mobile number, SMS blocked by staff, opted out itself (STOP, the link), neither a consent nor the customer soft opt-in, the same number twice. |
basis | object | áno | Recipients by the basis that allows them: a consent of the SMS purpose, or a customer within 12 months of a completed purchase who is subscribed to e-mails (soft opt-in). |
parts | number | áno | |
encoding | SmsEncoding | áno | |
perPart | string or null | áno | |
total | string or null | áno | |
currency | BillingCurrency | áno | |
unpriced | array of string | áno | Destination countries (CZ, SK) without a price for the chosen sender while the account's SMS are billed: the send is refused (409 conflict price {countries}) instead of every such SMS being skipped. |
SmsMessage
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
phone | string | áno | |
contactId | string or null | áno | |
campaignId | string or null | áno | |
automationId | string or null | áno | |
nodeKey | string or null | áno | |
kind | one of: test, promo, transactional | áno | |
status | one of: delivered, sent, queued, undelivered, failed, skipped | áno | |
skipReason | SmsSkipReason | áno | |
text | string | áno | |
parts | number | áno | |
encoding | SmsEncoding | áno | |
price | string or null | áno | |
currency | BillingCurrency | áno | |
error | string | áno | |
createdAt | string | áno | |
sentAt | string or null | áno | |
deliveredAt | string or null | áno |
SmsPreview
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
text | string | áno | |
encoding | SmsEncoding | áno | |
length | number | áno | |
parts | number | áno | |
maxParts | number | áno | |
tooLong | boolean | áno | |
perPart | string or null | áno | |
currency | BillingCurrency | áno | |
footer | string | áno |
SmsPreviewInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
body | string | áno | |
stripDiacritics | boolean | nie | |
promo | boolean | nie | Promotional (default): with the opt-out footer. |
country | one of: CZ, SK | nie | |
senderId | string or null | nie | The sender whose price perPart shows: missing = the settings' sender, null = the system number. |
SmsPrices
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
currency | BillingCurrency | áno | |
perPart | object | áno | One part from the system number or a registered name, net. |
perPartName | object | áno | One part from an unregistered name, net. |
senderMonthly | string or null | áno | Registered name: monthly fee and one-time setup fee, net. |
senderSetup | string or null | áno |
SmsSender
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
kind | one of: text, unregistered | áno | |
value | string | áno | 1 to 11 characters: letters without diacritics, digits, space, dot, hyphen and underscore (at least one letter). |
status | one of: approved, requested, rejected, revoked | áno | |
note | string | áno | |
reason | string | áno | The platform admin's reason of a refusal or revocation; 'blocklist' = the name waits for the platform admin. |
requestedAt | string | áno | |
decidedAt | string or null | áno |
SmsSenderInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
value | string | áno | |
kind | one of: text, unregistered | áno | |
note | string | nie |
SmsSettings
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
available | boolean | áno | |
reason | SmsUnavailableReason | áno | |
consentPurposeId | string or null | áno | |
defaultCountry | SmsCountry | áno | |
senderId | string or null | áno | null = the shared system number. |
testNumbers | array of string | áno | |
quietHours | boolean | áno | Promotional SMS only from 8:00 to 20:00 Prague time. |
customerWindow | one of: months_12, like_email | áno | How long the customer soft opt-in lasts: months_12 (12 months from the last purchase, shorter when the shop's e-mail exception is shorter) or like_email (exactly the e-mail customer exception of each shop). |
senders | array of SmsSender | áno | |
prices | SmsPrices or null | áno | |
billed | boolean | áno | SMS billing of the account: false = the platform made the SMS free (still metered). |
optoutFooter | string | áno | Example of the footer the server appends to promotional SMS. |
usage | object | áno |
SmsSkipReason
one of: `, cancelled, price, blacklisted, disabled, optout, no_consent, no_phone, cap, invalid_number, quiet_hours`
SmsStats
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
from | string | nie | The days the statistics count (Prague's calendar, both included). |
to | string | nie | |
totals | object | áno | |
days | array of object | áno | |
cost | array of object | áno | |
campaigns | array of object | áno |
SmsUnavailableReason
one of: `, platform_off, tenant_off, no_paid_plan, not_configured`
Subscription
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
state | SubscriptionState | áno | |
inTrial | boolean | áno | |
trialEndsAt | string or null | áno | |
trialDaysLeft | number | áno | |
period | BillingPeriod | áno | |
currency | BillingCurrency | áno | |
tier | PriceTier or null | áno | |
manual | boolean | áno | |
customMonthly | string or null | áno | |
monthly | string or null | áno | |
periodNet | string or null | áno | |
annualMonthly | string or null | áno | |
annualSaving | string or null | áno | |
annualDiscountPct | string | áno | |
vatRate | string | áno | |
contacts | number | áno | |
limit | number or null | áno | |
overBy | number | áno | |
contactsChange30d | number or null | áno | |
sentMonth | number | áno | |
free | boolean | áno | |
freeEmailsMonth | number or null | áno | E-mails a month of the free tier (null on a paid tier: a paid tier has no e-mail limit). |
nextInvoiceOn | string or null | áno | Day the next invoice is issued: at once for the first one, the 2nd of the month for a renewal. |
nextPeriodOn | string or null | áno | First day of the next (or the waiting) period: a planned lower tier and the renewal apply from it. |
daysToInvoice | number or null | áno | |
periodStart | string or null | áno | |
periodEnd | string or null | áno | |
cancelAt | string or null | áno | |
billingBlock | BillingBlock | áno | |
billingExempt | boolean | áno | |
sendingState | string | áno | |
paymentMethod | one of: bank, card | áno | |
overageTotal | string or null | áno | |
overageDays | number | áno | |
currentSpend | string or null | áno | |
unpaidInvoices | number | áno | |
overdueInvoices | number | áno | |
dueSoonInvoices | number | nie | Unpaid invoices from the day of the reminder before their due date on (overdue ones included): the dashboard warns only about these (AUDIT-1202-02). |
otherDueSoonInvoices | number | nie | dueSoonInvoices and overdueInvoices without the first invoice of an order that cancels itself (it has its own warning, FirstPaymentInvoice.overdue; review of batch 24, finding 4). |
otherOverdueInvoices | number | nie | overdueInvoices without the first invoice of an order that cancels itself (as otherDueSoonInvoices). |
agencyDueSoonInvoices | number | nie | Of dueSoonInvoices: invoices of this client account billed to its agency (the agency pays them; the client's people do not see them). Review of batch 24 round 2, finding 5. |
owed | array of object | nie | Unpaid invoices of the account (without those billed to its agency) per currency, never added up (A-1202-37). |
ordered | boolean | áno | A paid tier is ordered (in the trial: it starts when the trial ends). |
dueDays | number | áno | |
firstInvoice | BillingSlice or null | áno | A tier ordered in the trial: its first invoice on the day the trial ends, for the rest of that month (pro rata). |
trialLimits | TrialLimits or null | áno | Limits of a capped self-serve trial (free tier limits and the sending caps); null without one. |
firstPaymentPending | boolean | nie | A tariff ordered from the self-serve trial keeps the trial limits until its first invoice is paid (terms 1.2). |
firstPaymentInvoice | FirstPaymentInvoice or null | nie | The invoice whose payment starts the tariff (number = variable symbol); null while it is a draft. |
orderCancel | OrderCancelInfo or null | nie | An order that waits for its first payment and can be cancelled (by the customer unless partlyPaid, by the billing job on cancelOn): the last day to pay and where the account goes when it is cancelled now; null without such an order. |
nextTier | PriceTier or null | áno | Snížit tarif: the lower tier planned from the next period (null = none). |
nextBilling | object or null | áno | The next invoice of a running subscription: the tier (the planned lower one) and the overage of a monthly one. |
nextPeriodChange | one of: monthly, annual, null | nie | Monthly or annual chosen for the next period (Přejít na roční / měsíční platbu; terms 5.7): the running period keeps its own; null = no change. |
periodSwitch | object or null | nie | saving = the yearly saving of the tier that runs in that period, for a switch to annual (A-1202-39). |
overageFrom | string or null | áno | First day of the overage not billed yet (null outside a paid period). |
overage | array of OverageDay | áno | Days over the tier since overageFrom, billed with the next invoice. |
tierAdvice | TierAdvice or null | nie | More contacts than the tier: the price of one contact over it, the month's overage today and a cheaper larger tier (owner 26 Oct 2026); null when the contacts fit. |
SubscriptionState
one of: trial, active, past_due, suspended, cancelled, expired
TierAdvice
What contacts over the tier cost a month and whether a larger tier would cost less.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
over | number | áno | |
unit | string | áno | Net monthly price of one contact of the tier (tier price / its contacts), e.g. "0.149". |
overageMonth | string | áno | |
current | string | áno | The tier price plus overageMonth. |
better | object or null | áno |
TrialLimits
The limits of a capped self-serve trial (platform settings): an order ends the trial and the tier runs at once.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
contacts | number | áno | |
emailsMonth | number | áno | |
hourly | number | áno | |
daily | number | áno | |
firstCampaign | number | áno |
VatCheck
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
required | boolean | áno | An EU company outside CZ that says it is a VAT payer: only then is the VAT ID checked. |
state | VatCheckState | áno | |
vatId | string | áno | |
checkedAt | string or null | áno | |
name | string | áno | Name and address as VIES returned them; requestIdentifier = the consultation number (evidence). |
address | string | áno | |
requestIdentifier | string | áno | |
error | string | áno | |
lastValidAt | string or null | áno | |
fallbackUntil | string or null | áno | Until when an unavailable VIES still allows reverse charge (last valid check + 30 days). |
reverseCharge | boolean | áno |
VatCheckState
one of: not_needed, unchecked, valid, invalid, unavailable
WebTrackingEvent
One row of the grid Identifikováni (a tracked event of a contact).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
type | one of: custom, visit, identification, cart | áno | |
data | map of any | áno | |
at | string | áno | |
shopId | string or null | áno | |
source | string | áno | |
contactId | string | áno | |
email | string | áno |
WebTrackingShop
A shop's Používat switch, whether a scenario listens to its carts, the script.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | áno | |
code | string | áno | |
name | string | áno | |
domain | string | áno | |
enabled | boolean | áno | |
listening | boolean | áno | |
scriptUrl | string | áno | The cart.js address for the one line in the shop's footer. |