Products
Les produits décrivent les éléments que vous vendez. La surface implémentée aujourd’hui est une surface dashboard marchand.
Objet Product
{
"id": "prod_abc123",
"object": "product",
"name": "Premium Plan",
"description": "Full access to all features",
"active": true,
"metadata": {},
"created": 1708300800
}
Endpoints
| Méthode | Endpoint | Description |
|---|---|---|
GET | /api/v1/merchant/products | Lister les produits |
POST | /api/v1/merchant/products | Créer un produit |
GET | /api/v1/merchant/products/{id} | Récupérer un produit |
PATCH | /api/v1/merchant/products/{id} | Mettre à jour un produit |
PATCH | /api/v1/merchant/products/{id}/active | Activer ou désactiver un produit |
DELETE | /api/v1/merchant/products/{id} | Supprimer un produit |