{"action":"created","issue":{"url":"https://api.github.com/repos/ezael/magento-2-api-made-easy/issues/3","repository_url":"https://api.github.com/repos/ezael/magento-2-api-made-easy","labels_url":"https://api.github.com/repos/ezael/magento-2-api-made-easy/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ezael/magento-2-api-made-easy/issues/3/comments","events_url":"https://api.github.com/repos/ezael/magento-2-api-made-easy/issues/3/events","html_url":"https://github.com/ezael/magento-2-api-made-easy/issues/3","id":174472791,"number":3,"title":"Response \"Shipping address is not set\" for  set-payment-information  Magento 2 Rest API","user":{"login":"Giri-Happiest-Minds","id":21360847,"avatar_url":"https://avatars.githubusercontent.com/u/21360847?v=3","gravatar_id":"","url":"https://api.github.com/users/Giri-Happiest-Minds","html_url":"https://github.com/Giri-Happiest-Minds","followers_url":"https://api.github.com/users/Giri-Happiest-Minds/followers","following_url":"https://api.github.com/users/Giri-Happiest-Minds/following{/other_user}","gists_url":"https://api.github.com/users/Giri-Happiest-Minds/gists{/gist_id}","starred_url":"https://api.github.com/users/Giri-Happiest-Minds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Giri-Happiest-Minds/subscriptions","organizations_url":"https://api.github.com/users/Giri-Happiest-Minds/orgs","repos_url":"https://api.github.com/users/Giri-Happiest-Minds/repos","events_url":"https://api.github.com/users/Giri-Happiest-Minds/events{/privacy}","received_events_url":"https://api.github.com/users/Giri-Happiest-Minds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-01T09:06:32Z","updated_at":"2016-09-01T11:56:58Z","closed_at":null,"body":"JSON Reference: http://devdocs.magento.com/swagger/index.html#/ \r\n\r\nSteps followed\r\nStep 1 --> http://<magentohost>/rest/default/V1/guest-carts  -- 200 OK\r\nStep 2 --> http://<magentohost>/rest/default/V1/guest-carts/{cart id}/items  -- 200 OK\r\nStep 3 --> http://<magentohost>/rest/default/V1/guest-carts/{cart id}/shipping-information – 200 OK\r\nStep 4 --> http://<magentohost>/rest/default/V1/guest-carts/{cart id}/set-payment-information  -- 400 Bad Request and the response JSON as\r\n{\r\n  \"message\": \"Shipping address is not set\"\r\n}\r\n\r\n\r\nRequest JSON details:\r\n{\r\n  \"email\": \"happy5648@gmal.com\",\r\n  \"paymentMethod\": {\r\n    \"po_number\": \"123\",\r\n    \"method\": \"purchaseorder\",\r\n    \"additional_data\": [\r\n      \"\"\r\n    ],\r\n    \"extension_attributes\": {\r\n     \"agreement_ids\": [\r\n        \"\"\r\n      ]\r\n    }\r\n  },\r\n  \"billingAddress\": {\r\n      \"id\": 1,\r\n    \"region\": \"Virginia\",\r\n    \"region_id\": \"Virginia\",\r\n    \"region_code\": \"VA\",\r\n    \"country_id\": \"US\",\r\n    \"street\": [\r\n      \"Symbiosis College\"\r\n    ],\r\n    \"company\": \"Happiest\",\r\n    \"telephone\": \"9090909090\",\r\n    \"fax\": \"13232212589\",\r\n    \"postcode\": \"51\",\r\n    \"city\": \"Bangalore\",\r\n    \"firstname\": \"Name\",\r\n    \"lastname\": \"lastName\",\r\n    \"middlename\": \"Middle\",\r\n    \"prefix\": \"Mr\",\r\n    \"suffix\": \"\",\r\n    \"vat_id\": null,\r\n    \"customer_id\": 1,\r\n    \"email\": \"abc.xyz@gmail.com\",\r\n    \"same_as_billing\": 0,\r\n    \"customer_address_id\": 0,\r\n    \"save_in_address_book\": 0,\r\n    \"extension_attributes\": {},\r\n    \"custom_attributes\": [\r\n      {\r\n        \"attribute_code\": \"\",\r\n        \"value\": \"\"\r\n      }\r\n    ]\r\n  }\r\n}\r\n\r\nPlease help resolve this issue.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ezael/magento-2-api-made-easy/issues/comments/244056919","html_url":"https://github.com/ezael/magento-2-api-made-easy/issues/3#issuecomment-244056919","issue_url":"https://api.github.com/repos/ezael/magento-2-api-made-easy/issues/3","id":244056919,"user":{"login":"Giri-Happiest-Minds","id":21360847,"avatar_url":"https://avatars.githubusercontent.com/u/21360847?v=3","gravatar_id":"","url":"https://api.github.com/users/Giri-Happiest-Minds","html_url":"https://github.com/Giri-Happiest-Minds","followers_url":"https://api.github.com/users/Giri-Happiest-Minds/followers","following_url":"https://api.github.com/users/Giri-Happiest-Minds/following{/other_user}","gists_url":"https://api.github.com/users/Giri-Happiest-Minds/gists{/gist_id}","starred_url":"https://api.github.com/users/Giri-Happiest-Minds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Giri-Happiest-Minds/subscriptions","organizations_url":"https://api.github.com/users/Giri-Happiest-Minds/orgs","repos_url":"https://api.github.com/users/Giri-Happiest-Minds/repos","events_url":"https://api.github.com/users/Giri-Happiest-Minds/events{/privacy}","received_events_url":"https://api.github.com/users/Giri-Happiest-Minds/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T11:56:58Z","updated_at":"2016-09-01T11:56:58Z","body":"Thanks for the quick response.\r\n\r\nI have tried with the above changes but still I am getting same issue."}}
{"actor":{"display_login":"Giri-Happiest-Minds"}}