Product information by EAN

Zoek een verpakt voedingsproduct in de Tuduu-mastercatalogus op via zijn EAN en haal de beschrijvende gegevens op: titel, merk, de volledige ingrediëntenlijst als één string en het etiketformaat. Ingrediënten worden onbewerkt teruggegeven, klaar voor compatibiliteitsanalyse. Gebruiksscenario's: WINKELAPP MET BARCODESCAN • De gebruiker scant een barcode en ziet direct de productnaam, het merk en de ingrediënten, zonder een catalogus bij te houden. BOODSCHAPPEN — CATALOGUSVERRIJKING • Vul ontbrekende productgegevens aan (titel, merk, ingrediënten) voor items die alleen door EAN zijn geïdentificeerd.

GET
/products/{ean}
Products
Kosten: 10 credits

Antwoord

200
application/json
object

ProductInfoResult

Basisproductinformatie opgezocht op EAN uit de Tuduu-mastercatalogus. De eindpunten zijn bewust los van elkaar: dit ene bevat de beschrijvende velden, terwijl macronutriënten en compatibiliteit op hun eigen EAN-eindpunten staan. Voer de responses samen op 'ean'.

object

ean

Genormaliseerde EAN: de canonieke sleutel die wordt gebruikt om de antwoorden van de by-EAN-eindpunten samen te voegen

string

title?

Producttitel. Valt terug op de verkoopbenaming. Null wanneer onbekend

string | null

brand?

Merk. Null indien onbekend

string | null

ingredients?

Ingrediëntenlijst als één ruwe tekenreeks, zoals afgedrukt op het etiket. Null wanneer onbekend

string | null

format?

Label formaat / verpakkingsgrootte (bijv. "500 g"). Null wanneer onbekend

string | null
204
application/json

No Content

Er zijn geen schemas beschikbaar voor dit eindpunt.

401
application/json
object

Ongeautoriseerd

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

Verboden

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

Niet Acceptabel

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

Onverwerkbare Entiteit

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

Te veel verzoeken (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

Interne serverfout

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

Slechte Gateway (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

Gateway-time-out (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string