Skip to Content
Nouvelle documentation Applite - JS SDK, Dart SDK & REST API

API Tags

Endpoints pour la gestion des tags/étiquettes produits.

SDK: client.app.store.tag

Endpoints

Lister les tags

POST /app/{appId}/store/tag/list
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/store/tag/list \ -H "Content-Type: application/json" \ -d '{"apiKey": "your_api_key"}'

Créer un tag

POST /app/{appId}/store/tag/create
ChampTypeRequisDescription
apiKeystringOuiClé API
namestringOuiNom du tag
curl -X POST https://api.applite.ai/app/{appId}/store/tag/create \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key", "name": "eco-friendly" }'

Obtenir un tag

POST /app/{appId}/store/tag/{id}
curl -X POST https://api.applite.ai/app/{appId}/store/tag/{tagId} \ -H "Content-Type: application/json" \ -d '{"apiKey": "your_api_key"}'

Mettre à jour un tag

POST /app/{appId}/store/tag/{id}/edit
ChampTypeRequisDescription
apiKeystringOuiClé API
namestringOuiNouveau nom
curl -X POST https://api.applite.ai/app/{appId}/store/tag/{tagId}/edit \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key", "name": "trending" }'

Supprimer un tag

POST /app/{appId}/store/tag/{id}/delete
curl -X POST https://api.applite.ai/app/{appId}/store/tag/{tagId}/delete \ -H "Content-Type: application/json" \ -d '{"apiKey": "your_api_key"}'

La suppression d’un tag le retire automatiquement de tous les produits associés.

Last updated on