Pages de catalogue

Les pages de catalogue publiques et leur apparence.

Valeurs des exemples

Saisissez-les une fois : tous les exemples de cette page les utilisent. La clé d’API reste sur cette page et n’est jamais enregistrée.

GET/v1/catalog-pages

Liste les pages publiques de catalogue.

ListerEn cas de succès : 200.Permission : Lire.

Réponse

40 champs
ChampTypeToujours présent
dataarray of objectOui
data[].allowNotesbooleanOui
data[].allowNotesOnlybooleanOui
data[].assigneeIdsarray of anyOui
data[].bookingPageIdnull dans les exemplesOui
data[].buttonsarray of anyOui
data[].createTaskbooleanOui
data[].createdAtstring (date-time)Oui
data[].currencystringOui
data[].descriptionstringOui
data[].fieldsarray of stringOui
data[].idstring (uuid)Oui
data[].itemsarray of objectOui
data[].items[].featuredbooleanOui
data[].items[].idstring (uuid)Oui
data[].items[].kindstringOui
data[].items[].maxQuantityintegerOui
data[].items[].showPricebooleanOui
data[].languagestringOui
data[].layoutstringOui
data[].namestringOui
data[].notesLabelstringOui
data[].organizationIdstring (uuid)Oui
data[].overLimitbooleanOui
data[].privacyTextstringOui
data[].publishedAtstring (date-time)Oui
data[].requireCaptchabooleanOui
data[].showBrandingbooleanOui
data[].showTotalbooleanOui
data[].slugstringOui
data[].statusstringOui
data[].submitLabelstringOui
data[].successMessagestringOui
data[].taskDueDaysintegerOui
data[].templateIdnull dans les exemplesOui
data[].themeobjectOui
data[].titlestringOui
data[].updatedAtstring (date-time)Oui
data[].urlstring (uri)Oui
data[].versionintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/catalog-pages" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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

Crée une page de catalogue.

CréerEn cas de succès : 201.Permission : Créer.

Corps

ChampTypeObligatoireNotes
namestringOuimin length 1 · max length 120
slugstringOuipattern ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
titlestringOuimin length 1 · max length 200
descriptionstringNonmax length 3000 · default ""
language"pt" | "en" | "es" | "fr"Nondefault "pt"
currencystringNondefault "BRL" · pattern ^[A-Z]{3}$
layout"grid" | "list" | "editorial"Nondefault "grid"
templateId"classic" | "modern" | "minimal" | "bold" | nullNondefault null
themeobjectNon
theme.primaryColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nonmax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Non
showBrandingbooleanNondefault true
fieldsarray of "name" | "phone" | "whatsapp" | "instagram" | "facebook"Nonmax items 5
itemsarray of objectNonmax items 400
items[].idstring (uuid)Oui
items[].kind"service" | "product" | "package"Oui
items[].titlestringNonmax length 200
items[].descriptionstringNonmax length 2000
items[].groupstringNonmax length 100
items[].featuredbooleanNondefault false
items[].showPricebooleanNondefault true
items[].maxQuantityintegerNonmin 1 · max 1000 · default 1
buttonsarray of objectNonmax items 5
buttons[].idstring (uuid)Oui
buttons[].titlestringOuimin length 1 · max length 100
buttons[].urlstringOuimax length 2000
buttons[].icon"link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | nullNon
buttons[].styleobject | nullNon
buttons[].style.backgroundstring | nullNon
buttons[].style.textstring | nullNon
buttons[].style.border"none" | "thin" | "thick"Nondefault "none"
buttons[].style.borderColorstring | nullNon
buttons[].style.shadow"none" | "soft" | "hard"Nondefault "none"
buttons[].style.shadowColorstring | nullNon
buttons[].style.radius"theme" | "square" | "rounded" | "pill"Nondefault "theme"
buttons[].style.hover"simple" | "lift" | "grow" | "outline" | "none"Nondefault "simple"
buttons[].featuredbooleanNondefault false
allowNotesbooleanNondefault false
allowNotesOnlybooleanNondefault false
showTotalbooleanNondefault true
requireCaptchabooleanNondefault true
submitLabelstringNonmax length 100 · default ""
notesLabelstringNonmax length 200 · default ""
successMessagestringNonmax length 2000 · default ""
privacyTextstringNonmax length 2000 · default ""
bookingPageIdstring (uuid) | nullNondefault null
assigneeIdsarray of stringNonmax items 15
createTaskbooleanNondefault false
taskDueDaysintegerNonmin 0 · max 365 · default 1

