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
claudiosmweb
553fe744cf
[API] Created a route to get products by SKU, closes #6847
2014-11-27 10:34:55 -02:00
Claudio Sanches
7a62f75eca
Revert "Look up product by sku"
2014-11-27 10:06:28 -02:00
Harrison DeStefano
7c42b66a02
product by sku
2014-11-26 15:51:04 -05:00
claudiosmweb
c73bcb614e
API - deletes the product when fails to create, closes #6801
2014-11-25 12:10:12 -02:00
claudiosmweb
8eeb6fc204
Removed more some unused code
2014-11-19 22:43:09 -02:00
Mike Jolley
bb1564d6c4
Incorrect variable
...
#6626 cc @claudiosmweb
2014-11-12 14:50:01 +00:00
Mike Jolley
aaca944a85
API - Variation handling for stock data
...
Closes #6626 cc @claudiosmweb
2014-11-12 14:21:29 +00:00
Mike Jolley
7cc71dea44
Allow API edit_product method to update post_name (slug)
...
Closes #6601
2014-10-23 11:58:39 +01:00
claudiosmweb
7219addebc
[2.2] Fixed POST/PUT products attributes values, closes #6600
2014-10-22 18:46:39 -02:00
Mike Jolley
997e7e7910
extra sanitisation for product data
2014-10-22 12:12:25 +01:00
Florian Ludwig
671fcde079
Changed filter name and some code style compliance
2014-10-17 17:34:26 +02:00
Florian Ludwig
29f152633b
RESTAPI 2 Add possibility to filter by product_cat
...
For products it would be nice to be able to filter by product cat.
usage: filter[product_cat]=CATSLUG
2014-10-17 16:53:14 +02:00
Mike Jolley
c4ef86d44e
scrutinizer patches
2014-09-08 00:37:55 +01:00
Max Rice
744c3767c3
REST API: ensure consistency in create/edit data formats
...
A client should be able to GET a resource, edit a single item and PUT
it back to the server without having to perform any additional
transformation. This commit ensures all PUT/POST endpoints adhere to
this standard.
2014-08-30 15:50:40 -04:00
Max Rice
722f888453
REST API: Add field restriction to new endpoints
2014-08-30 15:05:36 -04:00
claudiosmweb
e1e1c14ae7
fixed errors while adding variable products with non-taxonomy attributes, closes #6082
2014-08-28 16:25:08 -03:00
Barry Kooij
94365791af
Changed all use of get_product to wc_get_product
2014-08-19 12:09:29 +02:00
claudiosmweb
6081f3b61f
fixed some missing and wrong textdomains
2014-08-15 16:08:43 -03: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
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
cca54879fa
Fix misc docblocks
2014-07-27 23:23:59 -04:00
Patrick Rauland
568c0102ae
adding get_a_job method
2014-07-14 09:18:07 -06:00
claudiosmweb
49882740bb
added the possibility to remove the product images by API
2014-06-30 18:02:31 -03:00
claudiosmweb
617b299d8f
improved the image upload to get images by ID and save the _product_image_gallery
2014-06-30 17:58:27 -03:00
claudiosmweb
d3a2307d18
improved the image upload
2014-06-30 17:31:25 -03:00
claudiosmweb
584af93aba
fixed a variable override when create new variable productions
2014-06-30 16:36:13 -03:00
claudiosmweb
d3dc018ffc
fixed the wc_product_has_unique_sku() function name
2014-06-27 16:03:25 -03:00
claudiosmweb
0a4b6387e6
introduces the wp_product_has_unique_sku() function
2014-06-27 15:59:24 -03:00
claudiosmweb
e208770265
fixed some coding standards
2014-06-26 16:55:24 -03:00
claudiosmweb
84be699374
added new product API actions
2014-06-26 16:51:03 -03:00
claudiosmweb
fe53733be0
added method to save the variations in product API
2014-06-26 16:47:54 -03:00
claudiosmweb
bdd5f9d0f6
created API methods to save product categories and tags
2014-06-25 16:38:51 -03:00
claudiosmweb
2dffa85353
fixed the downloads method
2014-06-25 16:27:24 -03:00
claudiosmweb
dce4a4eed6
added all product options for save in WC_API_Products::save_product_meta() method
2014-06-25 16:20:28 -03:00
claudiosmweb
28713a760c
improved the product price in product API handler
2014-06-25 13:27:48 -03:00
claudiosmweb
101169322c
added method to save product attributes in products API
2014-06-24 18:32:37 -03:00