{"action":"created","issue":{"url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET/issues/41","repository_url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET","labels_url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET/issues/41/comments","events_url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET/issues/41/events","html_url":"https://github.com/XiaoFaye/WooCommerce.NET/issues/41","id":185361153,"number":41,"title":"How to add Category and Tags with the product?","user":{"login":"vromashin","id":6556197,"avatar_url":"https://avatars.githubusercontent.com/u/6556197?v=3","gravatar_id":"","url":"https://api.github.com/users/vromashin","html_url":"https://github.com/vromashin","followers_url":"https://api.github.com/users/vromashin/followers","following_url":"https://api.github.com/users/vromashin/following{/other_user}","gists_url":"https://api.github.com/users/vromashin/gists{/gist_id}","starred_url":"https://api.github.com/users/vromashin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vromashin/subscriptions","organizations_url":"https://api.github.com/users/vromashin/orgs","repos_url":"https://api.github.com/users/vromashin/repos","events_url":"https://api.github.com/users/vromashin/events{/privacy}","received_events_url":"https://api.github.com/users/vromashin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-26T11:00:00Z","updated_at":"2016-10-26T23:20:49Z","closed_at":null,"body":"Hi!\r\nHere is example a code:\r\n... <create product object (pr) >\r\n \r\n            pr.categories = new CategoryList();\r\n            WooCommerceNET.WooCommerce.Category cat = new Category();\r\n            cat.name=gd.goodType.name.ToString() + \"/\" + gd.goodKind.name.ToString() + \"/\" + gd.goodKindValue.name.ToString();\r\n            pr.categories.Add(cat);\r\n\r\n            pr.tags = new TagList();\r\n            Tag tg1 = new WooCommerceNET.WooCommerce.Tag();\r\n            tg1.name= gd.goodType.name.ToString();\r\n            pr.tags.Add(tg1);\r\n\r\n            Tag tg2 = new WooCommerceNET.WooCommerce.Tag();\r\n            tg2.name = gd.goodKind.name.ToString();\r\n            pr.tags.Add(tg2);\r\n\r\n            Tag tg3 = new WooCommerceNET.WooCommerce.Tag();\r\n            tg3.name = gd.goodKindValue.name.ToString();\r\n            pr.tags.Add(tg3);\r\n\r\n...<post product below>\r\n\r\nNo tags and no categories appear with the product after publish in WooCommerce. Probably I do something wrong?\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET/issues/comments/256505264","html_url":"https://github.com/XiaoFaye/WooCommerce.NET/issues/41#issuecomment-256505264","issue_url":"https://api.github.com/repos/XiaoFaye/WooCommerce.NET/issues/41","id":256505264,"user":{"login":"vromashin","id":6556197,"avatar_url":"https://avatars.githubusercontent.com/u/6556197?v=3","gravatar_id":"","url":"https://api.github.com/users/vromashin","html_url":"https://github.com/vromashin","followers_url":"https://api.github.com/users/vromashin/followers","following_url":"https://api.github.com/users/vromashin/following{/other_user}","gists_url":"https://api.github.com/users/vromashin/gists{/gist_id}","starred_url":"https://api.github.com/users/vromashin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vromashin/subscriptions","organizations_url":"https://api.github.com/users/vromashin/orgs","repos_url":"https://api.github.com/users/vromashin/repos","events_url":"https://api.github.com/users/vromashin/events{/privacy}","received_events_url":"https://api.github.com/users/vromashin/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T23:20:49Z","updated_at":"2016-10-26T23:20:49Z","body":"Thanks a lot, will try tomorrow.\r\nYou make a gread job, thanks!"}}
{"actor":{"display_login":"vromashin"}}