FetchProductByUPC

Returns product information by their UPC code.

Arguments
auth (Required)
Your API application key.
upc (Required)
A Product's UPC Code (6, 7, 8, 11 or 12 digit number).

Example Request:
<?xml version="1.0"?>
<request>
    <auth>Key</auth>
<method>FetchProductByUPC</method>
   <params>
      <upc>073731001059</upc>
   </params> 
</request>
Example Response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
    <success>true</success>
    <usedExternal>false</usedExternal>
    <result>
        <brand>Mission</brand>
		<manufacturer><![CDATA[Mission Foods]]></manufacturer>
		<container>Box</container>
		<description><![CDATA[18 Ct Taco Shells]]></description>
		<size><![CDATA[6.75]]></size>
		<category><![CDATA[Mexican Dinner Mixes, Tortillas, Corn Shells]]></category>
		<units>Oz</units>
		<upc>073731001059</upc>
		<ProductHasImage>true</ProductHasImage>
		<ProductHasNutritionFacts>true</ProductHasNutritionFacts>
    </result>
</response>
Notes:
  • usedExternal indicates whether an external source (such as Google Shopping API) was used to satisfy the request.
  • ProductHasImage indicates whether the product has an associated image. If true, the product's image can be returned using FetchImageByUPC method
  • ProductHasNutritionFacts indicates whether the product's information contains nutrition facts. If true, the product's nutrition facts can be returned using FetchNutritionFactsByUPC method
Error Codes (40XX):
  • 01: One or more required parameters not present
  • 02: The specified UPC was invalid
  • 03: Error retrieving result set
  • 04: No products match that UPC