claudiosmweb
e1e1c14ae7
fixed errors while adding variable products with non-taxonomy attributes, closes #6082
2014-08-28 16:25:08 -03:00
Florian Ludwig
3fadc14085
Reduce confusion on using the all_meta filter
2014-08-23 19:07:10 +02:00
Florian Ludwig
82f53037be
Implemented more general filter array
2014-08-23 00:11:03 +02:00
Florian Ludwig
526b677bcf
Extend REST API to access also hidden order item meta
2014-08-22 21:42:28 +02:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
Mike Jolley
ca1cefd112
Merge pull request #6040 from woothemes/feature-order-refunds-api
...
Initial order refunds API
2014-08-18 15:13:57 +01:00
claudiosmweb
4acb90def2
changed api_refund for true
2014-08-18 10:47:56 -03:00
claudiosmweb
288732a4be
added refund amount validation
2014-08-18 10:47:24 -03:00
claudiosmweb
924e0f92c5
updated woocommerce_api_order_refunds_response filter params
2014-08-18 10:42:37 -03:00
claudiosmweb
6081f3b61f
fixed some missing and wrong textdomains
2014-08-15 16:08:43 -03:00
claudiosmweb
2bbcea9de2
orders API for refunds now accepts the api_refund param
2014-08-15 15:58:55 -03:00
claudiosmweb
1294696fcf
created API method for delete order refunds
2014-08-15 15:38:39 -03:00
claudiosmweb
6d4ea6e54e
created initial API method for edit order refunds
2014-08-15 15:28:43 -03:00
claudiosmweb
d02a803e83
added API method for create an order refund
2014-08-15 14:54:19 -03:00
claudiosmweb
b972494ac8
created method API to get individual order refunds
2014-08-15 14:40:34 -03:00
claudiosmweb
f9250fecf2
created API for get order refunds
2014-08-15 14:09:33 -03:00
Barry Kooij
6655188f0b
Changed use of get_order with wc_get_order
2014-08-15 14:29:21 +02:00
Mike Jolley
dc60cea213
Merge pull request #5992 from adamawesomeface/master
...
maximum ammount for coupon functionality added
2014-08-13 11:41:33 +01:00
claudiosmweb
9da4f13805
fixed the orders api order status query
2014-08-12 15:08:11 -03:00
adamawesomeface
0e22412a7d
maximum ammount for coupon functionality added
2014-08-08 07:38:58 -04:00
Mike Jolley
0b6d8914a3
Merge pull request #5941 from maxrice/feature-issue-5564-rest-api-webhooks
...
Webhooks Implementation
2014-07-31 07:03:02 +01:00
Max Rice
9536d98ade
Add webhooks REST API endpoint
...
Part of #5564
2014-07-30 16:22:58 -04:00
Max Rice
64ddf83184
Add coupon description to REST API coupon response
2014-07-30 16:19:35 -04:00
Mike Jolley
4203ed77e3
Merge pull request #5842 from BFTrick/get-a-job
...
Adding an Employment Easter Egg
2014-07-30 12:19:11 +01:00
Mike Jolley
dd61317395
Merge pull request #5904 from maxrice/rest-api-remove-xml
...
Remove XML response from v2 REST API
2014-07-29 13:20:05 +01:00
Mike Jolley
ae6dceeace
Merge pull request #5908 from maxrice/fix-issue-5423
...
Add item meta to REST API orders response
2014-07-29 13:19:38 +01:00
Mike Jolley
6a092ddd37
Merge pull request #5913 from maxrice/feature-issue-5806
...
Add product categories endpoint to REST API
2014-07-29 13:16:45 +01:00
Mike Jolley
be757abf61
Merge pull request #5916 from maxrice/feature-rest-api-order-notes
...
Improve order notes endpoint
2014-07-29 13:16:38 +01:00
Max Rice
76be03010c
Improve order notes endpoint
...
This commit improves the order notes endpoint with full read/write
capabilities:
* GET /orders/#{order_id}/notes - get all notes for an order
* GET /orders/#{order_id}/notes/#{id} - get single order note
* POST /orders/#{order_id}/notes - create an order note
* PUT /orders/#{order_id}/notes/#{id} - edit an order note
* DELETE /orders/#{order_id}/notes/#{id} - delete an order note
2014-07-28 23:39:07 -04:00
Max Rice
47ccd78b21
Allow using meta_value_num with resource orderby
...
Part of #5720
2014-07-28 19:49:56 -04:00
Max Rice
bb651761d0
Add orderby filtering to REST API resource endpoints
...
Adds orderby filtering to all endpoints using default WP orderby
parameters.
Closes #5720
2014-07-28 19:40:28 -04:00
Max Rice
323bcbf848
Add order (desc/asc) to REST API customers endpoint
...
Part of #5720
2014-07-28 19:38:21 -04:00
Max Rice
7f3b67272a
Adhere to WP code standards
2014-07-28 19:34:41 -04:00
Max Rice
80368dc105
Add product categories endpoint to REST API
...
This commit adds two new endpoints:
* GET /products/categories - returns a list product categories
* GET /products/category/#{id} - returns the product category for #{id}
Closes #5806
2014-07-28 19:01:50 -04:00
Max Rice
7d597a36d0
Add item meta to REST API orders response
...
Fixes #5423
2014-07-28 13:33:03 -04:00
Max Rice
8ff7202c5c
Remove XML response from v2 REST API
2014-07-28 12:16:34 -04:00
Max Rice
2ea771be1f
Fix SQL error in v1 customers response
2014-07-28 12:16:04 -04:00
Mike Jolley
cdc0efed75
Merge pull request #5843 from maxrice/feature-orders-endpoint-issue-4160
...
Create/Edit/Delete orders via the REST API
2014-07-28 09:18:49 +01:00
Max Rice
698f6499f6
Add REST API create/edit order actions & filters
...
Part of #4160
2014-07-27 23:58:01 -04:00
Max Rice
5be324a543
Add edit order REST API method
...
Part of #4160
2014-07-27 23:36:32 -04:00
Max Rice
315787e3d6
Refactor create order method
...
* handle errors through WC_API_Exception
* abstract order item creation
Part of #4160
2014-07-27 23:35:50 -04:00
Max Rice
d919ed9d64
Tweak REST API order response
...
* se WC_Order::get_order_currency() for currency
* use new WC_Order::get_subtotal() for subtotal
* add order item ID and rate ID to tax lines
Part of #4160
2014-07-27 23:33:35 -04:00
Max Rice
cca54879fa
Fix misc docblocks
2014-07-27 23:23:59 -04:00
Max Rice
c9342d6344
Add WC_API_Exception class
...
Part of #4160
2014-07-27 23:20:48 -04:00
Patrick Rauland
568c0102ae
adding get_a_job method
2014-07-14 09:18:07 -06:00
Max Rice
95aab694e4
API: implement order creation
...
part of #4160
2014-07-12 21:44:49 -04:00
Max Rice
13e2495390
API: implement order deletion
...
part of #4160
2014-07-12 18:09:21 -04:00
Max Rice
54c019dd62
re-add v1 API classes
2014-07-12 17:49:43 -04:00
Coen Jacobs
86a4add087
Merge remote-tracking branch 'upstream/master' into order-factory-refactor
...
Conflicts:
includes/class-wc-order.php
2014-07-03 13:38:55 +02:00
claudiosmweb
49882740bb
added the possibility to remove the product images by API
2014-06-30 18:02:31 -03:00