Commit Graph

118 Commits

Author SHA1 Message Date
Claudio Sanches 0a3fc7673e [API] Fixed the returned status when delete a product attribute 2015-04-28 15:56:28 -03:00
Claudio Sanches 8d339a7022 Stop yoda! 2015-04-28 15:10:29 -03:00
Claudio Sanches dd8b2f6007 [API] Deprecated the products/sku/<sku> endpoint, closes #7592 2015-04-27 17:49:35 -03:00
Claudio Sanches 83b570e3e1 [API] Created method to delete product attributes 2015-04-27 16:33:47 -03:00
Claudio Sanches bda53f75af [API] Created method to edit product attributes 2015-04-27 16:14:31 -03:00
Claudio Sanches 212ebe486d [API] Created method to create product attributes 2015-04-27 13:06:42 -03:00
Claudio Sanches 00f9c6f1ca [API] Created WC_API_Products::get_product_attribute() method 2015-04-27 11:58:58 -03:00
Claudio Sanches aa2d5835e4 [API] Created WC_API_Products::get_product_attributes() method 2015-04-27 11:47:17 -03:00
Claudio Sanches 98b1845b68 [2.3] [API] Fixed save downloadable files for product variations, closes #8037 2015-04-25 12:19:30 -03:00
Claudio Sanches bcfdbcdd0a [API] Improved WC_API_Products::bulk() #7915 2015-04-24 18:43:33 -03:00
Claudio Sanches abf1d90d9b Merge pull request #7922 from Nils-Fredrik/master
Allow bulk updates / inserts of products according to #7915
2015-04-24 17:12:53 -03:00
Claudio Sanches af9c5f948b [API] Improved the WC_API_Products::get_product_orders() method #8019 2015-04-24 17:04:13 -03:00
Claudio Sanches cccc7b9b98 Merge pull request #8019 from cklosowski/issue/7285
Product's Orders API Endpoint, closes #7285
2015-04-24 16:42:24 -03:00
Mike Jolley 7e304fd4f9 [2.3][api] Prevent variable overwrite in save_product_meta
Closes #8011
2015-04-23 16:45:51 +01:00
Claudio Sanches 3e99768047 [API] Added product_url and button_text for external products, closes #7974 2015-04-17 15:50:18 -03:00
Chris Klosowski d26265f885 Allowing filters to be applied #7285 2015-04-16 13:32:35 -07:00
Claudio Sanches c06b6f13e3 [API] Improved the error messages when sent a empty object, closes #7914 2015-04-13 13:06:19 -03:00
nils-fredrik@maksimer.no 73cce9f15b Allow bulk updates / inserts of products according to #7915. 2015-04-09 22:48:51 +02:00
Claudio Sanches 2fb06e4c29 [API] Fixed the position type for attributes and images 2015-04-03 15:01:41 -03:00
Chris Klosowski cd9360420f Clearning up DocBlock and passing #7285 2015-03-26 13:56:37 -07:00
Chris Klosowski 8455d5cbd1 First pass at Product's orders endpoint #7285 2015-03-26 13:53:20 -07:00
Claudio Sanches d08e099bfc [API] List only approved comments in products reviews, closes #7809 2015-03-24 14:38:08 -03:00
Claudio Sanches 1600bcdae3 Fixed coding standards for #7793 2015-03-23 11:41:37 -03:00
nils-fredrik@maksimer.no 686c40919b Fix for #7592
Added sku filter to the /products endpoint. 

Will let you search for products by sku without using the
/products/sku/<sku> endpoint. Its now possible to search for product
skus with specialchars like / and -.
2015-03-21 18:53:00 +01:00
Claudio Sanches 618f70ffdf [API] Fixed the stock management for variations, closes #7698 2015-03-16 15:13:07 -03:00
Claudio Sanches 6ce7288814 [API] Delete product attachments when the product fails, closes #7731 2015-03-16 14:54:38 -03:00
Claudio Sanches 0148a1bd86 [API] Fixed the variable product managing_stock variable, closes #7513 2015-02-20 23:01:26 -02:00
Claudio Sanches d0aafd1f0b [API] Fixed undefined messages when edit a product 2015-02-19 10:48:21 -02:00
Mike Jolley 1ef8a24ec9 These should be default_attr, not attribute 2015-02-03 14:44:57 +00:00
Claudio Sanches 242dbe1bc0 [API] product visible by default 2015-01-30 11:08:17 -02:00
Claudio Sanches ce569c153b [API] Set default product visibility 2015-01-30 11:00:57 -02:00
Claudio Sanches 177bcbe7d5 Removed unused code 2015-01-23 16:34:43 -02:00
Mike Jolley 2584041700 wc_price enhancements
- Renamed some 2.3 methods for consistency
- Allow more args to be passed to wc_price to control output
- Filter wc_price args which Closes #7188
- wc_get_price_decimal_separator function
- wc_get_price_thousand_separator function
- wc_get_price_decimals function
2015-01-23 11:50:32 +00:00
Claudio Sanches eb68b1d688 [API] Fixed the products reviews ID type 2015-01-22 22:04:03 -02:00
Claudio Sanches 78fe840499 [API] Fixed the properties for save downloadable files in products endpoint #5942 2015-01-22 19:20:05 -02:00
Claudio Sanches 3561c63ec1 [API] Fixed the default_attributes name and prevent errors with the old param 2015-01-22 18:49:09 -02:00
Claudio Sanches bfb5329a55 [API] Fixed the WC_API_Products::get_attribute_taxonomy_by_slug() 2015-01-22 18:38:39 -02:00
Claudio Sanches 1dafa5d3cd [API] Fixed the download limit and expiry to accept empty string as unlimited/never value 2015-01-22 11:15:52 -02:00
Claudio Sanches bdf88d2323 [API] Allow edit the comment status in products endpoint using the reviews_allowed param 2015-01-21 21:09:08 -02:00
Claudio Sanches 07e6996bf1 [API] Fixed the default attributes saving 2015-01-19 11:33:33 -02:00
Claudio Sanches 847720fe68 [API] Fixed attributes save for variations in products endpoint 2015-01-19 11:11:30 -02:00
Claudio Sanches b6925d49ef [API] Fixed errors when the description and short_description is empty in products endpoint 2015-01-19 10:52:44 -02:00
Mike Jolley 20a2b2d079 API: Product Prices should use store precision settings.
Fixes #7149
2015-01-19 11:35:12 +00:00
Claudio Sanches 46769e89e2 Fixed doc comments for products api class 2015-01-13 13:44:30 -02:00
Claudio Sanches ecf7bd9f9a [API] Show and use slug for attributes in products endpoint, closes #6537 2015-01-13 13:24:28 -02:00
pilyounghur b97453b4a1 wc API - enable html tags for description
use API , enable html tags description and short_description
before : strip all tags , change : user selectable html tags.
2015-01-09 21:12:47 +09:00
Claudio Sanches 4f3326fe86 [API] Refactored the products endpoint to use the WC_API_Exception class #6138 2015-01-05 17:26:24 -02:00
Claudio Sanches 53b1c66427 [API] Added parent_id in products endpoint, closes #6786 2014-12-10 16:28:30 -02:00
Claudio Sanches a5d70fa24c Fixed API products when save multiple images from the media library, closes #6792 2014-12-10 15:23:36 -02:00
claudiosmweb fb955e8a40 [API] Added error message when try search a product with a invalid SKU 2014-11-27 10:52:24 -02:00