{"id":7214801,"date":"2016-03-28T14:18:04","date_gmt":"2016-03-28T14:18:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-insert-order-directly-into-database\/"},"modified":"2016-08-31T15:10:34","modified_gmt":"2016-08-31T15:10:34","slug":"how-to-insert-order-directly-into-database","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-insert-order-directly-into-database\/","title":{"rendered":"how to insert order directly into database"},"content":{"rendered":"<p>hello,,<br \/>\nI got the sku of any product through URL,,like https:\/\/www.example.com\/my-account\/?sku=4712867026104<br \/>\nokk,then when user logged in through this url the order must be placed of perticular product directly into database through this SKU,,<\/p>\n<p>but i don&#8217;t know in which table data will be inserted and how to show the order that will be placed in perticular user&#8217;s account&#8217;s  order section,,<\/p>\n<p>please help,,<\/p>\n<p>https:\/\/wordpress.org\/plugins\/woocommerce\/<\/p>\n","protected":false},"template":"","class_list":["post-7214801","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7214801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7214801\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7214801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}