woocommerce/includes/api
Max Rice f17a52fd3a Make customer data for orders endpoint consistent for guest orders
Simply returning ‘guest’ for the customer property changes the data
type of the response from a dictionary to string which is bad for
clients that should be able to always expect a dictionary. This commit
fixes that by using the same dictionary structure as registered
customer orders, but excluding fields which aren’t applicable. Clients
can determine guest vs. registered customer orders by inspecting the
value of customer ID, which is 0 for guest orders.
2014-01-23 16:38:08 -05:00
..
class-wc-api-authentication.php Update timestamp check Closes #4409 2014-01-08 13:40:06 +00:00
class-wc-api-coupons.php Fix warning when accessing coupons created in pre-2.1 installs 2013-12-10 17:31:41 -05:00
class-wc-api-customers.php Make customer data for orders endpoint consistent for guest orders 2014-01-23 16:38:08 -05:00
class-wc-api-json-handler.php Fix authentication error message typos 2013-12-08 17:37:55 -05:00
class-wc-api-orders.php API: Add item price to order line items response 2014-01-13 22:14:08 -05:00
class-wc-api-products.php API: Add feature image src to product response 2014-01-13 22:14:20 -05:00
class-wc-api-reports.php API: Add top sellers endpoint 2014-01-21 14:53:47 -05:00
class-wc-api-resource.php Fix permissions typo 2013-11-23 14:32:22 -05:00
class-wc-api-server.php Add WooCommerce version to API index route 2013-12-10 12:24:53 +02:00
class-wc-api-xml-handler.php API: Add XML generation 2013-11-22 03:41:32 -05:00
interface-wc-api-handler.php Add REST API request/response interface 2013-11-06 01:49:08 -05:00