Claudio Sanches
61873627a7
Merge branch 'master' into feature/rest-api-v3
2018-09-10 19:16:22 -03:00
Peter Fabian
f80d628c56
Fixed omitted grandparent's prepare_objects_query for products endpoint.
2018-09-10 13:49:42 +02:00
Peter Fabian
1237e5ef7e
Added enums to collection_params for stock_status.
2018-09-10 12:36:18 +02:00
Peter Fabian
0ddd8f4506
Fixed stock_status validation.
2018-09-10 12:32:01 +02:00
Peter Fabian
70a4309d81
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 11:53:20 +02:00
Claudio Sanches
6a3483fa8a
[REST API] Make product's created date editable
2018-09-03 10:57:28 -03:00
Adrian Jagusch
dc8d15356b
Ensure coding standards on #20914
2018-07-27 11:38:57 +02:00
Adrian Jagusch
7b7bccaf21
Ensure coding standards on #20914
2018-07-27 10:51:15 +02:00
Adrian Jagusch
2a2345acae
Fixes #20914
2018-07-26 17:32:08 +02:00
Mike Jolley
a480cff0d2
Logic is not grouped specific; only for product types with children
2018-06-29 15:24:17 +01:00
Eleanor Martin
c94a5df7a4
Allowing API deletion of grouped products. #20666
2018-06-29 15:01:10 +01:00
Mike Jolley
cfda380d2f
API: Order images by position before saving
2018-06-12 12:13:10 +01:00
Claudio Sanches
2c476f60ce
Included REST API feature plugin endpoints and changes
2018-05-17 16:14:38 +01:00
Claudio Sanches
f02e4e3088
Initial REST API v3 files
2018-05-17 11:44:46 +01:00
Mike Jolley
17ad9dac06
Update docs
2018-05-01 10:15:51 +01:00
Mike Jolley
903e3e8acd
Fix featured filter
2018-04-10 14:58:06 +01:00
Claudio Sanches
f0d37ff4f5
Fixed PHPCS violations on REST API
2018-03-06 15:04:58 -03:00
Claudio Sanches
f60cd7cca4
[REST API] Fixed products shipping_class_id type
2018-02-20 17:16:26 -03:00
Claudio Sanches
e6597cd351
Fixed coding standards
2018-01-30 15:05:25 -02:00
Claudio Sanches
05a80e2d4f
[REST API] Fixed typos on products schema
2018-01-30 15:03:01 -02:00
Mike Jolley
effbf87e22
API should generate or set file ID when setting downloads. Closes #18330
2018-01-03 11:02:38 +00:00
Mike Jolley
e2f0126936
Filter passed images before processing.
2017-12-12 17:08:01 +00:00
Mike Jolley
1bf47c2a81
API: Use KSES for purchase_note like admin
2017-12-08 11:47:27 +00:00
Claudio Sanches
b74fc8963d
Update REST API schema for backwards compatibility with WP 4.9
...
Closes #17818
2017-11-21 16:15:51 -02:00
Mike Jolley
bdea242019
Schema: Attributes are an array of strings
2017-11-16 19:44:14 +00:00
Jan-Paul Kleemans
241e903f9e
Clarify sku param description
2017-11-07 15:55:00 +01:00
Claudio Sanches
e7508c2c54
[REST API] Fixed date_on_sale_to_gmt description on products endpoint
2017-10-25 14:06:50 -02:00
Claudio Sanches
c17fbf53b4
Fixed coding standards
2017-10-25 14:06:13 -02:00
victorfreitas
e40ae14d2e
Improving the code comment
2017-10-03 12:28:05 -03:00
victorfreitas
c72c2f06b8
Save postmeta attachment image reference on import of products via API rest.
2017-10-03 10:17:09 -03:00
Claudio Sanches
ab1b100a36
[REST API] Return empty result when there is no on_sale products
...
This forces return an empty array as result when using `on_sale=true`.
By default `WP_Query` will return all results when `post__in` is equal
to `array()`, so changing to `array( 0 )` will force the expected
behavior.
Closes #16933
2017-09-26 14:02:33 -03:00
claudiulodro
2e4b514a7f
Modify product API returned data by context
2017-09-22 10:52:30 -07:00
claudiulodro
8c523ee0b9
Remove featured image on empty image array
2017-09-01 11:14:48 -07:00
Claudio Sanches
78a6585f19
[REST API] Allow unset product shipping_class
...
Closes #15960
2017-07-04 14:01:17 -03:00
Claudio Sanches
4dcb61e098
Fixed a typo
2017-06-12 13:59:47 -03:00
Claudio Sanches
43d28372b9
[REST API] Allow set grouped_products
...
Fixes #15559
2017-06-12 13:34:39 -03:00
Mike Jolley
4b74f304b0
Gallery should be updated even if empty.
...
Fixes #15240
2017-05-24 17:23:28 +01:00
Claudio Sanches
8371882002
[REST API] Fixed a minor bug that prevents saving default_attributes
2017-03-23 17:19:07 -03:00
Mike Jolley
b334af4544
Merge pull request #13732 from woocommerce/rest-api-fix-context
...
[REST API] Fixed context from items in schema
2017-03-23 11:04:50 +00:00
Claudio Sanches
6bc29aa77f
[REST API] Removed deprecated download_type from products v2
2017-03-23 02:32:47 -03:00
Claudio Sanches
1072bea460
[REST API] Fixed variations context for products v2
2017-03-23 02:29:06 -03:00
Claudio Sanches
ee15a48b7e
Merge pull request #13654 from woocommerce/fix-12804
...
[REST API] Return attribute names instead of slugs
2017-03-20 16:45:50 -03:00
Mike Jolley
94148cf512
Text changes
2017-03-20 16:01:55 +00:00
Claudio Sanches
e3c2c79e00
[REST API] Return attribute names instead of slugs
...
Closes #12804
2017-03-17 17:25:38 -03:00
Claudio Sanches
59c2849736
Changed version 2.7 to 3.0
2017-03-15 13:36:53 -03:00
Mike Jolley
9bee678819
API updates
2017-03-13 21:36:31 +00:00
Mike Jolley
dd1b8e35dc
API endpoints
2017-03-13 20:26:52 +00:00
Claudio Sanches
8d28e966c4
Let product CRUD handle terms IDs
2017-03-03 16:21:27 -03:00
Claudio Sanches
0410518f31
Removed filter query param from products queries in REST API
2017-02-17 13:15:54 -02:00
Claudio Sanches
58d90a2ee8
Added legacy classes
2017-02-17 00:27:40 -02:00