Based on a product model and a zipcode (or IP) parameter passed to the API, this function returns a list of rebates.
| Parameter | Description | Required |
| key | Your API Key. Contact us to get one. | Yes |
| function | Function to execute (getProductRebates). | Yes |
| model | Manufacturer model identifier. | No |
| manufacturer | Manufacturer name. | No |
| zipcode | Zip code valid (US). | No |
| ip | IP for geolocation. | No |
| output | Return results in XML or JSON (defaults to XML). | No |
Note: You must provide either zip code or ip; and model or manufacturer.
| Parameter | Description |
| request | Request from client. |
| function | Execution function. |
| output | Format data returned. |
| zipcode | Zip code requested. |
| model | Model of product requested. |
| response | Response from service. |
| code | Status code of the result (see information below). |
| msg | Further information about the result. |
| result | Query result. |
| zipcode | Zip code of result. |
| city | City for the zipcode. |
| state | State code. |
| brand | Brand of product. |
| model | Model of product. |
| rebates | List of rebates found. |
| rebate | Rebate Found. |
| id | ID of rebate. |
| name | Name of rebate. |
| provider | Provider of rebate. |
| amount | Amount of rebate. |
<api>
<request>
<function>getProductRebates</function>
<zipCode>94105</zipCode>
<model>F45078I-M</model>
<output>xml</output>
</request>
<response>
<code>200</code>
<msg>OK</msg>
</response>
<result>
<zipcode>94105</zipcode>
<city>San Francisco</city>
<state>CA</state>
<brand>AEG-Electrolux</brand>
<model>F45078I-M</model>
<rebates>
<rebate>
<id>42</id>
<name>
Wind and Fuel Cell Electric-Generating Systems
Rebate
</name>
<provider>
California Energy Commission (CEC, State of
California)
</provider>
<amount>Up to $3/watt</amount>
</rebate>
......
</rebates>
</result>
</api>