API Documentation

API Call - getDealForUser

Description

This call get information about deals from Deals. Filter by deal-id to look up one deal, publisher-id to look up all deals by a particular publisher, or store-id to look up deals from a store. If passed in a user-id, this call will return the savings and final price for the user for this deal.

Parameters

Param Required? Description
pid yes your chompon publisher-id
auth yes your chompon authentication-key
type no either JSON or XML. default is XML
uid no user-id
did no deal-id
ctipped no "true" or "false" - the API call should return if the deal has been tipped yet

Examples

Get information about a particular deal and a particular user:
https://www.chompon.com/api.php?pid=12&auth=26a4171b3c38b868&method=getDealForUser&uid=25&did=987&type=xml

© 2010 ChompOn, Inc.

Please enter your email and password.

or Sign Up!