Réponse

37 champs
ChampTypeToujours présent
allowNotesbooleanOui
allowNotesOnlybooleanOui
assigneeIdsarray of anyOui
bookingPageIdnull dans les exemplesOui
buttonsarray of anyOui
createTaskbooleanOui
createdAtstring (date-time)Oui
currencystringOui
descriptionstringOui
fieldsarray of stringOui
idstring (uuid)Oui
itemsarray of objectOui
items[].featuredbooleanOui
items[].idstring (uuid)Oui
items[].kindstringOui
items[].maxQuantityintegerOui
items[].showPricebooleanOui
languagestringOui
layoutstringOui
namestringOui
notesLabelstringOui
organizationIdstring (uuid)Oui
privacyTextstringOui
publishedAtnull dans les exemplesOui
requireCaptchabooleanOui
showBrandingbooleanOui
showTotalbooleanOui
slugstringOui
statusstringOui
submitLabelstringOui
successMessagestringOui
taskDueDaysintegerOui
templateIdnull dans les exemplesOui
themeobjectOui
titlestringOui
updatedAtstring (date-time)Oui
versionintegerOui
Exemple
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": ""
}'

Réponse (201), avec des valeurs d’exemple :

{
  "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}

Renvoie une page de catalogue avec ses articles et réglages.

Voir unEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Réponse

37 champs
ChampTypeToujours présent
allowNotesbooleanOui
allowNotesOnlybooleanOui
assigneeIdsarray of anyOui
bookingPageIdnull dans les exemplesOui
buttonsarray of anyOui
createTaskbooleanOui
createdAtstring (date-time)Oui
currencystringOui
descriptionstringOui
fieldsarray of anyOui
idstring (uuid)Oui
itemsarray of objectOui
items[].featuredbooleanOui
items[].idstring (uuid)Oui
items[].kindstringOui
items[].maxQuantityintegerOui
items[].showPricebooleanOui
languagestringOui
layoutstringOui
namestringOui
notesLabelstringOui
organizationIdstring (uuid)Oui
privacyTextstringOui
publishedAtstring (date-time)Oui
requireCaptchabooleanOui
showBrandingbooleanOui
showTotalbooleanOui
slugstringOui
statusstringOui
submitLabelstringOui
successMessagestringOui
taskDueDaysintegerOui
templateIdnull dans les exemplesOui
themeobjectOui
titlestringOui
updatedAtstring (date-time)Oui
versionintegerOui
Exemple
curl -X GET "https://api.firmado.app/v1/catalog-pages/{id}" \
  -H "X-Api-Key: fmd_..."

Réponse (200), avec des valeurs d’exemple :

{
  "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}

Modifie une page de catalogue : articles, textes, apparence et traitement des demandes.

ModifierEn cas de succès : 200.Permission : Modifier.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
namestringOuimin length 1 · max length 120
slugstringOuipattern ^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$
titlestringOuimin length 1 · max length 200
descriptionstringNonmax length 3000 · default ""
language"pt" | "en" | "es" | "fr"Nondefault "pt"
currencystringNondefault "BRL" · pattern ^[A-Z]{3}$
layout"grid" | "list" | "editorial"Nondefault "grid"
templateId"classic" | "modern" | "minimal" | "bold" | nullNondefault null
themeobjectNon
theme.primaryColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nonmax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Non
showBrandingbooleanNondefault true
fieldsarray of "name" | "phone" | "whatsapp" | "instagram" | "facebook"Nonmax items 5
itemsarray of objectNonmax items 400
items[].idstring (uuid)Oui
items[].kind"service" | "product" | "package"Oui
items[].titlestringNonmax length 200
items[].descriptionstringNonmax length 2000
items[].groupstringNonmax length 100
items[].featuredbooleanNondefault false
items[].showPricebooleanNondefault true
items[].maxQuantityintegerNonmin 1 · max 1000 · default 1
buttonsarray of objectNonmax items 5
buttons[].idstring (uuid)Oui
buttons[].titlestringOuimin length 1 · max length 100
buttons[].urlstringOuimax length 2000
buttons[].icon"link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | nullNon
buttons[].styleobject | nullNon
buttons[].style.backgroundstring | nullNon
buttons[].style.textstring | nullNon
buttons[].style.border"none" | "thin" | "thick"Nondefault "none"
buttons[].style.borderColorstring | nullNon
buttons[].style.shadow"none" | "soft" | "hard"Nondefault "none"
buttons[].style.shadowColorstring | nullNon
buttons[].style.radius"theme" | "square" | "rounded" | "pill"Nondefault "theme"
buttons[].style.hover"simple" | "lift" | "grow" | "outline" | "none"Nondefault "simple"
buttons[].featuredbooleanNondefault false
allowNotesbooleanNondefault false
allowNotesOnlybooleanNondefault false
showTotalbooleanNondefault true
requireCaptchabooleanNondefault true
submitLabelstringNonmax length 100 · default ""
notesLabelstringNonmax length 200 · default ""
successMessagestringNonmax length 2000 · default ""
privacyTextstringNonmax length 2000 · default ""
bookingPageIdstring (uuid) | nullNondefault null
assigneeIdsarray of stringNonmax items 15
createTaskbooleanNondefault false
taskDueDaysintegerNonmin 0 · max 365 · default 1

Réponse

38 champs
ChampTypeToujours présent
allowNotesbooleanOui
allowNotesOnlybooleanOui
assigneeIdsarray of anyOui
bookingPageIdnull dans les exemplesOui
buttonsarray of anyOui
createTaskbooleanOui
createdAtstring (date-time)Oui
currencystringOui
descriptionstringOui
fieldsarray of stringOui
idstring (uuid)Oui
itemsarray of objectOui
items[].featuredbooleanOui
items[].idstring (uuid)Oui
items[].kindstringOui
items[].maxQuantityintegerOui
items[].showPricebooleanOui
languagestringOui
layoutstringOui
namestringOui
notesLabelstringOui
organizationIdstring (uuid)Oui
privacyTextstringOui
publishedAtstring (date-time)Oui
requireCaptchabooleanOui
showBrandingbooleanOui
showTotalbooleanOui
slugstringOui
statusstringOui
submitLabelstringOui
successMessagestringOui
taskDueDaysintegerOui
templateIdstring | nullOui
themeobjectOui
theme.primaryColorstringNon
titlestringOui
updatedAtstring (date-time)Oui
versionintegerOui
Exemple
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": ""
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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

Montre une page de catalogue telle que les visiteurs la verraient, avec des réglages non enregistrés ; n’enregistre rien.

Lire/{id}/previewEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui
Exemple
curl -X GET "https://api.firmado.app/v1/catalog-pages/{id}/preview" \
  -H "X-Api-Key: fmd_..."

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

Visites et demandes de devis d’une page de catalogue, par jour.

Lire/{id}/statsEn cas de succès : 200.Permission : Lire.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Paramètres de requête

ChampTypeObligatoireNotes
daysnumberNondefault 30
Exemple
curl -X GET "https://api.firmado.app/v1/catalog-pages/{id}/stats" \
  -H "X-Api-Key: fmd_..."

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

Publie, met en pause ou archive une page de catalogue (administrateurs, pas les clés d’API).

Créer/{id}/statusEn cas de succès : 201.Permission : Créer.

Paramètres de chemin

ChampTypeObligatoireNotes
idstringOui

Corps

ChampTypeObligatoireNotes
status"draft" | "published" | "paused" | "archived"Oui

Réponse

37 champs
ChampTypeToujours présent
allowNotesbooleanOui
allowNotesOnlybooleanOui
assigneeIdsarray of anyOui
bookingPageIdnull dans les exemplesOui
buttonsarray of anyOui
createTaskbooleanOui
createdAtstring (date-time)Oui
currencystringOui
descriptionstringOui
fieldsarray of stringOui
idstring (uuid)Oui
itemsarray of objectOui
items[].featuredbooleanOui
items[].idstring (uuid)Oui
items[].kindstringOui
items[].maxQuantityintegerOui
items[].showPricebooleanOui
languagestringOui
layoutstringOui
namestringOui
notesLabelstringOui
organizationIdstring (uuid)Oui
privacyTextstringOui
publishedAtstring (date-time)Oui
requireCaptchabooleanOui
showBrandingbooleanOui
showTotalbooleanOui
slugstringOui
statusstringOui
submitLabelstringOui
successMessagestringOui
taskDueDaysintegerOui
templateIdnull dans les exemplesOui
themeobjectOui
titlestringOui
updatedAtstring (date-time)Oui
versionintegerOui
Exemple
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"
}'

Réponse (201), avec des valeurs d’exemple :

{
  "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

Montre une nouvelle page de catalogue telle que les visiteurs la verraient ; n’enregistre rien.

Lire/previewEn cas de succès : 200.Permission : Lire.

Corps

ChampTypeObligatoireNotes
namestringOuimin length 1 · max length 120
slugstring | ""Oui
titlestringOuimin length 1 · max length 200
descriptionstringNonmax length 3000 · default ""
language"pt" | "en" | "es" | "fr"Nondefault "pt"
currencystringNondefault "BRL" · pattern ^[A-Z]{3}$
layout"grid" | "list" | "editorial"Nondefault "grid"
templateId"classic" | "modern" | "minimal" | "bold" | nullNondefault null
themeobjectNon
theme.primaryColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.accentColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.backgroundColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.textColorstringNonpattern ^#[0-9a-fA-F]{6}$
theme.headingFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.bodyFontstringNonpattern ^[A-Za-z0-9 ]{1,60}$
theme.coverImageUrlstring (uri)Nonmax length 2000
theme.cornerRadius"none" | "small" | "medium" | "large"Non
showBrandingbooleanNondefault true
fieldsarray of "name" | "phone" | "whatsapp" | "instagram" | "facebook"Nonmax items 5
itemsarray of objectNonmax items 400
items[].idstring (uuid)Oui
items[].kind"service" | "product" | "package"Oui
items[].titlestringNonmax length 200
items[].descriptionstringNonmax length 2000
items[].groupstringNonmax length 100
items[].featuredbooleanNondefault false
items[].showPricebooleanNondefault true
items[].maxQuantityintegerNonmin 1 · max 1000 · default 1
buttonsarray of objectNonmax items 5
buttons[].idstring (uuid)Oui
buttons[].titlestringOuimin length 1 · max length 100
buttons[].urlstringOuimax length 2000
buttons[].icon"link" | "globe" | "instagram" | "whatsapp" | "tiktok" | "youtube" | "linkedin" | "facebook" | "x" | "telegram" | "spotify" | "email" | "phone" | "calendar" | "form" | "file" | "shop" | "star" | "map" | "gift" | nullNon
buttons[].styleobject | nullNon
buttons[].style.backgroundstring | nullNon
buttons[].style.textstring | nullNon
buttons[].style.border"none" | "thin" | "thick"Nondefault "none"
buttons[].style.borderColorstring | nullNon
buttons[].style.shadow"none" | "soft" | "hard"Nondefault "none"
buttons[].style.shadowColorstring | nullNon
buttons[].style.radius"theme" | "square" | "rounded" | "pill"Nondefault "theme"
buttons[].style.hover"simple" | "lift" | "grow" | "outline" | "none"Nondefault "simple"
buttons[].featuredbooleanNondefault false
allowNotesbooleanNondefault false
allowNotesOnlybooleanNondefault false
showTotalbooleanNondefault true
requireCaptchabooleanNondefault true
submitLabelstringNonmax length 100 · default ""
notesLabelstringNonmax length 200 · default ""
successMessagestringNonmax length 2000 · default ""
privacyTextstringNonmax length 2000 · default ""
bookingPageIdstring (uuid) | nullNondefault null
assigneeIdsarray of stringNonmax items 15
createTaskbooleanNondefault false
taskDueDaysintegerNonmin 0 · max 365 · default 1

Réponse

42 champs
ChampTypeToujours présent
allowNotesbooleanOui
allowNotesOnlybooleanOui
bookingUrlnull dans les exemplesOui
buttonsarray of anyOui
captchanull dans les exemplesOui
currencystringOui
descriptionstringOui
fieldsarray of anyOui
itemsarray of objectOui
items[].descriptionstringOui
items[].featuredbooleanOui
items[].idstring (uuid)Oui
items[].imagesarray of anyOui
items[].includedItemIdsarray of anyOui
items[].kindstringOui
items[].maxQuantityintegerOui
items[].namestringOui
items[].showPricebooleanOui
items[].unitPriceintegerOui
languagestringOui
layoutstringOui
notesLabelstringOui
organizationobjectOui
organization.logonull dans les exemplesOui
organization.namestringOui
privacyTextstringOui
revisionstringOui
showBrandingbooleanOui
showTotalbooleanOui
slugstringOui
submitLabelstringOui
successMessagestringOui
templateIdstringOui
themeobjectOui
theme.accentColorstringOui
theme.backgroundColorstringOui
theme.bodyFontstringOui
theme.cornerRadiusstringOui
theme.headingFontstringOui
theme.primaryColorstringOui
theme.textColorstringOui
titlestringOui
Exemple
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": ""
}'

Réponse (200), avec des valeurs d’exemple :

{
  "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
}

Événements de webhook

Les changements de cette fonctionnalité que les webhooks peuvent envoyer.

  • catalog_page.createdCréer
  • catalog_page.updatedModifier