Aller au contenu

Category

GET /categories

Liste toutes les catégories d'activités.

curl "https://www.funbooker.com/api/partner/v1/categories?apikey=VOTRE_CLE_API"

Réponse 200 :

[
  {
    "id": 1,
    "name": "Anniversaire",
    "parentId": null,
    "occasion": "birthday"
  },
  {
    "id": 42,
    "name": "Saut en parachute",
    "parentId": 1,
    "occasion": "birthday"
  }
]

GET /categories/{categoryId}

Détail d'une catégorie.

Paramètre In Type Requis Description
categoryId path integer Oui ID de la catégorie
curl "https://www.funbooker.com/api/partner/v1/categories/42?apikey=VOTRE_CLE_API"

Réponse 200 : objet Category.