{"action":"created","issue":{"url":"https://api.github.com/repos/VividWeb/vivid_store/issues/19","labels_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/19/comments","events_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/19/events","html_url":"https://github.com/VividWeb/vivid_store/issues/19","id":69310762,"number":19,"title":"Discount codes","user":{"login":"Mesuva","id":1079600,"avatar_url":"https://avatars.githubusercontent.com/u/1079600?v=3","gravatar_id":"","url":"https://api.github.com/users/Mesuva","html_url":"https://github.com/Mesuva","followers_url":"https://api.github.com/users/Mesuva/followers","following_url":"https://api.github.com/users/Mesuva/following{/other_user}","gists_url":"https://api.github.com/users/Mesuva/gists{/gist_id}","starred_url":"https://api.github.com/users/Mesuva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mesuva/subscriptions","organizations_url":"https://api.github.com/users/Mesuva/orgs","repos_url":"https://api.github.com/users/Mesuva/repos","events_url":"https://api.github.com/users/Mesuva/events{/privacy}","received_events_url":"https://api.github.com/users/Mesuva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/VividWeb/vivid_store/labels/Help%20Wanted","name":"Help Wanted","color":"0052cc"},{"url":"https://api.github.com/repos/VividWeb/vivid_store/labels/Priority:%20Normal","name":"Priority: Normal","color":"009800"},{"url":"https://api.github.com/repos/VividWeb/vivid_store/labels/status:%20discussion","name":"status: discussion","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-18T13:44:38Z","updated_at":"2015-05-29T05:20:48Z","closed_at":null,"body":"A feature for the long term!"},"comment":{"url":"https://api.github.com/repos/VividWeb/vivid_store/issues/comments/106691877","html_url":"https://github.com/VividWeb/vivid_store/issues/19#issuecomment-106691877","issue_url":"https://api.github.com/repos/VividWeb/vivid_store/issues/19","id":106691877,"user":{"login":"brucewyne","id":782682,"avatar_url":"https://avatars.githubusercontent.com/u/782682?v=3","gravatar_id":"","url":"https://api.github.com/users/brucewyne","html_url":"https://github.com/brucewyne","followers_url":"https://api.github.com/users/brucewyne/followers","following_url":"https://api.github.com/users/brucewyne/following{/other_user}","gists_url":"https://api.github.com/users/brucewyne/gists{/gist_id}","starred_url":"https://api.github.com/users/brucewyne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brucewyne/subscriptions","organizations_url":"https://api.github.com/users/brucewyne/orgs","repos_url":"https://api.github.com/users/brucewyne/repos","events_url":"https://api.github.com/users/brucewyne/events{/privacy}","received_events_url":"https://api.github.com/users/brucewyne/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T05:20:48Z","updated_at":"2015-05-29T05:20:48Z","body":"Yeah - having been drowning in Magento, and working with their discount codes etc, I've got a lot of inspiration there as well.\r\n\r\nI think this is a good list to jump start on.\r\n\r\nFor more complex examples there's ideas like:\r\n    * If X amount of products are added\r\n    * if shopping cart total is minimum of X"}}