Páginas de catálogo

Páginas públicas de catálogo e a aparência delas.

Valores dos exemplos

Digite uma vez e todos os exemplos desta página passam a usá-los. A chave de API fica só nesta página e nunca é guardada.

GET/v1/catalog-pages

Lista as páginas públicas de catálogo.

ListarEm caso de sucesso: 200.Permissão: Ler.

Resposta

40 campos
CampoTipoSempre presente
dataarray of objectSim
data[].allowNotesbooleanSim
data[].allowNotesOnlybooleanSim
data[].assigneeIdsarray of anySim
data[].bookingPageIdnull nos exemplosSim
data[].buttonsarray of anySim
data[].createTaskbooleanSim
data[].createdAtstring (date-time)Sim
data[].currencystringSim
data[].descriptionstringSim
data[].fieldsarray of stringSim
data[].idstring (uuid)Sim
data[].itemsarray of objectSim
data[].items[].featuredbooleanSim
data[].items[].idstring (uuid)Sim
data[].items[].kindstringSim
data[].items[].maxQuantityintegerSim
data[].items[].showPricebooleanSim
data[].languagestringSim
data[].layoutstringSim
data[].namestringSim
data[].notesLabelstringSim
data[].organizationIdstring (uuid)Sim
data[].overLimitbooleanSim
data[].privacyTextstringSim
data[].publishedAtstring (date-time)Sim
data[].requireCaptchabooleanSim
data[].showBrandingbooleanSim
data[].showTotalbooleanSim
data[].slugstringSim
data[].statusstringSim
data[].submitLabelstringSim
data[].successMessagestringSim
data[].taskDueDaysintegerSim
data[].templateIdnull nos exemplosSim
data[].themeobjectSim
data[].titlestringSim
data[].updatedAtstring (date-time)Sim
data[].urlstring (uri)Sim
data[].versionintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/catalog-pages" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "data": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "slug": "…",
      "name": "Ana Lima",
      "title": "…",
      "description": "…",
      "status": "…",
      "language": "…",
      "currency": "USD",
      "layout": "…",
      "templateId": null,
      "theme": {},
      "showBranding": true,
      "fields": [],
      "items": [],
      "buttons": [],
      "allowNotes": true,
      "allowNotesOnly": true,
      "showTotal": true,
      "requireCaptcha": true,
      "submitLabel": "…",
      "notesLabel": "…",
      "successMessage": "…",
      "privacyText": "…",
      "bookingPageId": null,
      "assigneeIds": [],
      "createTask": true,
      "taskDueDays": 1,
      "version": 1,
      "createdAt": "2026-11-21T14:00:00.000Z",
      "updatedAt": "2026-11-21T14:00:00.000Z",
      "publishedAt": "2026-11-21T14:00:00.000Z",
      "overLimit": true,
      "url": "https://example.com"
    }
  ]
}

POST/v1/catalog-pages

Cria uma página de catálogo.

CriarEm caso de sucesso: 201.Permissão: Criar.

Corpo

