Účet a nastavení
Reference API pro e-shopy firmy, firemní údaje, nastavení souhlasů, upozornění, štítky, webtracking, fakturaci a stav přechodu ze SmartEmailingu.
Technická reference je anglicky (stejně jako strojově čitelný dokument OpenAPI). Celou skupinu pro AI agenta načtete z /api/openapi.json?tag=Account.
Přihlášení: Authorization: Bearer pst_... nebo HTTP Basic (e-mail člena firmy a API klíč).
Operace
| Metoda | 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 přihlášení.
The active tiers and the settings of the calculator.
Odpovědi
- 200 OK:
application/jsonPriceList
List account webhooks and their events
GET /api/v1/tenants/{tenant}/account-webhooks
Oprávnění: oblast integrations, úroveň read; klíč s přístupem read nebo 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast integrations, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: event, url.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | ne | |
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 | ne | |
active | boolean | ne | |
basicAuth | object or null | ne | null removes the credentials; password '' keeps the stored password (edit only). |
Odpovědi
- 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ávnění: oblast integrations, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the webhook (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | ne | |
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 | ne | |
active | boolean | ne | |
basicAuth | object or null | ne | null removes the credentials; password '' keeps the stored password (edit only). |
Odpovědi
- 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ávnění: oblast integrations, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the webhook (string of digits). |
Odpovědi
- 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ávnění: oblast integrations, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the webhook (string of digits). |
Odpovědi
- 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ávnění: oblast billing, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast billing, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast invoices, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | Start of the period (YYYY-MM-DD local day, or ISO time where noted). |
page | query | integer | ne | Page number, from 1. default 1, min 1 |
pageSize | query | integer | ne | Items per page, 1 to 100. default 25, min 1, max 100 |
q | query | string | ne | Search text (case and diacritics insensitive). max 200 chars |
sort | query | string | ne | Sort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id). |
status | query | string | ne | Status filter. |
to | query | string | ne | End of the period (YYYY-MM-DD local day, or ISO time where noted). |
type | query | string | ne |
Odpovědi
- 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ávnění: oblast invoices, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the invoice (string of digits). |
Odpovědi
- 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ávnění: oblast invoices, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the invoice (string of digits). |
Odpovědi
- 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ávnění: oblast invoices, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | Page number, from 1. default 1, min 1 |
pageSize | query | integer | ne | Items per page, 1 to 100. default 25, min 1, max 100 |
Odpovědi
- 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ávnění: oblast billing, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast billing, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | |
period | query | string | ne | |
tierId | query | string | ne |
Odpovědi
- 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ávnění: oblast content, úroveň read; klíč s přístupem read nebo full
Every graphic identity of the account: the default one first, then by name. {items: [...]}
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ne | |
shopId | string or null | ne | |
active | boolean | ne | |
look | object | ne | |
logo | BrandLogo | ne | |
primaryColor | string | ne |
Odpovědi
- 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ávnění: oblast content, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the identity (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the identity (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ne | |
shopId | string or null | ne | |
active | boolean | ne | |
look | object | ne | |
logo | BrandLogo | ne | |
primaryColor | string | ne |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Deletes an inactive identity that is not the default one: 409 conflict default / active otherwise. 204.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the identity (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
The identity becomes the default one of the account (and active).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the identity (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
A copy of the identity ("<name> (2)"), active, not the default. 201 with the copy.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the identity (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo full
The company holding the account: legal name, IČO, DIČ / IČ DPH and the kind of business (settings Firma).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ne | |
companyId | string | ne | |
vatId | string | ne | |
businessType | one of: eshop, web, other | ne | What the company does: the wording and the suggestions of the administration follow it. |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full · Nástroj MCP: update_consent_settings
Sets the customer exception months of a shop (0 to 120, 0 = off, null = legal default).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
months | number or null | ano |
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne |
Odpovědi
- 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ávnění: oblast labels, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast labels, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: color, name.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ano | |
color | string | ano |
Odpovědi
- 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ávnění: oblast labels, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the label (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ne | |
color | string | ne |
Odpovědi
- 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ávnění: oblast labels, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the label (string of digits). |
Odpovědi
- 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ávnění: oblast labels, úroveň full; klíč s přístupem full
{lists?, templates?, forms?, automations?, segments?, campaigns?: [ids]} get the label (segments and campaigns too). Each kind needs full rights in its area.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the label (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
lists | array of string | ne | |
templates | array of string | ne | |
forms | array of string | ne | |
automations | array of string | ne | |
segments | array of string | ne | |
campaigns | array of string | ne |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem 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}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | any | ne |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem 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}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | any | ne | |
contacts | any | ano |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem 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}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | boolean | ano |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem 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}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
apply | any | ne | |
seBackup | any | ne |
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: list_notifications
Notifications of the account (import finished, campaign sent or paused, automation paused...), newest first, with the unread count.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo full
{ids: [...]} removes those notifications, {all: true} every notification of the tenant.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
object
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: ids.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ids | array of string | ano |
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo full
{ids: [...]}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: ids.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ids | array of string | ano |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo full
The onboarding wizard's state (core/onboarding.py).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
step | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | ne | |
shopId | string | ne | |
skip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | ne | |
unskip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | ne | |
complete | boolean | ne | |
dismiss | boolean | ne |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo full
State names and shipping method names of one shop's orders with their meaning, origin and a suggestion.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: shopId.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | ano | |
states | array of object | ne | |
shipping | array of object | ne |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo full
How many state names and shipping methods of the account's orders are not mapped yet (the notice).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast contacts, úroveň read; klíč s přístupem read nebo full
Poštárna has no RFM model yet; whether the tenant asked for it.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem full
Records the request (once), switches nothing on.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
object
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo full
Background work of the tenant that runs or waits to run (core/jobs.running_actions).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast contacts, úroveň read; klíč s přístupem read nebo 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem 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}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: ongoing.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ongoing | boolean | ano |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo 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).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full · Nástroj MCP: update_shop_settings
Changes the sending company of a shop.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
companyId | string | ne | |
companyName | string | ne | |
companyAddress | string | ne |
Odpovědi
- 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ávnění: oblast null, úroveň read; klíč s přístupem read nebo full · Nástroj MCP: list_shops
Shops (e-shops) of the account with id, code, domain, currency, language.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
code | string | ano | |
displayName | string | ano | |
domain | string | ano | |
webDisplay | string | ne | |
language | Lang | ano | |
currency | Currency | ano | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | ne | |
senderName | string | ne | |
senderEmail | string | ne | |
linkDomain | string | ne | |
companyName | string | ano | |
companyId | string | ne | |
companyAddress | string | ne |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
companyId | string | ne | |
companyName | string | ne | |
currency | one of: CZK, EUR | ne | |
companyAddress | string | ne | |
displayName | string | ne | |
domain | string | ne | |
webDisplay | string | ne | |
language | one of: cs, sk | ne | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | ne | |
senderName | string | ne | |
senderEmail | string | ne | |
linkDomain | string | ne |
Odpovědi
- 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ávnění: oblast content, úroveň read; klíč s přístupem read nebo 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).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
logoUrl | string | ne | |
logoLink | string | ne | Where the logo leads; defaults to the shop's web. |
logoWidth | number or null | ne | |
primaryColor | string | ne | |
secondaryColor | string | ne | |
textColor | string | ne | |
backgroundColor | string | ne | |
fontFamily | string | ne | |
headingFontFamily | string | ne | |
identityId | string or null | ne | The graphic identity the editor uses for the shop (its own active one, else the default one); null without. |
logoDarkUrl | string | ne | The dark logo (the light one when the identity uses it for dark too); '' without. |
look | object | ne | The identity's e-mail styles a new e-mail starts with ({} without an identity). |
Odpovědi
- 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ávnění: oblast contacts, úroveň full; klíč s přístupem 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.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
language | Lang | ano |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Odpovědi
- 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ávnění: oblast webtracking, úroveň read; klíč s přístupem read nebo full
The shops with their one line and connection state (module notes).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast webtracking, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json): Required by the server: checkoutConsent.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
checkoutConsent | boolean | ano |
Odpovědi
- 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ávnění: oblast webtracking, úroveň full; klíč s přístupem full
The Test button (module notes): {result, url, state, seenAt}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Odpovědi
- 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ávnění: oblast integrations, úroveň read; klíč s přístupem read nebo full
{connection (null before the first connect), migration (the latest run or null)}.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast integrations, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the migration (string of digits). |
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | Page number, from 1. default 1, min 1 |
pageSize | query | integer | ne | Items per page, 1 to 100. default 25, min 1, max 100 |
q | query | string | ne | Search text (case and diacritics insensitive). max 200 chars |
status | query | string | ne | Status filter. |
Odpovědi
- 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ávnění: oblast campaigns, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: name.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ano | |
body | string | ne | |
stripDiacritics | boolean | ne | |
senderId | string or null | ne | |
templateId | string or null | ne | |
listIds | array of string | ne | |
segmentId | string or null | ne |
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms campaign (string of digits). |
Odpovědi
- 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ávnění: oblast campaigns, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms campaign (string of digits). |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ne | |
body | string | ne | |
stripDiacritics | boolean | ne | |
senderId | string or null | ne | |
templateId | string or null | ne | |
listIds | array of string | ne | |
segmentId | string or null | ne |
Odpovědi
- 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ávnění: oblast campaigns, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms campaign (string of digits). |
Odpovědi
- 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ávnění: oblast campaigns, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms campaign (string of digits). |
Tělo požadavku (application/json)
object
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms campaign (string of digits). |
Tělo požadavku (application/json)
object
Odpovědi
- 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ávnění: oblast campaigns, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms campaign (string of digits). |
Tělo požadavku (application/json): Required by the server: confirmCount.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
confirmCount | number | ano | |
scheduledAt | string or null | ne |
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo 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).
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | |
contactId | query | string | ne | |
page | query | integer | ne | Page number, from 1. default 1, min 1 |
pageSize | query | integer | ne | Items per page, 1 to 100. default 25, min 1, max 100 |
status | query | string | ne | Status filter. |
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: body.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
body | string | ano | |
stripDiacritics | boolean | ne | |
promo | boolean | ne | Promotional (default): with the opt-out footer. |
country | one of: CZ, SK | ne | |
senderId | string or null | ne | The sender whose price perPart shows: missing = the settings' sender, null = the system number. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: kind, value.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
value | string | ano | |
kind | one of: text, unregistered | ano | |
note | string | ne |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the sms sender (string of digits). |
Odpovědi
- 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ávnění: oblast settings, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
consentPurposeId | string or null | ne | |
defaultCountry | one of: CZ, SK | ne | |
senderId | string or null | ne | |
testNumbers | array of string | ne | |
quietHours | boolean | ne | |
customerWindow | one of: months_12, like_email | ne |
Odpovědi
- 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ávnění: oblast campaigns, úroveň read; klíč s přístupem read nebo full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | 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 | ne | 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 | ne | End of the period (YYYY-MM-DD local day, or ISO time where noted). |
Odpovědi
- 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ávnění: oblast settings, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Tělo požadavku (application/json): Required by the server: body, number.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
number | string | ano | |
body | string | ano | |
stripDiacritics | boolean | ne | |
senderId | string or null | ne |
Odpovědi
- 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ávnění: oblast webtracking, úroveň read; klíč s přístupem read nebo full
Shops with the Používat switch, whether a scenario listens to their carts, and the script address.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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. |
Odpovědi
- 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ávnění: oblast contacts, úroveň read; klíč s přístupem read nebo full
?type=visit|identification|cart|custom, ?q= (e-mail), ?shopId=, Období (?preset= or ?from=&to=), paging.
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ne | Start of the period (YYYY-MM-DD local day, or ISO time where noted). |
page | query | integer | ne | Page number, from 1. default 1, min 1 |
pageSize | query | integer | ne | 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 | ne | 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 | ne | Search text (case and diacritics insensitive). max 200 chars |
shopId | query | string | ne | |
to | query | string | ne | End of the period (YYYY-MM-DD local day, or ISO time where noted). |
type | query | string | ne |
Odpovědi
- 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ávnění: oblast webtracking, úroveň full; klíč s přístupem full
Parametry
| Název | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | ano | 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 | ano | Id of the shop (string of digits). |
Tělo požadavku (application/json): Required by the server: enabled.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | ano |
Odpovědi
- 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émata
AccountCompany
The company holding the account (GET /tenants/{t}/company).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ano | |
companyId | string | ano | |
vatId | string | ano | |
businessType | one of: eshop, web, other | ano | 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 | ano | |
url | string | ano | |
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 | ano | |
active | boolean | ano | false = switched off (by hand, or by itself after errorsLimit errors in a row). |
silent | boolean | ano | Accepted for compatibility, never fires yet. |
timeoutS | number | ano | |
basicLogin | string or null | ano | HTTP Basic user name; the password is never answered. |
lastResponseCode | number or null | ano | |
lastCallAt | string or null | ano | |
errorsInRow | number | ano | |
errorsLimit | number | ano | |
viaApi | boolean | ano | Registered with an API key (API v3). |
createdAt | string | ano |
AccountWebhookInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | ne | |
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 | ne | |
active | boolean | ne | |
basicAuth | object or null | ne | 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 | ano | |
status | number or null | ano | |
ms | number or null | ano | |
error | string | ano |
AccountWebhooks
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
items | array of AccountWebhook | ano | |
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 | ano | |
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 | ano | |
limit | number | ano |
AppNotification
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
type | NotificationType | ano | |
params | map of string or number | ano | Values for the placeholders of notifications.type.<type>; numbers are formatted by the UI. |
important | boolean | ano | |
read | boolean | ano | |
createdAt | string | ano |
BankDetails
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
account | string | ano | '' when the account has no local number (EUR paid to the CZK account by IBAN). |
iban | string | ano | |
bic | string | ne | BIC/SWIFT, '' or absent when not configured (older servers and the demo omit it). |
viaCzk | boolean | ne | 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 | ano | |
priceList | PriceList | ano | |
profile | BillingProfile | ano | |
bank | object | ano | null = the platform has not set that account yet ("nenastaveno"). |
cardPayment | soon | ano | |
support | object | ano | |
agency | object or null | ne | 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 | ano | |
lastName | string | ano | |
billingEmail | string | ano | |
phone | string | ano | |
isCompany | boolean | ano | |
country | string | ano | |
companyName | string | ano | |
companyId | string | ano | |
vatId | string | ano | |
vatPayer | boolean | ano | |
street | string | ano | |
city | string | ano | |
zip | string | ano | |
currency | BillingCurrency | ano | |
invoiceEmail | string | ne | 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 | ne | |
complete | boolean | ne | |
vatCheck | VatCheck | ne | The VIES check of the VAT ID (server only; never sent back on save). |
BillingQuote
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
tier | PriceTier | ano | |
currency | BillingCurrency | ano | |
period | BillingPeriod | ano | |
monthly | string | ano | |
net | string | ano | |
vatRate | string | ano | |
vat | string | ano | |
total | string | ano | |
reverseCharge | boolean | ano | |
annualSaving | string | ano | |
beforeDiscount | string or null | ano | |
upgradeNet | string or null | ano | |
change | one of: new, upgrade, downgrade, same | ano | new = a new subscription (first invoice below), upgrade now, downgrade from the next period, same tier. |
contacts | number | ano | |
fits | boolean | ano | The contacts fit the tier now (a downgrade is refused otherwise). |
firstStart | string or null | ano | |
firstEnd | string or null | ano | |
firstNet | string or null | ano | |
firstVat | string or null | ano | |
firstTotal | string or null | ano |
BillingSlice
A period and its net price.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
on | string | ano | |
start | string | ano | |
end | string | ano | |
net | string | ano |
BorderDefault
A border of an element default (MJML "1px solid #rrggbb").
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
width | number | ano | |
style | string | ano | |
color | string | ano |
BoxPadding
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
top | number | ano | |
right | number | ano | |
bottom | number | ano | |
left | number | ano |
BrandIdentity
GET /tenants/{t}/brand-identities.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
name | string | ano | |
shopId | string or null | ano | The e-shop it is for; null = every e-shop. |
isDefault | boolean | ano | |
active | boolean | ano | |
look | object | ano | |
logo | BrandLogo | ano | |
primaryColor | string | ano | Main colour of the brand ('' = none). |
createdAt | string | ano | |
updatedAt | string | ano |
BrandIdentityInput
POST / PATCH body of a graphic identity: 400 name, shopId, look, logo.*, primaryColor; 409 name, limit, active.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ne | |
shopId | string or null | ne | |
active | boolean | ne | |
look | object | ne | |
logo | BrandLogo | ne | |
primaryColor | string | ne |
BrandLogo
Light and dark logo of a graphic identity.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
url | string | ne | |
link | string | ne | Where the logo leads. |
width | number | ne | px, 20 to 800. |
darkUrl | string | ne | |
darkSameAsLight | boolean | ne | 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 | ano | |
reasons | array of CancelReason | ano |
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 | ano | |
code | string | ano | |
language | Lang | ano | |
months | number or null | ano | |
isDefault | boolean | ano |
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 | ne | |
rowRadius | number | ne | |
rowBorder | BorderDefault or null | ne | |
rowBorderColor | string | ne | 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 | ne | 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 | ne | |
rowGap | number | ne | |
rowBackground | string | ne | |
innerRowPadding | BoxPadding | ne | |
innerRowRadius | number | ne | |
innerRowBorder | BorderDefault or null | ne | |
columnPadding | BoxPadding | ne | |
columnRadius | number | ne | |
columnBorder | BorderDefault or null | ne | |
innerColumnPadding | BoxPadding | ne | |
innerColumnRadius | number | ne | |
innerColumnBorder | BorderDefault or null | ne | |
textPadding | BoxPadding | ne | |
imagePadding | BoxPadding | ne | |
imageWidth | number | ne | % of the column (100 = the whole width). |
imageRadius | number | ne | |
videoPadding | BoxPadding | ne | |
videoWidth | number | ne | |
videoRadius | number | ne | |
buttonType | one of: link, primary, secondary | ne | |
buttonPadding | BoxPadding | ne | |
buttonInnerPadding | object | ne | |
buttonRadius | number | ne | |
buttonFullWidth | boolean | ne | |
buttonBorder | BorderDefault or null | ne | |
dividerPadding | BoxPadding | ne | |
dividerWidth | number | ne | |
dividerThickness | number | ne | |
dividerStyle | one of: solid, dashed, dotted | ne | |
spacerHeight | number | ne |
ElementDefaultsMobile
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
rowPadding | BoxPadding | ne | |
columnPadding | BoxPadding | ne | |
textPadding | BoxPadding | ne | |
imagePadding | BoxPadding | ne | |
imageWidth | number | ne | |
videoWidth | number | ne | |
buttonPadding | BoxPadding | ne | |
dividerPadding | BoxPadding | ne | |
dividerWidth | number | ne | |
spacerHeight | number | ne |
Error
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
error | object | ano |
{
"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 | ano | |
number | string | ano | |
currency | one of: CZK, EUR | ano | |
due | string | ano | |
dueDate | string | ano | |
payBy | string or null | ne | 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 | ne | The day the unpaid order is cancelled by itself (some days after payBy: a transfer takes time); null as payBy. |
overdue | boolean | ne | The invoice is past its due date (the dashboard's first-order warning). |
Invoice
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
number | string | ano | |
kind | one of: invoice, credit_note | ano | |
purpose | one of: upgrade, subscription, overage, manual, credit | ano | |
currency | BillingCurrency | ano | |
net | string | ano | |
vat | string | ano | |
total | string | ano | |
vatRate | string | ano | |
reverseCharge | boolean | ano | |
paidAmount | string | ano | |
state | one of: cancelled, issued, paid | ano | |
status | InvoiceStatus | ano | |
issueDate | string | ano | |
dueDate | string | ano | |
paidAt | string or null | ano | |
sentAt | string or null | ano | |
periodStart | string | ano | |
periodEnd | string | ano | |
days | number | ano | Days after the due date (overdue) or until it (unpaid). |
creditFor | string or null | ano | |
reminders | number | ano | |
hasQr | boolean | ano | |
buyerName | string | ano | |
czk | object or null | ne | The VAT in CZK of an EUR document with Czech VAT (ČNB rate of the taxable date, frozen at issue); null otherwise. |
tenant | object | ne |
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 | ano | |
name | string | ano | |
color | string | ano | |
used | number | ano | |
createdAt | string | ano |
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 | ne | |
templates | array of string | ne | |
forms | array of string | ne | |
automations | array of string | ne | |
segments | array of string | ne | |
campaigns | array of string | ne |
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 | ano | |
from | string | ne | |
to | string | ne | |
angle | number | ne | Gradient direction in degrees (180 = top to bottom). |
image | string | ne | |
fit | one of: cover, repeat, original | ne | Picture: cover the area, tile, or the original size once. |
MagicStyles
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
padding | BoxPadding | ne | Space around the e-mail body, desktop and mobile. |
paddingMobile | BoxPadding | ne | |
darkMode | boolean | ne | Dark mode in the recipient's app (prefers-color-scheme) with its colours. |
darkBackgroundColor | string | ne | |
darkContentColor | string | ne | |
darkTextColor | string | ne | |
darkHeadingColor | string | ne | |
darkLinkColor | string | ne | |
darkButtonColor | string | ne | Dark mode colours of the buttons and the divider (each colour has its "(tmavé schéma)" variant). |
darkButtonTextColor | string | ne | |
darkButton2Color | string | ne | |
darkButton2TextColor | string | ne | |
darkDividerColor | string | ne | |
background | MagicBackground | ne | A gradient or a picture over the colour (backgroundColor / contentColor stay the fallback of clients without head styles). |
bodyBackground | MagicBackground | ne | |
button2Color | string | ne | Secondary button and divider colours. |
button2TextColor | string | ne | |
button2BorderColor | string | ne | |
buttonBorderColor | string | ne | |
dividerColor | string | ne | |
headingColors | object | ne | Own colours of Nadpis H1, H2 and H3 (ED-07); missing = headingColor. |
darkButtonBorderColor | string | ne | Dark variants of the button borders (ED-07). |
darkButton2BorderColor | string | ne | |
innerRowColor | string | ne | 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 | ne | |
innerColumnColor | string | ne | |
elementColor | string | ne | |
darkColors | object | ne | Dark variants of the slots without an older dark field (editor/magic/colorScheme.ts). |
colorsMobile | object | ne | Phone colours (light and dark) under 480 px; missing = desktop. |
darkColorsMobile | object | ne | |
footerDefault | boolean | ne | System footer: its own default look instead of the e-mail's, and no background. |
footerTransparent | boolean | ne | |
text | object | ne | Text styles per kind; missing keys = defaults. Mobile values override desktop ones under 480 px. |
textMobile | object | ne | |
defaults | ElementDefaults | ne | Defaults of new elements (editor/magic/elementDefaults.ts applies them). |
defaultsMobile | ElementDefaultsMobile | ne | 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 | ano | |
unread | number | ano |
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 | ne | |
shopId | string | ne | |
skip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | ne | |
unskip | one of: shop, domain, script, feeds, contacts, done, sender, template, campaign | ne | |
complete | boolean | ne | |
dismiss | boolean | ne |
OnboardingState
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
visible | boolean | ano | Shown on the dashboard (not finished, not closed; a company without a row only while it has no contact). |
step | OnboardingStep | ano | |
skipped | array of OnboardingStep | ano | |
completedAt | string or null | ano | |
dismissedAt | string or null | ano | |
shop | object or null | ano | |
steps | object | ano | Done from the data itself. |
stepList | array of OnboardingStep | ne | The steps of this company in order (a company without an e-shop: ONBOARDING_PLAIN_STEPS); older answers: ONBOARDING_STEPS. |
domainWaiting | string | ne | The first sending domain that waits for its DNS records ('' = none entered or one is verified). |
firstSteps | object | ne | Done steps of FIRST_STEPS, from the data (core/onboarding.first_steps). |
firstStepsVisible | boolean | ne | False once the first e-mail went out to a contact: the list is not shown any more. |
feeds | object | ano | |
contacts | number | ano | |
progress | number | ano | Steps of stepList (without done) that are done or skipped. |
total | number | ano |
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 | ano | Money already came for an invoice: only support cancels the order. |
payBy | string or null | ano | |
cancelOn | string or null | ano | |
backTo | one of: trial, free | ano | Where the account goes: back to its trial (until trialEndsAt, with the trial's limits) or to the free tier. |
trialEndsAt | string or null | ano | |
freeContacts | number | ano | |
freeEmails | number | ano |
OrderMapping
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | ano | |
states | array of one of: other, cancelled, unpaid, new, paid, processing, shipped, pickup, delivered, complaint, returned | ano | |
shippingTypes | array of one of: other, pickup_point, courier, personal_pickup, digital | ano | |
stateNames | array of OrderStateName | ano | |
shippingMethods | array of ShippingMethodName | ano | |
unmapped | object | ano | |
changed | object | ne | 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 | ano | |
states | array of object | ne | |
shipping | array of object | ne |
OrderMappingSummary
Unmapped names across the account's shops (the notice "Přiřaďte stavy objednávek").
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
orders | boolean | ano | |
unmappedStates | number | ano | |
unmappedShipping | number | ano | |
shops | array of object | ano |
OrderStateName
A state name seen in one shop's orders (Nastavení › Stavy objednávek a dopravy).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ano | Exactly as the e-shop exports it (Shoptet may truncate it). |
orders | number | ano | |
lastOrderAt | string or null | ano | |
state | one of: other, cancelled, unpaid, new, paid, processing, shipped, pickup, delivered, complaint, returned | ano | |
origin | MappingOrigin | ano | |
suggestion | one of: other, cancelled, unpaid, new, paid, processing, shipped, pickup, delivered, complaint, returned, null | ano | 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 | ano | |
contacts | number | ano | |
over | number | ano | |
fromMax | number | ano | |
toMax | number or null | ano | |
unit | string or null | ano | |
days | number or null | ano | |
amount | string | ano |
Payment
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
invoiceId | string | ano | |
invoiceNumber | string | ano | |
amount | string | ano | |
currency | BillingCurrency | ano | |
paidOn | string | ano | |
method | one of: bank, card, credit_note, manual | ano | |
overpaid | object or null | ne | 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 | ano | 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 | ano | |
annualDiscountPct | string | ano | |
vatRate | string | ano | |
trialDays | number | ano | |
freeContacts | number | ano | |
freeEmailsMonth | number | ano | |
currencies | array of BillingCurrency | ano |
PriceTier
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
maxContacts | number | ano | |
monthly | string or null | ano | Net a month in the subscription's currency; null = individual price. |
monthlyCzk | string or null | ano | |
monthlyEur | string or null | ne | |
free | boolean | ano | |
active | boolean | ano |
RfmState
RFM analysis: no model in Poštárna yet; whether the company asked for it.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | ano | |
requested | boolean | ano | |
requestedAt | string or null | ano |
RunningAction
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
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 | ano | |
status | one of: queued, running | ano | |
since | string | ano |
SeConnection
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
login | string | ano | |
keyHint | string | ano | First three characters of the key (the key itself is never returned). |
accountId | string or null | ano | |
verifiedAt | string | ano | |
lists | map of SeListChoice | ano | |
options | object | ano | |
syncEnabled | boolean | ano | Hourly sync of the parallel run. |
syncChangedAt | string or null | ano | |
lastSyncAt | string or null | ano | |
lastSync | map of string or number | ano | |
syncStatus | one of: ok, failed, skipped, late | ne | ok, skipped (a switch run was queued or running), failed (syncProblem says why) or late (no sync for 3 hours). |
syncProblem | string | ne | credentials, unavailable, dataKey, error, migration_running or no_sync. |
syncProblemAt | string or null | ne |
SeListChoice
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
role | one of: optin, member, unsub, skip | ano | |
shop | string | ano | Shop code (cz, sk). |
name | string | ano |
SeMigration
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
status | one of: queued, running, failed, finished | ano | |
phase | one of: `, contacts, purposes, templates, automations, fields, suppressions, apply, report` | ano | |
progress | object | ano | |
plan | object | ano | |
counts | map of number | ano | |
report | SeReport or null | ano | |
failed | boolean | ano | |
stopped | boolean | ne | The worker stopped before the run finished; starting it again resumes it. |
failure | one of: `, unavailable, error, stopped, credentials, answer, dataKey, connection` | ne | The kind of a failed run (SE_RUN_FAILURES), '' otherwise; never the technical text. |
createdAt | string | ano | |
startedAt | string or null | ano | |
finishedAt | string or null | ano |
SeProblem
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
code | one of: blacklistMissing, hardbounceMissing, unsubscribeMissing, listUnsubscribeMissing, suppressionMissing, duplicatesMerged, invalidWithOptOut, listUnsubscribeNotInPostarna, erased, formsWithoutList, webhooksUnsupported, webhooksPassword | ano | |
count | number | ano | |
blocking | boolean | ano | true = Poštárna must not send yet (readyToSend false). |
SeReport
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
rows | array of SeReportRow | ano | |
lists | array of object | ano | |
skipped | map of number | ano | Contacts not taken over and why (not_in_mapped_lists, invalid_address). |
mapping | map of number | ano | |
merged | object | ne | SmartEmailing records merged into one contact because their addresses are the same. |
problems | array of SeProblem | ne | |
suppressionDiff | object | ano | |
readyToSend | boolean | ano | 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 | ano | |
se | number | ano | |
postarna | number | ano | |
created | number | ne | |
skipped | number | ne | |
archived | number | ne | |
eventsSaved | number | ne | history (MG-05): events of SE's campaigns kept on Poštárna's contacts. |
imagesFailed | number | ne | |
failed | number | ne | |
noList | number | ne | forms: SE forms without a list taken over; webhooks: SMS events not taken, logins to enter again. |
unsupported | number | ne | |
basicAuth | number | ne |
SeState
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
connection | SeConnection or null | ano | |
migration | SeMigration or null | ano |
ShippingMethodName
A shipping method name seen in one shop's orders.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | ano | |
orders | number | ano | |
lastOrderAt | string or null | ano | |
type | one of: `, other, pickup_point, courier, personal_pickup, digital` | ano | |
origin | MappingOrigin | ano | |
suggestion | one of: other, pickup_point, courier, personal_pickup, digital, null | ano |
Shop
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
code | string | ano | cz, sk (ShopSettings.code) |
displayName | string | ano | |
domain | string | ano | |
currency | Currency | ano | |
language | Lang | ano | |
active | boolean | ne | false = switched off in settings E-shopy (hidden from the switcher and pickers); absent = active. |
contactLanguage | one of: cs, sk | ne | 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 | ne |
ShopBrand
Brand identity of an e-shop: the Logo element and predefined sections use it.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
logoUrl | string | ano | |
logoLink | string | ano | Where the logo leads; defaults to the shop's web. |
logoWidth | number or null | ano | |
primaryColor | string | ano | |
secondaryColor | string | ano | |
textColor | string | ano | |
backgroundColor | string | ano | |
fontFamily | string | ano | |
headingFontFamily | string | ano | |
identityId | string or null | ne | The graphic identity the editor uses for the shop (its own active one, else the default one); null without. |
logoDarkUrl | string | ne | The dark logo (the light one when the identity uses it for dark too); '' without. |
look | object | ne | 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 | ano | |
intervalS | number | ano | Seconds between automatic runs; 0 = only by hand. |
ShopDetail
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
webDisplay | string | ano | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | ano | |
senderName | string | ano | |
senderEmail | string | ano | |
linkDomain | string | ano | Own domain of tracking and unsubscribe links; '' = the platform's. |
companyName | string | ano | |
companyId | string | ano | |
companyAddress | string | ano | |
active | boolean | ano | false = switched off in settings E-shopy (hidden from the switcher and pickers); absent = active. |
disabledAt | string or null | ano | |
createdAt | string | ano | |
connector | ShopConnector or null | ano | |
usage | ShopUsage | ano | |
locked | boolean | ano | Language and currency are fixed once the shop has contacts, orders, feeds or a sent campaign. |
id | string | ano | |
code | string | ano | cz, sk (ShopSettings.code) |
displayName | string | ano | |
domain | string | ano | |
currency | Currency | ano | |
language | Lang | ano | |
contactLanguage | one of: cs, sk | ne | 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 | ne |
ShopInput
POST /tenants/{t}/shops (code, displayName, domain, language, currency, companyName required) and PATCH (code fixed).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
code | string | ano | |
displayName | string | ano | |
domain | string | ano | |
webDisplay | string | ne | |
language | Lang | ano | |
currency | Currency | ano | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | ne | |
senderName | string | ne | |
senderEmail | string | ne | |
linkDomain | string | ne | |
companyName | string | ano | |
companyId | string | ne | |
companyAddress | string | ne |
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 | ano | |
code | string | ano | |
displayName | string | ano | |
language | Lang | ano | |
companyName | string | ano | |
companyId | string | ano | |
companyAddress | string | ano |
ShopUsage
What a shop has (GET /tenants/{t}/shops/{id}).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
contacts | number | ano | |
lists | number | ano | |
segments | number | ano | |
campaigns | number | ano | |
automationsActive | number | ano | |
feeds | number | ano | |
orders | number | ano |
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 | ano | |
url | string or null | ano | |
state | one of: live, quiet, waiting | ano | |
seenAt | string or null | ano |
SiteScriptShop
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | ano | |
code | string | ano | |
name | string | ano | |
domain | string | ano | |
webDisplay | string | ano | |
platform | one of: shoptet, woocommerce, prestashop, upgates, custom | ano | |
scriptUrl | string | ano | The postarna.js address of the one line. |
snippet | string | ano | The whole line for the shop's footer. |
state | one of: live, quiet, waiting | ano | live = the script reported within 3 days, quiet = earlier, waiting = never. |
seenAt | string or null | ano | |
seenHost | string | ano | |
checkoutConsent | boolean | ano | The script also reads the newsletter box of the checkout and the registration. |
popups | number | ano | Active pop-up and slide-in forms the script shows; active classic forms it can place. |
embeds | number | ano | |
signups | object | ano | Checkout newsletter boxes of the last 30 days by state. |
SmsCampaign
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
status | one of: cancelled, sent, draft, scheduled, sending | ano | |
scheduledAt | string or null | ano | |
startedAt | string or null | ano | |
finishedAt | string or null | ano | |
createdAt | string | ano | |
updatedAt | string | ano | |
counts | SmsCampaignCounts | ano | |
parts | number | ano | |
encoding | SmsEncoding | ano | |
cost | object | ano | |
name | string | ano | |
body | string | ano | |
stripDiacritics | boolean | ano | |
senderId | string or null | ano | |
templateId | string or null | ano | |
listIds | array of string | ano | |
segmentId | string or null | ano |
SmsCampaignCounts
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
recipients | number | ano | |
queued | number | ano | |
sent | number | ano | |
delivered | number | ano | |
undelivered | number | ano | |
failed | number | ano | |
skipped | number | ano |
SmsCountry
one of: CZ, SK
SmsEligibilityOverview
GET /sms/eligibility: counts over all contacts of the account.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
contacts | number | ano | |
withPhone | number | ano | |
eligible | number | ano | consent + customer |
consent | number | ano | |
customer | number | ano | |
optout | number | ano | |
blocked | number | ano | |
noConsent | number | ano | |
noPhone | number | ano | |
customerMonths | number or null | ano | 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 | ano | |
customerShops | array of object | ano | Per shop: months 0 off, null without a time limit. |
SmsEncoding
one of: gsm, ucs2
SmsEstimate
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
recipients | number | ano | |
skipped | object | ano | 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 | ano | 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 | ano | |
encoding | SmsEncoding | ano | |
perPart | string or null | ano | |
total | string or null | ano | |
currency | BillingCurrency | ano | |
unpriced | array of string | ano | 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 | ano | |
phone | string | ano | |
contactId | string or null | ano | |
campaignId | string or null | ano | |
automationId | string or null | ano | |
nodeKey | string or null | ano | |
kind | one of: test, promo, transactional | ano | |
status | one of: delivered, sent, queued, undelivered, failed, skipped | ano | |
skipReason | SmsSkipReason | ano | |
text | string | ano | |
parts | number | ano | |
encoding | SmsEncoding | ano | |
price | string or null | ano | |
currency | BillingCurrency | ano | |
error | string | ano | |
createdAt | string | ano | |
sentAt | string or null | ano | |
deliveredAt | string or null | ano |
SmsPreview
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
text | string | ano | |
encoding | SmsEncoding | ano | |
length | number | ano | |
parts | number | ano | |
maxParts | number | ano | |
tooLong | boolean | ano | |
perPart | string or null | ano | |
currency | BillingCurrency | ano | |
footer | string | ano |
SmsPreviewInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
body | string | ano | |
stripDiacritics | boolean | ne | |
promo | boolean | ne | Promotional (default): with the opt-out footer. |
country | one of: CZ, SK | ne | |
senderId | string or null | ne | The sender whose price perPart shows: missing = the settings' sender, null = the system number. |
SmsPrices
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
currency | BillingCurrency | ano | |
perPart | object | ano | One part from the system number or a registered name, net. |
perPartName | object | ano | One part from an unregistered name, net. |
senderMonthly | string or null | ano | Registered name: monthly fee and one-time setup fee, net. |
senderSetup | string or null | ano |
SmsSender
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | ano | |
kind | one of: text, unregistered | ano | |
value | string | ano | 1 to 11 characters: letters without diacritics, digits, space, dot, hyphen and underscore (at least one letter). |
status | one of: approved, requested, rejected, revoked | ano | |
note | string | ano | |
reason | string | ano | The platform admin's reason of a refusal or revocation; 'blocklist' = the name waits for the platform admin. |
requestedAt | string | ano | |
decidedAt | string or null | ano |
SmsSenderInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
value | string | ano | |
kind | one of: text, unregistered | ano | |
note | string | ne |
SmsSettings
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
available | boolean | ano | |
reason | SmsUnavailableReason | ano | |
consentPurposeId | string or null | ano | |
defaultCountry | SmsCountry | ano | |
senderId | string or null | ano | null = the shared system number. |
testNumbers | array of string | ano | |
quietHours | boolean | ano | Promotional SMS only from 8:00 to 20:00 Prague time. |
customerWindow | one of: months_12, like_email | ano | 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 | ano | |
prices | SmsPrices or null | ano | |
billed | boolean | ano | SMS billing of the account: false = the platform made the SMS free (still metered). |
optoutFooter | string | ano | Example of the footer the server appends to promotional SMS. |
usage | object | ano |
SmsSkipReason
one of: `, cancelled, price, blacklisted, disabled, optout, no_consent, no_phone, cap, invalid_number, quiet_hours`
SmsStats
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
from | string | ne | The days the statistics count (Prague's calendar, both included). |
to | string | ne | |
totals | object | ano | |
days | array of object | ano | |
cost | array of object | ano | |
campaigns | array of object | ano |
SmsUnavailableReason
one of: `, platform_off, tenant_off, no_paid_plan, not_configured`
Subscription
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
state | SubscriptionState | ano | |
inTrial | boolean | ano | |
trialEndsAt | string or null | ano | |
trialDaysLeft | number | ano | |
period | BillingPeriod | ano | |
currency | BillingCurrency | ano | |
tier | PriceTier or null | ano | |
manual | boolean | ano | |
customMonthly | string or null | ano | |
monthly | string or null | ano | |
periodNet | string or null | ano | |
annualMonthly | string or null | ano | |
annualSaving | string or null | ano | |
annualDiscountPct | string | ano | |
vatRate | string | ano | |
contacts | number | ano | |
limit | number or null | ano | |
overBy | number | ano | |
contactsChange30d | number or null | ano | |
sentMonth | number | ano | |
free | boolean | ano | |
freeEmailsMonth | number or null | ano | 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 | ano | Day the next invoice is issued: at once for the first one, the 2nd of the month for a renewal. |
nextPeriodOn | string or null | ano | First day of the next (or the waiting) period: a planned lower tier and the renewal apply from it. |
daysToInvoice | number or null | ano | |
periodStart | string or null | ano | |
periodEnd | string or null | ano | |
cancelAt | string or null | ano | |
billingBlock | BillingBlock | ano | |
billingExempt | boolean | ano | |
sendingState | string | ano | |
paymentMethod | one of: bank, card | ano | |
overageTotal | string or null | ano | |
overageDays | number | ano | |
currentSpend | string or null | ano | |
unpaidInvoices | number | ano | |
overdueInvoices | number | ano | |
dueSoonInvoices | number | ne | 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 | ne | 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 | ne | overdueInvoices without the first invoice of an order that cancels itself (as otherDueSoonInvoices). |
agencyDueSoonInvoices | number | ne | 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 | ne | Unpaid invoices of the account (without those billed to its agency) per currency, never added up (A-1202-37). |
ordered | boolean | ano | A paid tier is ordered (in the trial: it starts when the trial ends). |
dueDays | number | ano | |
firstInvoice | BillingSlice or null | ano | 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 | ano | Limits of a capped self-serve trial (free tier limits and the sending caps); null without one. |
firstPaymentPending | boolean | ne | 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 | ne | The invoice whose payment starts the tariff (number = variable symbol); null while it is a draft. |
orderCancel | OrderCancelInfo or null | ne | 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 | ano | Snížit tarif: the lower tier planned from the next period (null = none). |
nextBilling | object or null | ano | 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 | ne | 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 | ne | saving = the yearly saving of the tier that runs in that period, for a switch to annual (A-1202-39). |
overageFrom | string or null | ano | First day of the overage not billed yet (null outside a paid period). |
overage | array of OverageDay | ano | Days over the tier since overageFrom, billed with the next invoice. |
tierAdvice | TierAdvice or null | ne | 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 | ano | |
unit | string | ano | Net monthly price of one contact of the tier (tier price / its contacts), e.g. "0.149". |
overageMonth | string | ano | |
current | string | ano | The tier price plus overageMonth. |
better | object or null | ano |
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 | ano | |
emailsMonth | number | ano | |
hourly | number | ano | |
daily | number | ano | |
firstCampaign | number | ano |
VatCheck
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
required | boolean | ano | An EU company outside CZ that says it is a VAT payer: only then is the VAT ID checked. |
state | VatCheckState | ano | |
vatId | string | ano | |
checkedAt | string or null | ano | |
name | string | ano | Name and address as VIES returned them; requestIdentifier = the consultation number (evidence). |
address | string | ano | |
requestIdentifier | string | ano | |
error | string | ano | |
lastValidAt | string or null | ano | |
fallbackUntil | string or null | ano | Until when an unavailable VIES still allows reverse charge (last valid check + 30 days). |
reverseCharge | boolean | ano |
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 | ano | |
type | one of: custom, visit, identification, cart | ano | |
data | map of any | ano | |
at | string | ano | |
shopId | string or null | ano | |
source | string | ano | |
contactId | string | ano | |
email | string | ano |
WebTrackingShop
A shop's Používat switch, whether a scenario listens to its carts, the script.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
shopId | string | ano | |
code | string | ano | |
name | string | ano | |
domain | string | ano | |
enabled | boolean | ano | |
listening | boolean | ano | |
scriptUrl | string | ano | The cart.js address for the one line in the shop's footer. |