Now get the Ecommerce content (Products, Offers, Deals etc) you want. This page is a reference for the gridAPI, the most structured Ecommerce API available .
It is a collection of HTTP-based requests that provide access to ever-growing content in OfferGrid, along with other relevant information like cities, categories and subcategories where the products and offers exist.
This is a RESTful API, simple and promotes interoperability with use of universal technologies like HTTP, JSON, and XML. Before we dive into the API specific details, also browse the application ideas where gridAPI can be used.
- Product Search and Comparison As actionable content in something like Shopzilla
- Product Aggregation As actionable content in something like dealmandi
- Personalized shopping As actionable content in helping people get the right products to shop
- Social Recommendation for shopping As actionable content in something like shopsocially
- Pure play shop setups As actionable content In something like shopify
- Location based Product and Offer Search.
- Shopping Section on your website or web application
- Shopping as a feature of your application
- etc. etc.
gridAPI will be available to you through the use of an authorized API key. You must send this key in the HTTP request header under the tag – X-OFFERGRID-APIKEY. How to set this value depends on the tool/language you use. For example, if using XMLHTTPRequest in javascript, you could do the following:
var ogapi_request = new XMLHttpRequest(); ogapi_request.setRequestHeader('X-OFFERGRID-APIKEY', );
Note that without this key in the header, access will be denied.
gridAPI will return a list of live products and offers that match your query parameters. You should use this to get the content that align with the interest of your audience. Content returned must not be stored more than 24hrs to avoid stale content and to bring in fresh products and offers.