Commit Graph

744 Commits

Author SHA1 Message Date
Claudio Sanches 1199410e3d Missing period 2016-05-22 18:55:50 -03:00
Claudio Sanches 8347e1c323 [REST API] Removed endpoint to get current user 2016-05-22 18:49:55 -03:00
Claudio Sanches abac5e2160 [REST API] Fixed batch create coupons 2016-05-22 18:19:45 -03:00
Claudio Sanches 9385058886 [REST API] Fixed schamas 2016-05-22 18:17:54 -03:00
Mike Jolley ed08e51ddb Status updates via API are manual
Closes #10943
2016-05-19 11:50:19 +01:00
Mike Jolley 2d3d401d67 API ignoring 'name' field.
Fixes #10929
2016-05-17 17:53:50 +01:00
Claudio Sanches 2b1d4eced6 [REST API] Allow batch create, update and delete for almost all endpoints 2016-05-11 16:34:53 -03:00
Claudio Sanches dac471273f Merge pull request #10884 from woothemes/wp-api-batch
[REST API] Batch create, update and delete items
2016-05-11 16:22:54 -03:00
Claudio Sanches ccd1f48025 [REST API] Save default total_sales, closes #10898 2016-05-11 13:19:56 -03:00
Claudio Sanches 47ef7e17a1 Created new function to generate webhook secrets based on the user ID and username, closes #10881 2016-05-11 13:14:00 -03:00
Claudio Sanches 35fdcd243a [REST API] Added method to check if the request is to the rest api and allow third party plugins 2016-05-11 11:52:29 -03:00
Claudio Sanches cae8056172 [REST API] Fixed a conflict with authentication and our old API
This make authentication avaiable only on the WP REST API for the wc/v1
namespace.

Closes #10890
2016-05-10 18:27:28 -03:00
Claudio Sanches 5d47875eed [REST API] Allow save post_name/slug for products in v3
Closes #10888
2016-05-10 13:46:53 -03:00
Claudio Sanches d7e874324a [REST API] Fixed some schema contexts 2016-05-10 13:41:15 -03:00
Claudio Sanches eaa0e6884c Merge pull request #10771 from danielhuesken/master
WooCommerce API: Add sort order fields for product attributes and categories
2016-05-10 13:28:56 -03:00
Claudio Sanches 26fd51ac79 [REST API] Stop load legacy API classes into the WP REST API, closes #10887 2016-05-10 13:26:39 -03:00
Claudio Sanches 068b77cc43 Created WC_REST_Controller to allow batch create, update and delete items 2016-05-09 18:16:48 -03:00
Claudio Sanches 02b74fc474 Keep consistent 2016-05-05 13:58:28 -03:00
Claudio Sanches 1a1c336468 [REST API] Check if tax exists before try to update
@mikejolley
2016-05-05 13:56:32 -03:00
Claudio Sanches 8fa6733a04 [REST API] Fixed missing variable 2016-05-05 13:34:28 -03:00
Claudio Sanches af443ba831 [REST API] Fixed coding standards and docblocks in taxes controller
@mikejolley
2016-05-05 12:28:53 -03:00
Mike Jolley ebf487f6c8 Fix key names 2016-05-05 13:44:48 +01:00
Mike Jolley cb6f6e2adf Filter out empty requests 2016-05-05 12:43:52 +01:00
Mike Jolley 407421ef22 Taxes bulk endpoint naming and handling
@claudiosmweb Added helper for create or update (handles both cases)
and renamed endpoint to update_items.
2016-05-05 11:19:35 +01:00
Claudio Sanches ebd4614b5d [REST API] Less conditional code for bulk taxes 2016-05-04 17:19:09 -03:00
Claudio Sanches ad0743efa5 [REST API] Added method to bulk update or create items 2016-05-04 17:14:23 -03:00
Claudio Sanches 552b40ad02 [REST API] Defined coupons default values 2016-04-28 18:38:35 -03:00
Claudio Sanches 3fc2c82aaf [API] Fixed variations backorders 2016-04-28 13:24:20 -03:00
Matheus Martins 303787b29c Fixing grammar error
Just fixing a little grammar error
2016-04-23 01:32:22 -03:00
Daniel Hüsken 35a1cd4736 Add menu order to categories and attributes 2016-04-22 19:55:52 +02:00
Claudio Sanches b6d33ee906 WP-API 2016-04-19 12:49:16 -03:00
Claudio Sanches afc060419d Pass product object to wc_attribute_label 2016-04-18 13:47:07 -03:00
Mike Jolley 48fabea5b0 Pass product object to wc_attribute_label
Fixes #10692
2016-04-18 15:21:26 +01:00
Mike Jolley c5ccc65856 [API] Don't expand non-existant coupons
Fixes #10687
2016-04-18 14:57:06 +01:00
Claudio Sanches 89068f0a4b Fixed coding standards 2016-04-05 14:58:18 -05:00
Claudio Sanches d7e408d027 More minor fixes and typos 2016-04-04 14:17:41 -05:00
Claudio Sanches 548c222560 Minor fixes and typos 2016-04-04 14:13:38 -05:00
Claudio Sanches 2710d12fc4 Fixed reviews type 2016-04-04 14:13:29 -05:00
Claudio Sanches 6da6c30c86 Fixed copy and paste 2016-04-04 14:07:50 -05:00
Claudio Sanches 7e791e6f4f Align variations params 2016-04-01 15:00:00 -03:00
Claudio Sanches fb8773c570 Group dimensions 2016-04-01 14:57:25 -03:00
Claudio Sanches cae8849af9 Fixes on product params 2016-04-01 14:36:10 -03:00
Claudio Sanches ab449a6a62 Improved coupons endpoint using the new Coupon Data fields 2016-03-31 16:32:12 -03:00
Claudio Sanches bf64942b28 Align variables 2016-03-31 16:14:18 -03:00
Claudio Sanches 8df7723895 Fixed permissions error messages 2016-03-31 16:03:59 -03:00
Claudio Sanches 92da79ce76 Changed $namespace from public to protected 2016-03-31 15:25:31 -03:00
Claudio Sanches 77da7ccc2b [2.5] [API] Fixed stock management for product variations, closes #10602 2016-03-31 10:03:12 -03:00
Claudio Sanches 00a1a9c3da Fixed backorders and stock status 2016-03-31 09:56:22 -03:00
Claudio Sanches b8dd156891 Added endpoint to list and get product reviews 2016-03-30 20:50:06 -03:00
Claudio Sanches 7b508307f0 Fixed links for webhooks deliveries and order notes 2016-03-30 20:42:06 -03:00