CampoTipoObrigatórioObservações
namestringSimmin length 1 · max length 120
slugstringSimpattern ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
titlestringSimmin length 1 · max length 200
descriptionstringNãomax length 3000 · default ""
language"pt" | "en" | "es" | "fr"Nãodefault "pt"
currencystringNãodefault "BRL" · pattern ^[A-Z]{3}$
layout"grid" | "list" | "editorial"Nãodefault "grid"
templateId"classic" | "modern" | "minimal" | "bold" | nullNãodefault null
themeobjectNão
theme.primaryColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nãomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Não
showBrandingbooleanNãodefault true
fieldsarray of "name" | "phone" | "whatsapp" | "instagram" | "facebook"Nãomax items 5
itemsarray of objectNãomax items 400
items[].idstring (uuid)Sim
items[].kind"service" | "product" | "package"Sim
items[].titlestringNãomax length 200
items[].descriptionstringNãomax length 2000
items[].groupstringNãomax length 100
items[].featuredbooleanNãodefault false
items[].showPricebooleanNãodefault true
items[].maxQuantityintegerNãomin 1 · max 1000 · default 1
buttonsarray of objectNãomax items 5
buttons[].idstring (uuid)Sim
buttons[].titlestringSimmin length 1 · max length 100
buttons[].urlstringSimmax length 2000
buttons[].icon"link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | nullNão
buttons[].styleobject | nullNão
buttons[].style.backgroundstring | nullNão
buttons[].style.textstring | nullNão
buttons[].style.border"none" | "thin" | "thick"Nãodefault "none"
buttons[].style.borderColorstring | nullNão
buttons[].style.shadow"none" | "soft" | "hard"Nãodefault "none"
buttons[].style.shadowColorstring | nullNão
buttons[].style.radius"theme" | "square" | "rounded" | "pill"Nãodefault "theme"
buttons[].style.hover"simple" | "lift" | "grow" | "outline" | "none"Nãodefault "simple"
buttons[].featuredbooleanNãodefault false
allowNotesbooleanNãodefault false
allowNotesOnlybooleanNãodefault false
showTotalbooleanNãodefault true
requireCaptchabooleanNãodefault true
submitLabelstringNãomax length 100 · default ""
notesLabelstringNãomax length 200 · default ""
successMessagestringNãomax length 2000 · default ""
privacyTextstringNãomax length 2000 · default ""
bookingPageIdstring (uuid) | nullNãodefault null
assigneeIdsarray of stringNãomax items 15
createTaskbooleanNãodefault false
taskDueDaysintegerNãomin 0 · max 365 · default 1

Resposta

37 campos
CampoTipoSempre presente
allowNotesbooleanSim
allowNotesOnlybooleanSim
assigneeIdsarray of anySim
bookingPageIdnull nos exemplosSim
buttonsarray of anySim
createTaskbooleanSim
createdAtstring (date-time)Sim
currencystringSim
descriptionstringSim
fieldsarray of stringSim
idstring (uuid)Sim
itemsarray of objectSim
items[].featuredbooleanSim
items[].idstring (uuid)Sim
items[].kindstringSim
items[].maxQuantityintegerSim
items[].showPricebooleanSim
languagestringSim
layoutstringSim
namestringSim
notesLabelstringSim
organizationIdstring (uuid)Sim
privacyTextstringSim
publishedAtnull nos exemplosSim
requireCaptchabooleanSim
showBrandingbooleanSim
showTotalbooleanSim
slugstringSim
statusstringSim
submitLabelstringSim
successMessagestringSim
taskDueDaysintegerSim
templateIdnull nos exemplosSim
themeobjectSim
titlestringSim
updatedAtstring (date-time)Sim
versionintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/catalog-pages" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "slug": "…",
  "title": "…",
  "description": ""
}'

Resposta (201), com valores de exemplo:

{
  "allowNotes": true,
  "allowNotesOnly": true,
  "assigneeIds": [],
  "bookingPageId": null,
  "buttons": [],
  "createTask": true,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "currency": "USD",
  "description": "…",
  "fields": [
    "…"
  ],
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "items": [
    {
      "featured": true,
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "kind": "…",
      "maxQuantity": 1,
      "showPrice": true
    }
  ],
  "language": "…",
  "layout": "…",
  "name": "Ana Lima",
  "notesLabel": "…",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "privacyText": "…",
  "publishedAt": null,
  "requireCaptcha": true,
  "showBranding": true,
  "showTotal": true,
  "slug": "…",
  "status": "…",
  "submitLabel": "…",
  "successMessage": "…",
  "taskDueDays": 1,
  "templateId": null,
  "theme": {},
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "version": 1
}

GET/v1/catalog-pages/{id}

Retorna uma página de catálogo com seus itens e configurações.

Ver umEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Resposta

