{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/8909","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8909/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8909/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8909/events","html_url":"https://github.com/woothemes/woocommerce/issues/8909","id":102236463,"number":8909,"title":"Add to Card via REST","user":{"login":"rotherfuchs","id":3027083,"avatar_url":"https://avatars.githubusercontent.com/u/3027083?v=3","gravatar_id":"","url":"https://api.github.com/users/rotherfuchs","html_url":"https://github.com/rotherfuchs","followers_url":"https://api.github.com/users/rotherfuchs/followers","following_url":"https://api.github.com/users/rotherfuchs/following{/other_user}","gists_url":"https://api.github.com/users/rotherfuchs/gists{/gist_id}","starred_url":"https://api.github.com/users/rotherfuchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotherfuchs/subscriptions","organizations_url":"https://api.github.com/users/rotherfuchs/orgs","repos_url":"https://api.github.com/users/rotherfuchs/repos","events_url":"https://api.github.com/users/rotherfuchs/events{/privacy}","received_events_url":"https://api.github.com/users/rotherfuchs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-20T21:02:29Z","updated_at":"2015-12-18T10:14:18Z","closed_at":"2015-08-21T01:34:53Z","body":"It would be splendid if you could provide a way to add a product to the card via the REST API, for instance a POST on `/wc-api/v3/products/cart` providing the product ID as payload argument."},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/165739056","html_url":"https://github.com/woothemes/woocommerce/issues/8909#issuecomment-165739056","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/8909","id":165739056,"user":{"login":"niwinnm","id":7889333,"avatar_url":"https://avatars.githubusercontent.com/u/7889333?v=3","gravatar_id":"","url":"https://api.github.com/users/niwinnm","html_url":"https://github.com/niwinnm","followers_url":"https://api.github.com/users/niwinnm/followers","following_url":"https://api.github.com/users/niwinnm/following{/other_user}","gists_url":"https://api.github.com/users/niwinnm/gists{/gist_id}","starred_url":"https://api.github.com/users/niwinnm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niwinnm/subscriptions","organizations_url":"https://api.github.com/users/niwinnm/orgs","repos_url":"https://api.github.com/users/niwinnm/repos","events_url":"https://api.github.com/users/niwinnm/events{/privacy}","received_events_url":"https://api.github.com/users/niwinnm/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T10:14:18Z","updated_at":"2015-12-18T10:14:18Z","body":"@claudiosan I used the create order endpoint to create a new order. I am getting a successful response, but if I try sending the user to the \"view_order_url\" returned by the Create order API, the website says \"Invalid Order\""}}