- Previous:
- Up:
- Next: Test
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."
}
}
- Previous:
- Up:
- Next: Test
3 Comments
Unknown – 7 years ago
Testing
Unknown – 7 years ago
testing with blackbeard on
Unknown – 5 years ago
test
Please sign in to post a comment.