37 campos
CampoTipoSempre presente
allowNotesbooleanSim
allowNotesOnlybooleanSim
assigneeIdsarray of anySim
bookingPageIdnull nos exemplosSim
buttonsarray of anySim
createTaskbooleanSim
createdAtstring (date-time)Sim
currencystringSim
descriptionstringSim
fieldsarray of anySim
idstring (uuid)Sim
itemsarray of objectSim
items[].featuredbooleanSim
items[].idstring (uuid)Sim
items[].kindstringSim
items[].maxQuantityintegerSim
items[].showPricebooleanSim
languagestringSim
layoutstringSim
namestringSim
notesLabelstringSim
organizationIdstring (uuid)Sim
privacyTextstringSim
publishedAtstring (date-time)Sim
requireCaptchabooleanSim
showBrandingbooleanSim
showTotalbooleanSim
slugstringSim
statusstringSim
submitLabelstringSim
successMessagestringSim
taskDueDaysintegerSim
templateIdnull nos exemplosSim
themeobjectSim
titlestringSim
updatedAtstring (date-time)Sim
versionintegerSim
Exemplo
curl -X GET "https://api.firmado.app/v1/catalog-pages/{id}" \
  -H "X-Api-Key: fmd_..."

Resposta (200), com valores de exemplo:

{
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "slug": "…",
  "name": "Ana Lima",
  "title": "…",
  "description": "…",
  "status": "…",
  "language": "…",
  "currency": "USD",
  "layout": "…",
  "templateId": null,
  "theme": {},
  "showBranding": true,
  "fields": [],
  "items": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "kind": "…",
      "featured": true,
      "showPrice": true,
      "maxQuantity": 1
    }
  ],
  "buttons": [],
  "allowNotes": true,
  "allowNotesOnly": true,
  "showTotal": true,
  "requireCaptcha": true,
  "submitLabel": "…",
  "notesLabel": "…",
  "successMessage": "…",
  "privacyText": "…",
  "bookingPageId": null,
  "assigneeIds": [],
  "createTask": true,
  "taskDueDays": 1,
  "version": 1,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "publishedAt": "2026-11-21T14:00:00.000Z"
}

PATCH/v1/catalog-pages/{id}

Altera uma página de catálogo: itens, textos, visual e como os pedidos são tratados.

AtualizarEm caso de sucesso: 200.Permissão: Atualizar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
namestringSimmin length 1 · max length 120
slugstringSimpattern ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
titlestringSimmin length 1 · max length 200
descriptionstringNãomax length 3000 · default ""
language"pt" | "en" | "es" | "fr"Nãodefault "pt"
currencystringNãodefault "BRL" · pattern ^[A-Z]{3}$
layout"grid" | "list" | "editorial"Nãodefault "grid"
templateId"classic" | "modern" | "minimal" | "bold" | nullNãodefault null
themeobjectNão
theme.primaryColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nãomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Não
showBrandingbooleanNãodefault true
fieldsarray of "name" | "phone" | "whatsapp" | "instagram" | "facebook"Nãomax items 5
itemsarray of objectNãomax items 400
items[].idstring (uuid)Sim
items[].kind"service" | "product" | "package"Sim
items[].titlestringNãomax length 200
items[].descriptionstringNãomax length 2000
items[].groupstringNãomax length 100
items[].featuredbooleanNãodefault false
items[].showPricebooleanNãodefault true
items[].maxQuantityintegerNãomin 1 · max 1000 · default 1
buttonsarray of objectNãomax items 5
buttons[].idstring (uuid)Sim
buttons[].titlestringSimmin length 1 · max length 100
buttons[].urlstringSimmax length 2000
buttons[].icon"link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | nullNão
buttons[].styleobject | nullNão
buttons[].style.backgroundstring | nullNão
buttons[].style.textstring | nullNão
buttons[].style.border"none" | "thin" | "thick"Nãodefault "none"
buttons[].style.borderColorstring | nullNão
buttons[].style.shadow"none" | "soft" | "hard"Nãodefault "none"
buttons[].style.shadowColorstring | nullNão
buttons[].style.radius"theme" | "square" | "rounded" | "pill"Nãodefault "theme"
buttons[].style.hover"simple" | "lift" | "grow" | "outline" | "none"Nãodefault "simple"
buttons[].featuredbooleanNãodefault false
allowNotesbooleanNãodefault false
allowNotesOnlybooleanNãodefault false
showTotalbooleanNãodefault true
requireCaptchabooleanNãodefault true
submitLabelstringNãomax length 100 · default ""
notesLabelstringNãomax length 200 · default ""
successMessagestringNãomax length 2000 · default ""
privacyTextstringNãomax length 2000 · default ""
bookingPageIdstring (uuid) | nullNãodefault null
assigneeIdsarray of stringNãomax items 15
createTaskbooleanNãodefault false
taskDueDaysintegerNãomin 0 · max 365 · default 1

