Commit Graph

744 Commits

Author SHA1 Message Date
Claudio Sanches 7dcfcc9dfc Allow filter orders by product 2016-03-30 20:26:51 -03:00
Claudio Sanches bb7e5ecfb6 Allow filter products by taxonomies and sku 2016-03-30 20:05:12 -03:00
Claudio Sanches 5d99b8b336 Register dp filter for orders and allow filter orders by customer id 2016-03-30 19:11:56 -03:00
Claudio Sanches 9619c041cd Allow filter coupons by code 2016-03-30 18:42:51 -03:00
Claudio Sanches 1722f95a95 Allow filter customers by role or email 2016-03-30 18:33:37 -03:00
Claudio Sanches f78a2ec68b Added endpoint to list customer downloads 2016-03-30 18:12:34 -03:00
Claudio Sanches f76f0d8472 Check permissions in customers/me endpoint 2016-03-30 17:39:20 -03:00
Claudio Sanches 0cd16b3cc0 Fixed file description 2016-03-30 17:34:36 -03:00
Claudio Sanches 8e9e9526ac Fixed date params 2016-03-30 14:53:46 -03:00
Claudio Sanches f574a149d1 Attributes permissions 2016-03-30 14:49:22 -03:00
Claudio Sanches 82a6a5f18e Settings and reports permissions 2016-03-30 14:33:33 -03:00
Claudio Sanches 0fce9c5243 New product terms permissions 2016-03-30 14:17:40 -03:00
Claudio Sanches 768492c02c Fixed customer permissions 2016-03-30 11:54:49 -03:00
Claudio Sanches dedfe41c37 User permissions 2016-03-30 11:53:14 -03:00
Claudio Sanches 7afcc8482e Improved permissions for order notes and webhook deliveries 2016-03-30 11:43:01 -03:00
Claudio Sanches f4012b7f1f Reviewed post permissions 2016-03-30 11:17:16 -03:00
Claudio Sanches 124a4291b0 Created new method to save product taxonomy terms 2016-03-29 22:06:05 -03:00
Claudio Sanches dc6b4e95c8 Added method to show product taxonomy terms 2016-03-29 21:57:05 -03:00
Claudio Sanches f675d49a54 Return product default attributes 2016-03-29 21:46:35 -03:00
Claudio Sanches 5bf8c808fc Added methods to create and edit products 2016-03-29 21:22:10 -03:00
Claudio Sanches a16b32825f Fixed rest functions names 2016-03-29 19:54:37 -03:00
Claudio Sanches ae2b3eb3fc Check if coupon code is empty 2016-03-29 19:11:49 -03:00
Claudio Sanches a0290a6c65 Stop check again if coupon have code when creating 2016-03-29 19:09:55 -03:00
Claudio Sanches d781e10d63 Coding standards 2016-03-29 17:24:32 -03:00
Claudio Sanches 8219cee256 Added methods to list and get products 2016-03-29 17:20:15 -03:00
Claudio Sanches cb2b9b3e50 Products schema 2016-03-29 15:48:08 -03:00
Claudio Sanches 9b9d40d7e9 Create order refunds 2016-03-28 17:33:13 -03:00
Claudio Sanches 90bdabcf41 Added methods to list and get order refunds 2016-03-28 16:41:17 -03:00
Claudio Sanches 0569ad3ca7 Refunds schema and improve delete and query 2016-03-28 16:21:02 -03:00
Claudio Sanches 6629395797 Fixed description for orders schema 2016-03-28 16:17:11 -03:00
Claudio Sanches 2cd2b54c29 Fixed order delete 2016-03-28 16:10:05 -03:00
Claudio Sanches 9738ee04c2 Update orders 2016-03-28 16:04:24 -03:00
Claudio Sanches 242b362020 Fixed file names 2016-03-28 09:25:50 -03:00
Claudio Sanches 90458a8de5 Allow create orders 2016-03-28 09:22:54 -03:00
Claudio Sanches 194b40ecb9 Created exception class 2016-03-28 09:22:44 -03:00
Claudio Sanches 855ff7e6fe Check if customer exists and improved address and meta data 2016-03-24 18:04:27 -03:00
Claudio Sanches c4c7ef6da9 Added method to add metadata 2016-03-24 17:55:51 -03:00
Claudio Sanches 8bc11ddebd Save payment and currency when creating orders 2016-03-24 17:43:14 -03:00
Claudio Sanches 1bbbbf70f5 Added initial methods to create an order 2016-03-24 17:25:10 -03:00
Claudio Sanches 91dd99e472 Added methods to list and get orders 2016-03-23 19:19:08 -03:00
Claudio Sanches efe4b76559 New order schema 2016-03-23 09:46:34 -03:00
Claudio Sanches 7c84066ad7 Initial order schema 2016-03-23 08:30:58 -03:00
Claudio Sanches 3a0bf6c9b8 Added method to delete order notes 2016-03-22 15:49:41 -03:00
Claudio Sanches 5d5f995011 Allow create order notes 2016-03-22 15:31:27 -03:00
Claudio Sanches 3fc4effed4 Added collection params for order notes 2016-03-22 15:17:35 -03:00
Claudio Sanches 2617642d5d Added methods to list and get order notes 2016-03-22 15:13:33 -03:00
Claudio Sanches 7a7856ab7e Order notes schema 2016-03-22 14:53:46 -03:00
Manos Psychogyiopoulos 00b9887936 add order line item args filter to wc api/cli set_line_item method 2016-03-21 14:39:51 +02:00
Claudio Sanches 312105b350 Improved basic authentication 2016-03-18 10:18:44 -03:00
Claudio Sanches f2728446ca Improved returned values from authentication 2016-03-18 09:50:54 -03:00
Claudio Sanches 8a45c94425 Use perid for all responses 2016-03-18 08:51:48 -03:00
Claudio Sanches 98f4f21104 Pass correct unauthorized headers for basic auth 2016-03-18 08:47:57 -03:00
Claudio Sanches a0b0489014 Handle oauth1.0a authentication on REST API 2016-03-18 08:37:31 -03:00
Claudio Sanches ed2d72fc0d Verify API Key permissions 2016-03-18 07:24:59 -03:00
Claudio Sanches eb5db423cc Handle basic authentication on REST API 2016-03-18 06:53:09 -03:00
Claudio Sanches 631c814448 [API] Allow save image ID when saving product variations, closes #10570 2016-03-16 15:05:14 -03:00
Claudio Sanches 708c872107 Fixed webhook deliveries schema 2016-03-15 19:40:54 -03:00
Claudio Sanches 0ab93eebeb Crated methods to list and get webhook deliveries 2016-03-15 19:38:48 -03:00
Claudio Sanches bd3b5e986e Added default context for tax classes 2016-03-15 19:38:38 -03:00
Claudio Sanches 56a4df6eb5 Webhook deliveries schema 2016-03-15 19:02:13 -03:00
Claudio Sanches ebc397df31 Allow query webhooks by status 2016-03-15 18:19:34 -03:00
Claudio Sanches f3f16944ca Created webhook deliveries class 2016-03-15 17:54:06 -03:00
Claudio Sanches 3775aef6da Added method to delete webhooks 2016-03-15 17:46:52 -03:00
Claudio Sanches 8cb8dfc3a8 Added method to update webhooks 2016-03-15 17:39:23 -03:00
Claudio Sanches 696aa2b7fe Added endpoint for create webhooks 2016-03-15 17:22:57 -03:00
Claudio Sanches 8dc92eb284 Added methods to get and list webhooks 2016-03-15 16:56:55 -03:00
Claudio Sanches f53e582566 Include prepare_links() to abstract posts controller 2016-03-15 16:55:41 -03:00
Claudio Sanches 3b22acb2b1 Add links to coupons responses 2016-03-15 16:53:51 -03:00
Claudio Sanches d67000fb6c Better prepare coupons hook name 2016-03-15 16:45:29 -03:00
Claudio Sanches 2808658e1f Webhook permissions 2016-03-15 16:38:50 -03:00
Claudio Sanches f4b022d59f Webhook schema 2016-03-15 16:37:10 -03:00
Mike Jolley ee0798047e Merge branch 'wc-get-orders-10500' 2016-03-14 16:09:01 +00:00
Claudio Sanches ea9fed64ad Webhooks 2016-03-12 05:15:30 -03:00
Torre Lasley e9c3a3614f Fixing Issue #10523 - Variations ID lookup by SKU
I copied the code from the bulk() function to look up the Variation ID by the Variation SKU if the Variation ID is missing.
2016-03-10 07:34:29 -05:00
Claudio Sanches 4d633440ef Top sellers endpoint 2016-03-09 23:51:25 -03:00
Claudio Sanches a1a56d5dbd Created reports/sales endpoint 2016-03-09 23:19:36 -03:00
Claudio Sanches 8e17808a5b Created reports endpoint 2016-03-09 21:46:31 -03:00
Claudio Sanches 3e6ef07ead Fixed get_item_schema() description 2016-03-09 21:34:14 -03:00
Claudio Sanches e493b80c5a Added method to delete tax classes 2016-03-09 21:07:38 -03:00
Mike Jolley c1e8dd1fe8 Use wc_get_orders iternally 2016-03-09 16:11:05 +00:00
Claudio Sanches 3eb9abf24f Create tax classes 2016-03-09 05:34:57 -03:00
Claudio Sanches 70dcae2994 List tax classes 2016-03-09 05:16:37 -03:00
Claudio Sanches 03733d8757 Better WP_Error ids 2016-03-09 04:56:35 -03:00
Claudio Sanches 1509a2c8d8 Tax class schema 2016-03-09 04:47:52 -03:00
Claudio Sanches 141ae48a79 Added method to delete taxes 2016-03-09 04:38:21 -03:00
Claudio Sanches a4c5500bde Added method to edit taxes and fixed create tax method 2016-03-09 03:34:41 -03:00
Claudio Sanches 17f1aa7e62 Added method to create taxes 2016-03-09 02:21:44 -03:00
Claudio Sanches 0817a854e8 Added method to list taxes 2016-03-09 01:51:36 -03:00
Claudio Sanches 5f73c23da6 Better query params name 2016-03-09 01:46:04 -03:00
Claudio Sanches 4f1551ff5b Added method to get single taxes 2016-03-09 01:12:21 -03:00
Claudio Sanches e395cebfaf Created taxes schema 2016-03-08 19:51:36 -03:00
Philip Mark Deazeta 72bfa736b5 Update class-wc-api-products.php 2016-03-08 10:07:36 +08:00
Claudio Sanches c27c9d3865 Added method to delete attributes 2016-03-07 20:12:51 -03:00
Claudio Sanches 578870c133 Added method to edit attributes 2016-03-07 19:57:24 -03:00
Claudio Sanches 6eab81a79f Added method to create new attributes 2016-03-07 19:36:34 -03:00
Claudio Sanches 3c770e1bc4 Added method to list product attributes 2016-03-07 19:10:03 -03:00
Claudio Sanches c7ace7749f Created schema for product attributes and allow fetch product attributes by ID 2016-03-07 17:32:25 -03:00
Claudio Sanches 396242b89c Fixed links for terms 2016-03-07 17:28:52 -03:00
Claudio Sanches ff6970031b Fixed attribute terms schema title 2016-03-07 17:04:32 -03:00
Claudio Sanches 426410c2ae Manipule product attribute terms 2016-03-07 16:39:24 -03:00