Disable All Advertising
EAN-130022810000018   EAN-13 barcode 0022810000018
UPC-A022810000018   UPC-A barcode 022810000018
UPC-E02281148   UPC-E barcode 02281148
BrandAnvil International
Product NameAnvil International 8700132502 .13 in. Galvanized Pipe Cap
CategoryHome
Short DescriptionFeatures Galvanized Pipe Cap. Size - 1/8 in. Dimension - 0.5 x 0.5 x 0.5 in. Item weight - 0.04 lbs.
Model228114
Created06-17-2021 4:33:46am
Modified06-17-2021 4:33:50am
MD5c7b757e5a97231943c4321c6a32a8321
SHA256ae9809576ee681ed0211c65c044a836d4216d12310349fc5aab4eeaffe4ea285
Search Googleby EAN or by Title
Query Time0.0053861

Article of interest

With version 3.2 comes a new way to handle product images. This should give you more control over the images you display.

Prior to version 3.2, you simply had to check for the existance of the product>image property. If it existed and was not blank, you could safely display the image. 

Starting with version 3.2, you may want to check one more field before you display the product image. Many API users wanted access to the pending images. The only reasonable way to do this was to add a new property named product>hasImage which can be one of four values.

If you are displaying the product images to your users and you DO NOT want to display pending images that have not been checked, you should only display the image if product>hasImage=Yes. If you want to show production and pending images, you can simply check the product>image property if you like. We suggest using product>hasImage as your main check and only display the image if it meets your needs. Here are samples of the JSON structure.

The property product>hasImage will always be regurned even if you specified a list of properties in the "get" string that does not include the image property. The main reason for this is that it is possible to calculate the image path on your side thereby saving the bandwidth of returning the image path.

If you want to calculate the path to the image on your end instead of requesting it from us, you can do this in two ways. 

  1. If product>hasImage=Pending then simply use the path https://eandata.com/image/pending/{13_digit_EAN}.jpg
  2. If product>hasImage=Yes then it gets a little more tricky. We split the images into subfolders because there are so many of them. To calculate the path start with the 13 digit EAN and split it up like this: https://eandata.com/image/product/{1st_3_digits}/{2nd_3_digits}/{3rd_3_digits}/{13_digit_EAN}.jpg

This should make interacting with product and pending images much easier for you. Look at the example JSON shown above for working exmples of image paths.

Close

Search

Close

Share