Aller au contenu
Reponse.ai LogoDocs
DocsAPISDKsGuides

Rechercher dans la documentation

Rechercher un article...

Premiers pas

  • Overview
  • Architecture
  • Installation
  • Authentication
  • First Request

Produits & Collections

  • Products — List
  • Products — Get
  • Products — Metafields
  • Collections — List
  • Collections — Get
  • Collections — Products

Panier & Checkout

  • Cart — Create
  • Cart — Get
  • Cart — Add Item
  • Cart — Update Item
  • Cart — Remove Item
  • Cart — Apply Promotion
  • Checkout — Stripe
  • Checkout — Payment Intent
  • Checkout — ACP

Commandes & Fulfillment

  • Orders — Create
  • Orders — Get
  • Orders — Confirm
  • Orders — Cancel
  • Orders — Fulfill
  • Orders — Refund

Commerce

  • Inventory — Get
  • Inventory — Update
  • Shipping — Rates
  • Discounts — List
  • Discounts — Create
  • Discounts — Validate
  • Subscriptions — Manage

Fidélité & Cartes cadeaux

  • Loyalty — Balance
  • Loyalty — Redeem
  • Loyalty — Referral
  • Gift Cards — List
  • Gift Cards — Redeem

Tickets & Support

  • Tickets — List
  • Tickets — Create
  • Tickets — Reply

Plateforme

  • Product Feed — JSON
  • Product Feed — CSV
  • Theme — Get
  • Approvals — Execute
  • Approvals — Reject
  • Geocode

SDKs

  • SDK Overview
  • TypeScript SDK
  • React Hooks

Guides

  • Chat Widget
  • Shopify Sync
  • Storefront Starter
  • Loyalty Program
  • Discounts & Promotions
  • Subscriptions
  • Klaviyo Integration
  • Custom Domains
  • Agentic Commerce (ACP)
  • A2A Protocol
  • AI Engines
  • MCP Server

Webhooks

  • Webhooks Overview
  • Events Reference
  • Shopify Webhooks
  • Stripe Webhooks
  • Reviews (Stamped / Trustpilot)
  • Logistics
  • Email Inbound

Ressources

  • Environment Variables
  • Rate Limits
  • Changelog
DocsProduits & CollectionsProducts — List

Products — List

Lister tous les produits actifs d'un workspace avec pagination par curseur et filtrage.

1 min de lecture/Mis à jour le 19 août 2026
Sur cette page

Vue d'ensemble

Lister tous les produits actifs d'un workspace avec pagination par curseur et filtrage.

Authentification

Cet endpoint requiert un token Bearer. Incluez votre clé API workspace dans le header `Authorization`.

Authorization: Bearer <your_api_key>

Requête

**GET** `/v1/products`

Paramètres de requête

NomTypeRequisDescription
limitnumber❌Nombre max de résultats par page (défaut : 50)
cursorstring❌Curseur de pagination (created_at du dernier élément)
querystring❌Recherche par titre (insensible à la casse)
slugstring❌Correspondance exacte du handle produit

Réponse

json
{
  "data": [
    {
      "id": "uuid",
      "title": "Premium T-Shirt",
      "slug": "premium-t-shirt",
      "price": 29.99,
      "currency": "EUR",
      "in_stock": true,
      "images": ["https://..."],
      "variants": [...]
    }
  ],
  "next_cursor": "2025-01-01T00:00:00Z",
  "has_more": true
}

Exemples de code

cURL

bash
curl -X GET https://api.reponse.ai/v1/products \
  -H "Authorization: Bearer YOUR_API_KEY"

TypeScript

typescript
const response = await fetch("https://api.reponse.ai/v1/products", {
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
  },
});

const data = await response.json();
console.log(data);

Codes d'erreur

StatutDescription
400Requête invalide — paramètres incorrects
401Non autorisé — clé API invalide ou manquante
500Erreur serveur interne
PrécédentFirst Request
SuivantProducts — Get