{"action":"closed","number":10978,"pull_request":{"url":"https://api.github.com/repos/woothemes/woocommerce/pulls/10978","id":71150779,"html_url":"https://github.com/woothemes/woocommerce/pull/10978","diff_url":"https://github.com/woothemes/woocommerce/pull/10978.diff","patch_url":"https://github.com/woothemes/woocommerce/pull/10978.patch","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10978","number":10978,"state":"closed","locked":false,"title":"Create base order func","user":{"login":"mattallan","id":2275145,"avatar_url":"https://avatars.githubusercontent.com/u/2275145?v=3","gravatar_id":"","url":"https://api.github.com/users/mattallan","html_url":"https://github.com/mattallan","followers_url":"https://api.github.com/users/mattallan/followers","following_url":"https://api.github.com/users/mattallan/following{/other_user}","gists_url":"https://api.github.com/users/mattallan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattallan/subscriptions","organizations_url":"https://api.github.com/users/mattallan/orgs","repos_url":"https://api.github.com/users/mattallan/repos","events_url":"https://api.github.com/users/mattallan/events{/privacy}","received_events_url":"https://api.github.com/users/mattallan/received_events","type":"User","site_admin":false},"body":"Similar patches were made to the previous wc-api: https://github.com/woothemes/woocommerce/pull/7303 and https://github.com/woothemes/woocommerce/pull/7280.\r\n\r\nThese changes are mostly to avoid having to rewrite the `create_order()` function custom order types (i.e. Subscriptions) when creating our own endpoints.\r\n\r\n","created_at":"2016-05-24T02:51:24Z","updated_at":"2016-05-24T11:30:35Z","closed_at":"2016-05-24T11:30:35Z","merged_at":"2016-05-24T11:30:35Z","merge_commit_sha":"ca93e0869dc68bb73964c6db3836aea507e7a904","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/woothemes/woocommerce/pulls/10978/commits","review_comments_url":"https://api.github.com/repos/woothemes/woocommerce/pulls/10978/comments","review_comment_url":"https://api.github.com/repos/woothemes/woocommerce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10978/comments","statuses_url":"https://api.github.com/repos/woothemes/woocommerce/statuses/a6eada7c14cd71d2c8bb5601c9638ba9d7682259","head":{"label":"mattallan:create_base_order_func","ref":"create_base_order_func","sha":"a6eada7c14cd71d2c8bb5601c9638ba9d7682259","user":{"login":"mattallan","id":2275145,"avatar_url":"https://avatars.githubusercontent.com/u/2275145?v=3","gravatar_id":"","url":"https://api.github.com/users/mattallan","html_url":"https://github.com/mattallan","followers_url":"https://api.github.com/users/mattallan/followers","following_url":"https://api.github.com/users/mattallan/following{/other_user}","gists_url":"https://api.github.com/users/mattallan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattallan/subscriptions","organizations_url":"https://api.github.com/users/mattallan/orgs","repos_url":"https://api.github.com/users/mattallan/repos","events_url":"https://api.github.com/users/mattallan/events{/privacy}","received_events_url":"https://api.github.com/users/mattallan/received_events","type":"User","site_admin":false},"repo":{"id":29274159,"name":"woocommerce","full_name":"mattallan/woocommerce","owner":{"login":"mattallan","id":2275145,"avatar_url":"https://avatars.githubusercontent.com/u/2275145?v=3","gravatar_id":"","url":"https://api.github.com/users/mattallan","html_url":"https://github.com/mattallan","followers_url":"https://api.github.com/users/mattallan/followers","following_url":"https://api.github.com/users/mattallan/following{/other_user}","gists_url":"https://api.github.com/users/mattallan/gists{/gist_id}","starred_url":"https://api.github.com/users/mattallan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattallan/subscriptions","organizations_url":"https://api.github.com/users/mattallan/orgs","repos_url":"https://api.github.com/users/mattallan/repos","events_url":"https://api.github.com/users/mattallan/events{/privacy}","received_events_url":"https://api.github.com/users/mattallan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mattallan/woocommerce","description":"An open source eCommerce plugin for WordPress created by WooThemes.","fork":true,"url":"https://api.github.com/repos/mattallan/woocommerce","forks_url":"https://api.github.com/repos/mattallan/woocommerce/forks","keys_url":"https://api.github.com/repos/mattallan/woocommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattallan/woocommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattallan/woocommerce/teams","hooks_url":"https://api.github.com/repos/mattallan/woocommerce/hooks","issue_events_url":"https://api.github.com/repos/mattallan/woocommerce/issues/events{/number}","events_url":"https://api.github.com/repos/mattallan/woocommerce/events","assignees_url":"https://api.github.com/repos/mattallan/woocommerce/assignees{/user}","branches_url":"https://api.github.com/repos/mattallan/woocommerce/branches{/branch}","tags_url":"https://api.github.com/repos/mattallan/woocommerce/tags","blobs_url":"https://api.github.com/repos/mattallan/woocommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattallan/woocommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattallan/woocommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattallan/woocommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattallan/woocommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/mattallan/woocommerce/languages","stargazers_url":"https://api.github.com/repos/mattallan/woocommerce/stargazers","contributors_url":"https://api.github.com/repos/mattallan/woocommerce/contributors","subscribers_url":"https://api.github.com/repos/mattallan/woocommerce/subscribers","subscription_url":"https://api.github.com/repos/mattallan/woocommerce/subscription","commits_url":"https://api.github.com/repos/mattallan/woocommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattallan/woocommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattallan/woocommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattallan/woocommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattallan/woocommerce/contents/{+path}","compare_url":"https://api.github.com/repos/mattallan/woocommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattallan/woocommerce/merges","archive_url":"https://api.github.com/repos/mattallan/woocommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattallan/woocommerce/downloads","issues_url":"https://api.github.com/repos/mattallan/woocommerce/issues{/number}","pulls_url":"https://api.github.com/repos/mattallan/woocommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/mattallan/woocommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/mattallan/woocommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattallan/woocommerce/labels{/name}","releases_url":"https://api.github.com/repos/mattallan/woocommerce/releases{/id}","deployments_url":"https://api.github.com/repos/mattallan/woocommerce/deployments","created_at":"2015-01-15T01:09:35Z","updated_at":"2015-01-15T01:09:39Z","pushed_at":"2016-05-24T02:43:02Z","git_url":"git://github.com/mattallan/woocommerce.git","ssh_url":"git@github.com:mattallan/woocommerce.git","clone_url":"https://github.com/mattallan/woocommerce.git","svn_url":"https://github.com/mattallan/woocommerce","homepage":"http://www.woothemes.com/woocommerce/","size":111429,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"woothemes:master","ref":"master","sha":"7645558131199c63b4168ad014e3078e2d951fc6","user":{"login":"woothemes","id":473596,"avatar_url":"https://avatars.githubusercontent.com/u/473596?v=3","gravatar_id":"","url":"https://api.github.com/users/woothemes","html_url":"https://github.com/woothemes","followers_url":"https://api.github.com/users/woothemes/followers","following_url":"https://api.github.com/users/woothemes/following{/other_user}","gists_url":"https://api.github.com/users/woothemes/gists{/gist_id}","starred_url":"https://api.github.com/users/woothemes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woothemes/subscriptions","organizations_url":"https://api.github.com/users/woothemes/orgs","repos_url":"https://api.github.com/users/woothemes/repos","events_url":"https://api.github.com/users/woothemes/events{/privacy}","received_events_url":"https://api.github.com/users/woothemes/received_events","type":"Organization","site_admin":false},"repo":{"id":2179920,"name":"woocommerce","full_name":"woothemes/woocommerce","owner":{"login":"woothemes","id":473596,"avatar_url":"https://avatars.githubusercontent.com/u/473596?v=3","gravatar_id":"","url":"https://api.github.com/users/woothemes","html_url":"https://github.com/woothemes","followers_url":"https://api.github.com/users/woothemes/followers","following_url":"https://api.github.com/users/woothemes/following{/other_user}","gists_url":"https://api.github.com/users/woothemes/gists{/gist_id}","starred_url":"https://api.github.com/users/woothemes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woothemes/subscriptions","organizations_url":"https://api.github.com/users/woothemes/orgs","repos_url":"https://api.github.com/users/woothemes/repos","events_url":"https://api.github.com/users/woothemes/events{/privacy}","received_events_url":"https://api.github.com/users/woothemes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/woothemes/woocommerce","description":"An open source eCommerce plugin for WordPress created by WooThemes.","fork":false,"url":"https://api.github.com/repos/woothemes/woocommerce","forks_url":"https://api.github.com/repos/woothemes/woocommerce/forks","keys_url":"https://api.github.com/repos/woothemes/woocommerce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woothemes/woocommerce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woothemes/woocommerce/teams","hooks_url":"https://api.github.com/repos/woothemes/woocommerce/hooks","issue_events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/events{/number}","events_url":"https://api.github.com/repos/woothemes/woocommerce/events","assignees_url":"https://api.github.com/repos/woothemes/woocommerce/assignees{/user}","branches_url":"https://api.github.com/repos/woothemes/woocommerce/branches{/branch}","tags_url":"https://api.github.com/repos/woothemes/woocommerce/tags","blobs_url":"https://api.github.com/repos/woothemes/woocommerce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woothemes/woocommerce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woothemes/woocommerce/git/refs{/sha}","trees_url":"https://api.github.com/repos/woothemes/woocommerce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woothemes/woocommerce/statuses/{sha}","languages_url":"https://api.github.com/repos/woothemes/woocommerce/languages","stargazers_url":"https://api.github.com/repos/woothemes/woocommerce/stargazers","contributors_url":"https://api.github.com/repos/woothemes/woocommerce/contributors","subscribers_url":"https://api.github.com/repos/woothemes/woocommerce/subscribers","subscription_url":"https://api.github.com/repos/woothemes/woocommerce/subscription","commits_url":"https://api.github.com/repos/woothemes/woocommerce/commits{/sha}","git_commits_url":"https://api.github.com/repos/woothemes/woocommerce/git/commits{/sha}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/comments{/number}","issue_comment_url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments{/number}","contents_url":"https://api.github.com/repos/woothemes/woocommerce/contents/{+path}","compare_url":"https://api.github.com/repos/woothemes/woocommerce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woothemes/woocommerce/merges","archive_url":"https://api.github.com/repos/woothemes/woocommerce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woothemes/woocommerce/downloads","issues_url":"https://api.github.com/repos/woothemes/woocommerce/issues{/number}","pulls_url":"https://api.github.com/repos/woothemes/woocommerce/pulls{/number}","milestones_url":"https://api.github.com/repos/woothemes/woocommerce/milestones{/number}","notifications_url":"https://api.github.com/repos/woothemes/woocommerce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woothemes/woocommerce/labels{/name}","releases_url":"https://api.github.com/repos/woothemes/woocommerce/releases{/id}","deployments_url":"https://api.github.com/repos/woothemes/woocommerce/deployments","created_at":"2011-08-09T15:12:11Z","updated_at":"2016-05-23T23:14:15Z","pushed_at":"2016-05-24T11:30:35Z","git_url":"git://github.com/woothemes/woocommerce.git","ssh_url":"git@github.com:woothemes/woocommerce.git","clone_url":"https://github.com/woothemes/woocommerce.git","svn_url":"https://github.com/woothemes/woocommerce","homepage":"http://www.woothemes.com/woocommerce/","size":128038,"stargazers_count":2710,"watchers_count":2710,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2202,"mirror_url":null,"open_issues_count":39,"forks":2202,"open_issues":39,"watchers":2710,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/10978"},"html":{"href":"https://github.com/woothemes/woocommerce/pull/10978"},"issue":{"href":"https://api.github.com/repos/woothemes/woocommerce/issues/10978"},"comments":{"href":"https://api.github.com/repos/woothemes/woocommerce/issues/10978/comments"},"review_comments":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/10978/comments"},"review_comment":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/woothemes/woocommerce/pulls/10978/commits"},"statuses":{"href":"https://api.github.com/repos/woothemes/woocommerce/statuses/a6eada7c14cd71d2c8bb5601c9638ba9d7682259"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mikejolley","id":90977,"avatar_url":"https://avatars.githubusercontent.com/u/90977?v=3","gravatar_id":"","url":"https://api.github.com/users/mikejolley","html_url":"https://github.com/mikejolley","followers_url":"https://api.github.com/users/mikejolley/followers","following_url":"https://api.github.com/users/mikejolley/following{/other_user}","gists_url":"https://api.github.com/users/mikejolley/gists{/gist_id}","starred_url":"https://api.github.com/users/mikejolley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikejolley/subscriptions","organizations_url":"https://api.github.com/users/mikejolley/orgs","repos_url":"https://api.github.com/users/mikejolley/repos","events_url":"https://api.github.com/users/mikejolley/events{/privacy}","received_events_url":"https://api.github.com/users/mikejolley/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":14,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"mikejolley"}}