Resposta

38 campos
CampoTipoSempre presente
allowNotesbooleanSim
allowNotesOnlybooleanSim
assigneeIdsarray of anySim
bookingPageIdnull nos exemplosSim
buttonsarray of anySim
createTaskbooleanSim
createdAtstring (date-time)Sim
currencystringSim
descriptionstringSim
fieldsarray of stringSim
idstring (uuid)Sim
itemsarray of objectSim
items[].featuredbooleanSim
items[].idstring (uuid)Sim
items[].kindstringSim
items[].maxQuantityintegerSim
items[].showPricebooleanSim
languagestringSim
layoutstringSim
namestringSim
notesLabelstringSim
organizationIdstring (uuid)Sim
privacyTextstringSim
publishedAtstring (date-time)Sim
requireCaptchabooleanSim
showBrandingbooleanSim
showTotalbooleanSim
slugstringSim
statusstringSim
submitLabelstringSim
successMessagestringSim
taskDueDaysintegerSim
templateIdstring | nullSim
themeobjectSim
theme.primaryColorstringNão
titlestringSim
updatedAtstring (date-time)Sim
versionintegerSim
Exemplo
curl -X PATCH "https://api.firmado.app/v1/catalog-pages/{id}" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "slug": "…",
  "title": "…",
  "description": ""
}'

Resposta (200), com valores de exemplo:

{
  "allowNotes": true,
  "allowNotesOnly": true,
  "assigneeIds": [],
  "bookingPageId": null,
  "buttons": [],
  "createTask": true,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "currency": "USD",
  "description": "…",
  "fields": [
    "…"
  ],
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "items": [
    {
      "featured": true,
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "kind": "…",
      "maxQuantity": 1,
      "showPrice": true
    }
  ],
  "language": "…",
  "layout": "…",
  "name": "Ana Lima",
  "notesLabel": "…",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "privacyText": "…",
  "publishedAt": "2026-11-21T14:00:00.000Z",
  "requireCaptcha": true,
  "showBranding": true,
  "showTotal": true,
  "slug": "…",
  "status": "…",
  "submitLabel": "…",
  "successMessage": "…",
  "taskDueDays": 1,
  "templateId": "…",
  "theme": {
    "primaryColor": "…"
  },
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "version": 1
}

GET/v1/catalog-pages/{id}/preview

Mostra uma página de catálogo como os visitantes a veriam, com configurações não salvas; não salva nada.

Ler/{id}/previewEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim
Exemplo
curl -X GET "https://api.firmado.app/v1/catalog-pages/{id}/preview" \
  -H "X-Api-Key: fmd_..."

GET/v1/catalog-pages/{id}/stats

Visitas e pedidos de proposta de uma página de catálogo, por dia.

Ler/{id}/statsEm caso de sucesso: 200.Permissão: Ler.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Parâmetros da consulta

CampoTipoObrigatórioObservações
daysnumberNãodefault 30
Exemplo
curl -X GET "https://api.firmado.app/v1/catalog-pages/{id}/stats" \
  -H "X-Api-Key: fmd_..."

POST/v1/catalog-pages/{id}/status

Publica, pausa ou arquiva uma página de catálogo (administradores, não chaves de API).

Criar/{id}/statusEm caso de sucesso: 201.Permissão: Criar.

Parâmetros do caminho

CampoTipoObrigatórioObservações
idstringSim

Corpo

CampoTipoObrigatórioObservações
status"draft" | "published" | "paused" | "archived"Sim

