• Register
  • API Network
  • Up: 

Documentation

How to call the Daily Deals API 

Here is a link to the next version (v2) of the API: API revision 2

See link above

 

The Daily Deals API is a RESTful API that you call as follows:

http://api.acmeapparelstore.com/deal?apikey=<place your key here>

Response format

The API returns a JSON response that includes:

 

  • dailyDealId: the identifier for the specific deal
  • discountPercentage: the amount of the discount from the regular price
  • product: the actual product for this deal

Here's a sample response:

{
"dailyDealId": "243",
"discountPercentage": "0",
"product": {
  "productId": "1010",
  "brandId": "105",
  "departmentId": "3",
  "name": "Tommy Hilfiger Kids Sweater, Boys Jake Argyle Sweater",
  "description": "The perfect preppy addition to his seasonal attire is this mock neck quarter-zip from Tommy Hilfiger. Bullet(s) Quarter-zip styling; argyle pattern."
  }
}
  • Up: 

3 Comments

  1. Unknown7 years ago

    Testing

  2. Unknown7 years ago

    testing with blackbeard on

  3. Unknown5 years ago

    test

Please sign in to post a comment.