Commit Graph

1709 Commits

Author SHA1 Message Date
Claudio Sanches 4ce8544478 [REST API] Fixed reports results 2018-09-18 12:14:17 -03:00
Claudio Sanches 48a0045373 [REST API] Fixed endpoints registered in /reports 2018-09-18 11:23:35 -03:00
Claudiu Lodromanean 7b1344e567
Merge pull request #21327 from woocommerce/feature/21119
[REST API] Allow apply and remove coupons in orders endpoint
2018-09-12 08:04:00 -07:00
Claudio Sanches bfdd758bd4 Improve coupons logic and throw errors for invalid coupons 2018-09-11 18:26:32 -03:00
Claudio Sanches 8d9da1cb94 Created method to apply and remove coupons 2018-09-11 18:10:58 -03:00
Claudio Sanches fda3f6890c Fixed allow to remove coupons when using line item ID. 2018-09-11 17:18:59 -03:00
Claudiu Lodromanean 92c5c4e54e
Merge pull request #21326 from woocommerce/fix/rest-api-settings-schema
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 13:16:36 -07:00
Claudio Sanches 2b7e5121f2 [REST API] Allow apply and remove coupons in orders endpoint
Closes #21119
2018-09-11 16:53:55 -03:00
Claudio Sanches ccd1e1ced6 Fixed coding standards 2018-09-11 16:53:41 -03:00
Claudio Sanches 0ab5dc3e5b [REST API] Updated Settings schema since now we allow batch update 2018-09-11 16:21:10 -03:00
Claudio Sanches 45c542aa8a [REST API] Fixed order notes schema 2018-09-11 15:53:13 -03:00
Claudio Sanches 61873627a7 Merge branch 'master' into feature/rest-api-v3 2018-09-10 19:16:22 -03:00
Claudiu Lodromanean ba0a989a38
Merge pull request #21306 from woocommerce/feature/21115
[REST API] Reports totals endpoints
2018-09-10 10:23:56 -07:00
Claudiu Lodromanean 75bac9f3c6
Merge pull request #21316 from woocommerce/fix/21120
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 09:47:31 -07:00
Peter Fabian f80d628c56 Fixed omitted grandparent's prepare_objects_query for products endpoint. 2018-09-10 13:49:42 +02:00
Peter Fabian 1237e5ef7e Added enums to collection_params for stock_status. 2018-09-10 12:36:18 +02:00
Peter Fabian 0ddd8f4506 Fixed stock_status validation. 2018-09-10 12:32:01 +02:00
Peter Fabian 70a4309d81 Replaced in_stock with stock_status for v3 products endpoint. 2018-09-10 11:53:20 +02:00
Claudio Sanches 14a1217218 Load all product types even when empty 2018-09-08 22:45:51 -03:00
Claudio Sanches 5f723fc0d9 Removed extra code 2018-09-08 22:40:27 -03:00
Claudio Sanches d199538514 Inserted data for /reports/reviews/count endpoint 2018-09-08 22:10:19 -03:00
Claudio Sanches d2b0ff0f32 Initial /reports/reviews/totals endpoint 2018-09-08 21:19:57 -03:00
Claudio Sanches 2fcabfe7e6 /reports/coupons/totals endpoint 2018-09-08 21:04:13 -03:00
Claudio Sanches daf6650d5d /reports/customers/count endpoint 2018-09-08 20:32:39 -03:00
Claudio Sanches a0145c0265 Fixed schema to include instance_id for shipping_lines 2018-09-08 19:12:40 -03:00
Claudio Sanches 30a2e87cf5 Fixed schema to include instance_id for shipping_lines 2018-09-08 19:10:45 -03:00
Claudio Sanches 5d67b474ed Load product types 2018-09-08 19:02:22 -03:00
Claudio Sanches 017b44693b Updated names 2018-09-05 10:30:14 -03:00
Claudio Sanches f13deab00a /reports/orders/count 2018-09-05 10:28:22 -03:00
Claudio Sanches 25ed037fb0 Include new reports endpoints results 2018-09-05 09:36:19 -03:00
Claudio Sanches 9fd386155f Allow to easy manipulate /reports endpoint results 2018-09-05 09:28:58 -03:00
Claudio Sanches c271fca508 Restored reports endpoints 2018-09-05 09:24:02 -03:00
Claudio Sanches 6a3483fa8a [REST API] Make product's created date editable 2018-09-03 10:57:28 -03:00
Andrew Minion 067a79c336
fix typo 2018-08-23 14:37:54 -04:00
Claudiu Lodromanean fe69a875e2
Merge pull request #20993 from woocommerce/fix/20959
Changed wc_clean to checking for valid utf8 for line items and password.
2018-08-22 10:12:48 -07:00
Peter Fabian 1a2f0d4a0b Removed check for invalid utf8 in passwords. 2018-08-17 11:01:30 +02:00
Gerhard Potgieter 2c15bee1d4 Refine wp.org update check to use correct data structures when querying data. 2018-08-16 14:27:35 +02:00
Gerhard Potgieter 2625823734 Add fallback to wp.org plugin info check if the changelog check fails, this is for free plugins hosted on .org 2018-08-16 14:09:39 +02:00
Peter Fabian 925002bc37 Changed wc_clean sanitization to checking for valid utf8 and the input is later sanitized by WordPress db layer.
It caused issues in 2 places: Order item name (product name) and user's password.
2018-08-06 20:49:27 +02:00
Claudio Sanches 0b0fba824b Returns only reviews and fixed prepared args 2018-08-02 14:01:46 -03:00
Claudio Sanches c98cb8b0fd Introduced batch endpoint and set default for status 2018-07-31 13:33:33 -03:00
Claudio Sanches 48078f6bcc DELETE /product/reviews/<id> 2018-07-31 12:37:44 -03:00
Claudio Sanches a286bde484 PUT /products/reviews/<id> 2018-07-31 11:51:18 -03:00
Adrian Jagusch dc8d15356b
Ensure coding standards on #20914 2018-07-27 11:38:57 +02:00
Adrian Jagusch 7b7bccaf21
Ensure coding standards on #20914 2018-07-27 10:51:15 +02:00
Claudio Sanches 2f3779afa9 POST method for product reviews endpoint 2018-07-26 16:31:17 -03:00
Adrian Jagusch 2a2345acae
Fixes #20914 2018-07-26 17:32:08 +02:00
Claudio Sanches 1137782c6a Improved links 2018-07-24 15:56:46 -03:00
Claudio Sanches 7d07d52279 Allow _fields 2018-07-24 15:52:48 -03:00
Claudio Sanches 73938b642a Allow fetch multiple reviews 2018-07-24 15:45:12 -03:00