Product information by EAN

ईएएन द्वारा तुदू मास्टर कैटलॉग में किसी पैकेज्ड खाद्य उत्पाद को खोजें और उसका वर्णनात्मक डेटा प्राप्त करें: शीर्षक, ब्रांड, सामग्री की पूरी सूची एक ही स्ट्रिंग के रूप में, और लेबल फ़ॉर्मेट। सामग्री कच्चे रूप में लौटाई जाती हैं, जो संगतता विश्लेषण में सीधे उपयोग के लिए तैयार हैं। उपयोग के मामले: खरीदारी ऐप बारकोड स्कैनर के साथ • उपयोगकर्ता बारकोड स्कैन करता है और तुरंत उत्पाद का नाम, ब्रांड और सामग्री देखता है, बिना कैटलॉग बनाए रखे। किराना — कैटलॉग संवर्धन • केवल ईएएन से पहचाने गए आइटमों के लिए अनुपस्थित उत्पाद डेटा (शीर्षक, ब्रांड, सामग्री) भरें।

GET
/products/{ean}
Products
लागत: 10 क्रेडिट

उत्तर

200
application/json
object

ProductInfoResult

टुडू मास्टर कैटलॉग से EAN द्वारा देखी गई मूल उत्पाद जानकारी। एंडपॉइंट्स डिज़ाइन के अनुसार अलग-अलग हैं: यह वाला वर्णनात्मक फ़ील्ड्स ले जाता है, जबकि मैक्रोन्यूट्रिएंट्स और संगतता अपने-अपने EAN-आधारित एंडपॉइंट्स पर रहते हैं। प्रतिक्रियाओं को 'ean' पर मर्ज करें।

object

ean

सामान्यीकृत EAN: by-EAN endpoints के उत्तरों को मर्ज करने के लिए उपयोग की जाने वाली canonical key

string

title?

उत्पाद शीर्षक। बिक्री नामकरण पर वापस जाता है। अज्ञात होने पर शून्य

string | null

brand?

ब्रांड। अज्ञात होने पर शून्य

string | null

ingredients?

लेबल पर मुद्रित अनुसार, एकल कच्चे स्ट्रिंग के रूप में सामग्री सूची। अज्ञात होने पर शून्य

string | null

format?

लेबल प्रारूप / पैक आकार (जैसे "500 g"). अज्ञात होने पर शून्य

string | null
204
application/json

No Content

इस एंडपॉइंट के लिए कोई स्कीमा उपलब्ध नहीं हैं।

401
application/json
object

अधिकृत नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
403
application/json
object

निषिद्ध

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
406
application/json
object

स्वीकृत नहीं

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
422
application/json
object

अप्रसंस्कृत इकाई

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
429
application/json
object

बहुत अधिक अनुरोध (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
500
application/json
object

आंतरिक सर्वर त्रुटि

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
502
application/json
object

खराब गेटवे (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string
504
application/json
object

गेटवे टाइमआउट (APIM)

ConnectProblemDetails

object

type?

string

title?

string

status?

integer<int32>

detail?

string

instance?

string

requestId?

string

traceId?

string