Resposta

37 campos
CampoTipoSempre presente
allowNotesbooleanSim
allowNotesOnlybooleanSim
assigneeIdsarray of anySim
bookingPageIdnull nos exemplosSim
buttonsarray of anySim
createTaskbooleanSim
createdAtstring (date-time)Sim
currencystringSim
descriptionstringSim
fieldsarray of stringSim
idstring (uuid)Sim
itemsarray of objectSim
items[].featuredbooleanSim
items[].idstring (uuid)Sim
items[].kindstringSim
items[].maxQuantityintegerSim
items[].showPricebooleanSim
languagestringSim
layoutstringSim
namestringSim
notesLabelstringSim
organizationIdstring (uuid)Sim
privacyTextstringSim
publishedAtstring (date-time)Sim
requireCaptchabooleanSim
showBrandingbooleanSim
showTotalbooleanSim
slugstringSim
statusstringSim
submitLabelstringSim
successMessagestringSim
taskDueDaysintegerSim
templateIdnull nos exemplosSim
themeobjectSim
titlestringSim
updatedAtstring (date-time)Sim
versionintegerSim
Exemplo
curl -X POST "https://api.firmado.app/v1/catalog-pages/{id}/status" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "status": "draft"
}'

Resposta (201), com valores de exemplo:

{
  "allowNotes": true,
  "allowNotesOnly": true,
  "assigneeIds": [],
  "bookingPageId": null,
  "buttons": [],
  "createTask": true,
  "createdAt": "2026-11-21T14:00:00.000Z",
  "currency": "USD",
  "description": "…",
  "fields": [
    "…"
  ],
  "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "items": [
    {
      "featured": true,
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "kind": "…",
      "maxQuantity": 1,
      "showPrice": true
    }
  ],
  "language": "…",
  "layout": "…",
  "name": "Ana Lima",
  "notesLabel": "…",
  "organizationId": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
  "privacyText": "…",
  "publishedAt": "2026-11-21T14:00:00.000Z",
  "requireCaptcha": true,
  "showBranding": true,
  "showTotal": true,
  "slug": "…",
  "status": "…",
  "submitLabel": "…",
  "successMessage": "…",
  "taskDueDays": 1,
  "templateId": null,
  "theme": {},
  "title": "…",
  "updatedAt": "2026-11-21T14:00:00.000Z",
  "version": 1
}

POST/v1/catalog-pages/preview

Mostra uma nova página de catálogo como os visitantes a veriam; não salva nada.

Ler/previewEm caso de sucesso: 200.Permissão: Ler.

Corpo

CampoTipoObrigatórioObservações
namestringSimmin length 1 · max length 120
slugstring | ""Sim
titlestringSimmin length 1 · max length 200
descriptionstringNãomax length 3000 · default ""
language"pt" | "en" | "es" | "fr"Nãodefault "pt"
currencystringNãodefault "BRL" · pattern ^[A-Z]{3}$
layout"grid" | "list" | "editorial"Nãodefault "grid"
templateId"classic" | "modern" | "minimal" | "bold" | nullNãodefault null
themeobjectNão
theme.primaryColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNãopattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNãopattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nãomax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Não
showBrandingbooleanNãodefault true
fieldsarray of "name" | "phone" | "whatsapp" | "instagram" | "facebook"Nãomax items 5
itemsarray of objectNãomax items 400
items[].idstring (uuid)Sim
items[].kind"service" | "product" | "package"Sim
items[].titlestringNãomax length 200
items[].descriptionstringNãomax length 2000
items[].groupstringNãomax length 100
items[].featuredbooleanNãodefault false
items[].showPricebooleanNãodefault true
items[].maxQuantityintegerNãomin 1 · max 1000 · default 1
buttonsarray of objectNãomax items 5
buttons[].idstring (uuid)Sim
buttons[].titlestringSimmin length 1 · max length 100
buttons[].urlstringSimmax length 2000
buttons[].icon"link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | nullNão
buttons[].styleobject | nullNão
buttons[].style.backgroundstring | nullNão
buttons[].style.textstring | nullNão
buttons[].style.border"none" | "thin" | "thick"Nãodefault "none"
buttons[].style.borderColorstring | nullNão
buttons[].style.shadow"none" | "soft" | "hard"Nãodefault "none"
buttons[].style.shadowColorstring | nullNão
buttons[].style.radius"theme" | "square" | "rounded" | "pill"Nãodefault "theme"
buttons[].style.hover"simple" | "lift" | "grow" | "outline" | "none"Nãodefault "simple"
buttons[].featuredbooleanNãodefault false
allowNotesbooleanNãodefault false
allowNotesOnlybooleanNãodefault false
showTotalbooleanNãodefault true
requireCaptchabooleanNãodefault true
submitLabelstringNãomax length 100 · default ""
notesLabelstringNãomax length 200 · default ""
successMessagestringNãomax length 2000 · default ""
privacyTextstringNãomax length 2000 · default ""
bookingPageIdstring (uuid) | nullNãodefault null
assigneeIdsarray of stringNãomax items 15
createTaskbooleanNãodefault false
taskDueDaysintegerNãomin 0 · max 365 · default 1

