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.
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.
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 5 months ago