Product compatibility by EAN

EAN으로 포장 식품을 조회하고, 영양 적합성(채식주의, 비건, 글루텐 프리, 알레르기 유발 성분 등)을 가져오세요. 이 적합성은 마스터 카탈로그에 사전 계산된 플래그가 저장되어 있지 않으므로 라벨에서 실시간으로 계산됩니다. flagId/outcomeId는 'Definitions' 엔드포인트를 통해 디코딩하세요. 응답은 'ean' 키를 기준으로 다른 EAN별 엔드포인트와 병합하세요. 사용 사례: 바코드 스캐너가 있는 쇼핑 앱 • 사용자가 바코드를 스캔하면 제품이 자신의 라이프스타일 및 알레르기 프로필에 맞는지 즉시 확인할 수 있습니다. 식료품 — 카탈로그 보강 • EAN만으로 시작해 모든 카탈로그 제품에 라이프스타일 및 알레르기 적합성 정보를 보강하세요.

GET
/products/{ean}/compatibility
Products
비용: 60 크레딧

응답

200
application/json
object

ProductCompatibilityResult

EAN으로 조회한 제품의 영양 호환성은 성분과 라벨을 바탕으로 실시간으로 계산되며, 마스터 카탈로그에는 사전 계산된 플래그가 저장되지 않습니다. 기본 정보 및 EAN별 영양소 endpoint와는 별개입니다. 응답은 'ean'으로 병합하세요.

object

ean

정규화된 EAN: EAN별 엔드포인트의 응답을 병합하는 데 사용되는 표준 키

string

compatibility

object[]

AnalysisResultItem

하나의 라이프스타일 플래그에 대한 단일 영양 호환성 결과 - 로컬라이즈된 설명을 얻기 위해 'Definitions' 엔드포인트를 사용하여 디코딩할 수 있는 플래그 및 결과 식별자를 포함합니다

object

flagId

라이프스타일 플래그 식별자(예: 채식주의자, 비건, 글루텐프리) - 이 ID를 해독하고 지역화된 설명을 얻으려면 '정의' 엔드포인트를 참조하십시오.

integer<int16>

outcomeId?

결과 유형 식별자는 호환성 결과를 나타냅니다 - 이 ID를 해독하고 로컬화된 설명을 얻으려면 '정의' 엔드포인트를 참조하십시오. 결과가 결정되지 않은 경우 null입니다.

integer<uint8> | 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