GPN API Introduction
See the following for a full list of available Groupon Partner Network APIs:
The Deal API provides programmatic access to hundreds of thousands of Groupon deals. You'll be able to search for deals by location, channels, and categories, so that you can integrate the deals directly into your site or app.
The Division API provides an up-to-date list of all launched divisions or cities supported by the Groupon API.
The Transaction API provides a full list of transactions -- sale, refund, bounty, etc. Use this API to retrieve a comprehensive record transactions between certain dates, including transaction status changes for sales.
The endpoints consist of a number of dimensions and measures.
Dimensions allow data analysis from various perspectives. For example, date dimension could show you the breakdown of sales by year, month, day and hour.
Campaign dimension could help you see which campaigns bring in the most revenue, sales or commission paid. Measures are numeric representations of a set of facts that have occurred. Examples of measures include number of sales,
number of clicks, commission paid, conversion rate, and so forth. Our data warehouse is queried using the GET method of the HTTP protocol.
The Campaign API provides impressions, events, and order data by link. Use this API if you want to see the engagement and sale performance of individual links. This information is also available through the Reports dashboard in the GPN portal.
The Order API provides reporting over order attributes. Use this API when you want ad-hoc reports with counts and totals over different time periods or grouped by date, category, platform and other attributes.
The Ledger API provides aggregated commission amounts by date. Use the Ledger API if you want to know how much commission you've earned within a certain date range.