Sign in | Sign up

UPC doesn't get returned

Tagged:

Currently contains 2 posts

Avatar

June 10, 2015 15:21

kawa-marcin

Hi, we are using Nutriotionix to perform queries both by UPC (when a user scans a product) and by free text eg: ‘coca cola’. However, in the latter case we would like to receive the UPC back so we can match this with other searches.

The API doesn’t seem to return this, even when a ‘*’ is supplied in the fields input.

Are we doing something wrong?

Thanks for your help!

Avatar

June 10, 2015 15:24

Matt Silverman

Hi, at this time the UPC lookup is a “one-way” search, and we do not provide the UPC with products when they are searched by name.

I am not sure how you would use the UPC in a search result to match to anything else, since a UPC only represents a single product. We have no plan to change this, but feel free to provide more details so we can better understand your use case.

Reply to thread