Searching by UPC in Product Data
How to Search for a Product With UPC
One of the more common use cases we see is customers searching for products by
UPC. You can do this in the Portal or with our API. Let's review both use cases.
1. Searching by UPC in the API
Let's take this UPC
190403225817, which is for an iPhone X, as our example.
If you know that what you're using is a UPC, you can just use the UPC field and plug in this value, like this:
What if my value is not for sure a UPC?
No worries! We have the GTINs field for any value that you think is a UPC, but could be an EAN, ISBN, UPC, UPCa, or UPCe. You can replace
upcin the above query with
gtinsand still get the same result. Learn more about GTINs.
I take that and put it into Postman, like this:
Does this query not make sense to you?
If this query structure doesn't make sense to you, please check out either the Postman: Product Data walkthrough to review query composition and then come back.
When I hit
Send, the API will return the product that corresponds to this UPC.
And there you have it! You have now searched for a product in by UPC using Datafiniti's API.
2. Searching by UPC in the Portal
Using the techniques discussed in the Portal: Advanced Query tutorial, we can take the above query and translate it into a URL request on the portal.
You can copy and paste the text from the
Text tab above into a new browser window or tab and it'll show you the same product.
Updated about 1 year ago
Now that you've found the products you want, check out how to download the results!