Resposta

42 campos
CampoTipoSempre presente
allowNotesbooleanSim
allowNotesOnlybooleanSim
bookingUrlnull nos exemplosSim
buttonsarray of anySim
captchanull nos exemplosSim
currencystringSim
descriptionstringSim
fieldsarray of anySim
itemsarray of objectSim
items[].descriptionstringSim
items[].featuredbooleanSim
items[].idstring (uuid)Sim
items[].imagesarray of anySim
items[].includedItemIdsarray of anySim
items[].kindstringSim
items[].maxQuantityintegerSim
items[].namestringSim
items[].showPricebooleanSim
items[].unitPriceintegerSim
languagestringSim
layoutstringSim
notesLabelstringSim
organizationobjectSim
organization.logonull nos exemplosSim
organization.namestringSim
privacyTextstringSim
revisionstringSim
showBrandingbooleanSim
showTotalbooleanSim
slugstringSim
submitLabelstringSim
successMessagestringSim
templateIdstringSim
themeobjectSim
theme.accentColorstringSim
theme.backgroundColorstringSim
theme.bodyFontstringSim
theme.cornerRadiusstringSim
theme.headingFontstringSim
theme.primaryColorstringSim
theme.textColorstringSim
titlestringSim
Exemplo
curl -X POST "https://api.firmado.app/v1/catalog-pages/preview" \
  -H "X-Api-Key: fmd_..." \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Ana Lima",
  "slug": "…",
  "title": "…",
  "description": ""
}'

Resposta (200), com valores de exemplo:

{
  "organization": {
    "name": "Ana Lima",
    "logo": null
  },
  "slug": "…",
  "title": "…",
  "description": "…",
  "language": "…",
  "currency": "USD",
  "layout": "…",
  "templateId": "…",
  "theme": {
    "primaryColor": "…",
    "accentColor": "…",
    "backgroundColor": "…",
    "textColor": "…",
    "headingFont": "…",
    "bodyFont": "…",
    "cornerRadius": "…"
  },
  "showBranding": true,
  "fields": [],
  "buttons": [],
  "allowNotes": true,
  "allowNotesOnly": true,
  "showTotal": true,
  "submitLabel": "…",
  "notesLabel": "…",
  "successMessage": "…",
  "privacyText": "…",
  "bookingUrl": null,
  "revision": "…",
  "items": [
    {
      "id": "3f0b6c3e-8a51-4c2b-9a51-0d6f3b2a7c10",
      "kind": "…",
      "featured": true,
      "showPrice": true,
      "maxQuantity": 1,
      "images": [],
      "name": "Ana Lima",
      "description": "…",
      "unitPrice": 1,
      "includedItemIds": []
    }
  ],
  "captcha": null
}

Eventos de webhook

Mudanças desta funcionalidade que os webhooks podem enviar.

  • catalog_page.createdCriar
  • catalog_page.updatedAtualizar