woocommerce/includes/api
Paul Kilmurray 3538d02ca9 Allow decimal stock quantity via REST API
The WooCommerce default is to validate stock quantity as integer, however some users find it useful to override this to allow any float quantity, eg: 
```php
remove_filter('woocommerce_stock_amount', 'intval');
add_filter( 'woocommerce_stock_amount', 'floatval' );
```

Currently the API forces stock quantities to integer, this change will allow decimal quantities.
2015-06-19 12:07:10 +08:00
..
v1 Updated the api authentication 2015-06-08 19:58:38 -03:00
class-wc-api-authentication.php Updated the api authentication 2015-06-08 19:58:38 -03:00
class-wc-api-coupons.php [API] Created bulk update/insert for coupons #7915 2015-05-07 13:13:41 -03:00
class-wc-api-customers.php [API] Use settings to auto generate passwords or not, closes #8342 2015-06-10 10:56:25 -03:00
class-wc-api-exception.php No return needed 2015-02-03 14:44:57 +00:00
class-wc-api-json-handler.php Absolute path fix for REST API v2 2014-09-21 01:09:20 +05:45
class-wc-api-orders.php Merge pull request #8330 from justinshreve/api-tax-rounding-8328 2015-06-09 13:09:46 -03:00
class-wc-api-products.php Allow decimal stock quantity via REST API 2015-06-19 12:07:10 +08:00
class-wc-api-reports.php API: reports/sales now also returns total refunds. 2015-03-09 17:09:07 +01:00
class-wc-api-resource.php Simply deny all access to revisions 2015-04-10 11:03:45 +02:00
class-wc-api-server.php [API] Use settings to auto generate passwords or not, closes #8342 2015-06-10 10:56:25 -03:00
class-wc-api-webhooks.php [API] Improved the error messages when sent a empty object, closes #7914 2015-04-13 13:06:19 -03:00
interface-wc-api-handler.php Absolute path fix for REST API v2 2014-09-21 01:09:20 +05:45