Max Rice
0b2cc1df28
Fix potential fatal error when fetching orders via API
2014-01-30 15:41:21 -05:00
Max Rice
8b6145691c
API: Add item price to order line items response
2014-01-13 22:14:08 -05:00
Max Rice
b6dbaebe01
API: Add subtotal to orders response
2014-01-13 22:13:48 -05:00
Max Rice
497ec8186e
Fix remove filter typo
2014-01-13 22:13:37 -05:00
Coen Jacobs
c1a439eb99
Formatting functions woocommerce to wc refactor
2013-11-25 14:34:21 +01:00
Coen Jacobs
8054316fa6
Merge pull request #4185 from maxrice/rest-api-fixes-issue-4055
...
Various fixes for REST API
2013-11-24 12:58:25 -08:00
Max Rice
017e7cee1d
Add permissions for count endpoints
2013-11-23 17:11:16 -05:00
Max Rice
0be58b3390
Normalize response data types
...
Part of #4055
2013-11-23 16:36:56 -05:00
Max Rice
3bc8fae631
Remove PUT/DELETE endpoints
...
Will be implemented in 2.2
Part of #4055
2013-11-23 15:01:53 -05:00
Max Rice
3f07b8be77
Specify 2 decimal places for woocommerce_format_decimal()
...
Part of #4055
2013-11-23 14:40:31 -05:00
Max Rice
5bb8c9daef
Fix permissions typo
...
Part of #4055
2013-11-23 14:32:22 -05:00
Max Rice
deac0be31b
Implement order status update endpoint
...
Closes #4161
2013-11-23 12:59:21 -05:00
Max Rice
d7c77d1ab7
API: Add XML generation
...
This commit completes the XML response handler and adjusts the output
format for all resources to include a top-level property that encloses
the response. This is more consistent with the multi-resource (e.g. GET
/orders) response.
Part of #4165
2013-11-22 03:41:32 -05:00
Max Rice
48e8363db0
Add meta to resource responses
...
Part of #4055
2013-11-18 22:58:10 -05:00
Max Rice
3130369325
Update filter_response_fields() to support sub-field inclusion
...
Part of #4055
2013-11-18 21:59:13 -05:00
Max Rice
490dc758a9
Update pagination args/headers
...
Part of #4055
2013-11-18 21:06:45 -05:00
Max Rice
87ff36db12
Properly handle datetimes
...
Part of #4055
2013-11-18 16:47:38 -05:00
Max Rice
709f0da16f
Improve response filters
...
Part of #4055
2013-11-14 12:48:20 -05:00
Max Rice
451bc07339
Tweak GET /order response
...
Part of #4055
2013-11-14 12:42:42 -05:00
Max Rice
a13a95e452
Update API resource classes
...
Change method naming to snake_case and implement initial
`current_user_can()` permission checks
2013-11-10 19:29:36 -05:00
Max Rice
23e6b22cfd
Rename API base resource class
2013-11-09 16:20:23 -05:00
Max Rice
c3fa52b0b5
Update API classes to use new WC_API_Server class
2013-11-06 01:54:19 -05:00
Max Rice
e219585974
Add initial versions of REST API resource classes
2013-11-04 01:36:31 -05:00