API Produits
Endpoints pour la gestion des produits dans la boutique.
SDK: client.app.store.product
Endpoints
Lister les produits
Récupère la liste des produits avec pagination et filtres.
POST /app/{appId}/store/product/listRequête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé API |
search | string | Non | Recherche textuelle |
ids | string[] | Non | Filtrer par IDs |
categoryId | string | Non | Filtrer par catégorie |
sellerId | string | Non | Filtrer par vendeur |
collectionIds | string[] | Non | Filtrer par collections |
tagIds | string[] | Non | Filtrer par tags |
status | string | Non | ACTIVE, DRAFT, ARCHIVED |
page | number | Non | Page (défaut: 1) |
limit | number | Non | Limite (défaut: 20, max: 100) |
curl -X POST https://api.applite.ai/app/{appId}/store/product/list \
-H "Content-Type: application/json" \
-d '{
"apiKey": "your_api_key",
"search": "T-Shirt",
"status": "ACTIVE",
"page": 1,
"limit": 20
}'Obtenir un produit
Récupère les détails complets d’un produit.
POST /app/{appId}/store/product/{id}Requête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé API |
curl -X POST https://api.applite.ai/app/{appId}/store/product/{productId} \
-H "Content-Type: application/json" \
-d '{
"apiKey": "your_api_key"
}'Last updated on