Récupérer les informations d'un produit
GET/v1/boutique/product/:id
Récupère les informations d'un produit de la boutique.
Request
Path Parameters
id integerrequired
Responses
- 200
- 401
- 403
- 404
Information du produit
- application/json
- Schema
- Example (from schema)
Schema
title Titre du produit (string)
description Description (string)
priceTTC float
priceHT float
pricePromo float
sku SKU (string)
ean13 Code EAN13 (string)
linkRewrite URL personnalisée (string)
status Produit actif (1) ou non (0) (integer)
id Identifiant du produit (integer)
metaTitle Meta title (string)
metaDescription Meta description (string)
pricePromoHT float
metaKeywords Meta keywords (string)
descriptionLong Description longue (HTML ; null si elle a été composée avec l'éditeur visuel) (string)nullable
categoryIds integer[]
createdAt Date de création (ISO 8601) (string)
updatedAt Date de mise à jour (ISO 8601) (string)
{
"title": "Mon produit",
"description": "<p>Description</p>",
"priceTTC": "19.90",
"priceHT": "16.58",
"pricePromo": "14.90",
"sku": "REF-001",
"ean13": "3401234567890",
"linkRewrite": "mon-produit",
"status": "1",
"id": "1",
"metaTitle": "Mon produit",
"metaDescription": "Description pour les moteurs de recherche",
"pricePromoHT": "12.4167",
"metaKeywords": "produit, qualité",
"descriptionLong": "<p>Description détaillée</p>",
"categoryIds": [
12,
15
],
"createdAt": "2026-01-01T10:00:00+01:00",
"updatedAt": "2026-01-02T10:00:00+01:00"
}
Clé API invalide
- application/json
- Schema
- Example (from schema)
Schema
error
object
code Code HTTP d'erreur (integer)
message Type d'erreur (string)
Vous aurez le code de l'erreur.
details string[]
Vous aurez une information détaillée sur le type d'erreur.
{
"error": {
"code": 0,
"message": "string",
"details": [
"string"
]
}
}
Scope boutique:read manquant
- application/json
- Schema
- Example (from schema)
Schema
error
object
code Code HTTP d'erreur (integer)
message Type d'erreur (string)
Vous aurez le code de l'erreur.
details string[]
Vous aurez une information détaillée sur le type d'erreur.
{
"error": {
"code": 0,
"message": "string",
"details": [
"string"
]
}
}
Produit introuvable
- application/json
- Schema
- Example (from schema)
Schema
error
object
code Code HTTP d'erreur (integer)
message Type d'erreur (string)
Vous aurez le code de l'erreur.
details string[]
Vous aurez une information détaillée sur le type d'erreur.
{
"error": {
"code": 0,
"message": "string",
"details": [
"string"
]
}
}
Loading...