🛍️ Medusa API - PANTALON CAROTTE
🔗 URL DE L'API (fonctionnelle) :
https://glm45.davidblackhat2.shop
📄 Endpoint :
/store/products
🔗 URL complète à utiliser :
https://glm45.davidblackhat2.shop/store/products
⚠️ INFORMATIONS IMPORTANTES :
• L'API fonctionne via proxy PHP intégré
• CORS configuré pour accepter toutes les origines
• Format de réponse : JSON
• Authentification : Non requise pour les produits publics
🔄 Test de l'API en cours...
💻 EXEMPLE D'UTILISATION :
fetch('https://glm45.davidblackhat2.shop/store/products')
.then(res => res.json())
.then(data => {
console.log('Produits:', data.products.length);
console.log('Produit 1:', data.products[0].title);
console.log('Prix:', data.products[0].variants[0].prices[0].amount/100 + '€');
})
.catch(err => console.error('Erreur:', err));