Claudio Sanches
0f1f91f90a
[REST API] Fixed duplicated entry in orders notes schema
2018-10-16 19:07:58 -03:00
Claudiu Lodromanean
84ec31d3cc
Merge pull request #21588 from woocommerce/fix/21587
...
[REST API] Product downloads - Check if file ID is not empty and exists
2018-10-16 10:09:52 -07:00
Claudio Sanches
63390c181d
[REST API] Fixed schema for product's downloads
...
Download ID are generated with wp_generate_uuid4() for while now.
Also we allow users to manipulate it.
2018-10-16 13:19:41 -03:00
Claudio Sanches
00c1a9016a
Check if file ID is not empty and exists
...
Closes #21587
2018-10-16 13:01:51 -03:00
Alex Kirk
3e7cf4be21
Fix typo revivew
2018-10-15 15:54:19 +02:00
Claudiu Lodromanean
2008b8e2b2
Merge pull request #21384 from woocommerce/fix/rest-api-order-statuses
...
[REST API] Updated order statuses slugs
2018-09-24 11:28:56 -07:00
Claudio Sanches
4ce8544478
[REST API] Fixed reports results
2018-09-18 12:14:17 -03:00
Claudio Sanches
bd7a73696a
[REST API] Updated order statuses slugs
...
All REST API does not include "wc-" prefix, removing here makes easy to
work with all endpoint without care about any prefix.
2018-09-18 11:27:26 -03:00
Claudio Sanches
48a0045373
[REST API] Fixed endpoints registered in /reports
2018-09-18 11:23:35 -03:00
Claudiu Lodromanean
7b1344e567
Merge pull request #21327 from woocommerce/feature/21119
...
[REST API] Allow apply and remove coupons in orders endpoint
2018-09-12 08:04:00 -07:00
Claudio Sanches
bfdd758bd4
Improve coupons logic and throw errors for invalid coupons
2018-09-11 18:26:32 -03:00
Claudio Sanches
8d9da1cb94
Created method to apply and remove coupons
2018-09-11 18:10:58 -03:00
Claudio Sanches
fda3f6890c
Fixed allow to remove coupons when using line item ID.
2018-09-11 17:18:59 -03:00
Claudiu Lodromanean
92c5c4e54e
Merge pull request #21326 from woocommerce/fix/rest-api-settings-schema
...
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 13:16:36 -07:00
Claudio Sanches
2b7e5121f2
[REST API] Allow apply and remove coupons in orders endpoint
...
Closes #21119
2018-09-11 16:53:55 -03:00
Claudio Sanches
ccd1e1ced6
Fixed coding standards
2018-09-11 16:53:41 -03:00
Claudio Sanches
0ab5dc3e5b
[REST API] Updated Settings schema since now we allow batch update
2018-09-11 16:21:10 -03:00
Claudio Sanches
45c542aa8a
[REST API] Fixed order notes schema
2018-09-11 15:53:13 -03:00
Claudio Sanches
61873627a7
Merge branch 'master' into feature/rest-api-v3
2018-09-10 19:16:22 -03:00
Claudiu Lodromanean
ba0a989a38
Merge pull request #21306 from woocommerce/feature/21115
...
[REST API] Reports totals endpoints
2018-09-10 10:23:56 -07:00
Claudiu Lodromanean
75bac9f3c6
Merge pull request #21316 from woocommerce/fix/21120
...
Replaced in_stock with stock_status for v3 products endpoint.
2018-09-10 09:47:31 -07: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
14a1217218
Load all product types even when empty
2018-09-08 22:45:51 -03:00
Claudio Sanches
5f723fc0d9
Removed extra code
2018-09-08 22:40:27 -03:00
Claudio Sanches
d199538514
Inserted data for /reports/reviews/count endpoint
2018-09-08 22:10:19 -03:00
Claudio Sanches
d2b0ff0f32
Initial /reports/reviews/totals endpoint
2018-09-08 21:19:57 -03:00
Claudio Sanches
2fcabfe7e6
/reports/coupons/totals endpoint
2018-09-08 21:04:13 -03:00
Claudio Sanches
daf6650d5d
/reports/customers/count endpoint
2018-09-08 20:32:39 -03:00
Claudio Sanches
a0145c0265
Fixed schema to include instance_id for shipping_lines
2018-09-08 19:12:40 -03:00
Claudio Sanches
30a2e87cf5
Fixed schema to include instance_id for shipping_lines
2018-09-08 19:10:45 -03:00
Claudio Sanches
5d67b474ed
Load product types
2018-09-08 19:02:22 -03:00
Claudio Sanches
017b44693b
Updated names
2018-09-05 10:30:14 -03:00
Claudio Sanches
f13deab00a
/reports/orders/count
2018-09-05 10:28:22 -03:00
Claudio Sanches
25ed037fb0
Include new reports endpoints results
2018-09-05 09:36:19 -03:00
Claudio Sanches
9fd386155f
Allow to easy manipulate /reports endpoint results
2018-09-05 09:28:58 -03:00
Claudio Sanches
c271fca508
Restored reports endpoints
2018-09-05 09:24:02 -03:00
Claudio Sanches
6a3483fa8a
[REST API] Make product's created date editable
2018-09-03 10:57:28 -03:00
Andrew Minion
067a79c336
fix typo
2018-08-23 14:37:54 -04:00
Claudiu Lodromanean
fe69a875e2
Merge pull request #20993 from woocommerce/fix/20959
...
Changed wc_clean to checking for valid utf8 for line items and password.
2018-08-22 10:12:48 -07:00
Peter Fabian
1a2f0d4a0b
Removed check for invalid utf8 in passwords.
2018-08-17 11:01:30 +02:00
Gerhard Potgieter
2c15bee1d4
Refine wp.org update check to use correct data structures when querying data.
2018-08-16 14:27:35 +02:00
Gerhard Potgieter
2625823734
Add fallback to wp.org plugin info check if the changelog check fails, this is for free plugins hosted on .org
2018-08-16 14:09:39 +02:00
Peter Fabian
925002bc37
Changed wc_clean sanitization to checking for valid utf8 and the input is later sanitized by WordPress db layer.
...
It caused issues in 2 places: Order item name (product name) and user's password.
2018-08-06 20:49:27 +02:00
Claudio Sanches
0b0fba824b
Returns only reviews and fixed prepared args
2018-08-02 14:01:46 -03:00
Claudio Sanches
c98cb8b0fd
Introduced batch endpoint and set default for status
2018-07-31 13:33:33 -03:00
Claudio Sanches
48078f6bcc
DELETE /product/reviews/<id>
2018-07-31 12:37:44 -03:00
Claudio Sanches
a286bde484
PUT /products/reviews/<id>
2018-07-31 11:51:18 -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
Claudio Sanches
2f3779afa9
POST method for product reviews endpoint
2018-07-26 16:31:17 -03:00
Adrian Jagusch
2a2345acae
Fixes #20914
2018-07-26 17:32:08 +02:00
Claudio Sanches
1137782c6a
Improved links
2018-07-24 15:56:46 -03:00
Claudio Sanches
7d07d52279
Allow _fields
2018-07-24 15:52:48 -03:00
Claudio Sanches
73938b642a
Allow fetch multiple reviews
2018-07-24 15:45:12 -03:00
Claudio Sanches
6233d8bdf0
Improved reviews schema
2018-07-24 15:10:41 -03:00
Claudiu Lodromanean
a0b4a8df03
Merge pull request #20611 from woocommerce/fix/20349
...
Allow filtering variations by attributes in API.
2018-07-24 10:25:36 -07:00
Claudio Sanches
809c2f0539
Merge branch 'feature/rest-api-v3' into feature/rest-api-reviews-v3
2018-07-24 14:01:50 -03:00
Claudio Sanches
99840c3914
Merge branch 'master' into feature/rest-api-v3
2018-07-12 16:07:57 -03:00
Claudiu Lodromanean
6dbd5d5323
Merge pull request #20731 from woocommerce/add/20724
...
Do not load all tables in multisite system status
2018-07-11 13:42:52 -07:00
Peter Fabian
47d0bb7b6a
Removed variables that are not needed.
2018-07-11 13:44:43 +02:00
Gerhard Potgieter
3cda8c439c
Better table matching on multisite, hat tip to @claudiulodro for pointing me in the right direction.
2018-07-11 11:19:10 +02:00
Peter Fabian
3af9c1e95b
Merge branch 'master' into fix/20349
...
# Conflicts:
# tests/framework/helpers/class-wc-helper-product.php
# tests/unit-tests/api/products.php
2018-07-09 18:18:06 +02:00
Peter Fabian
2839dba7d2
Switched implementation of variation query parameters in the API from SQL query adjustment to one extra parent query.
2018-07-09 17:14:12 +02:00
Gerhard Potgieter
beaa610cc0
Only load tables for system that is part of current multisite, this avoids displaying all tables in a MS speeding up page load, and also prevent divulding tables on other sites in the MS environment.
2018-07-09 13:48:05 +02:00
Claudio Sanches
47cb949ea4
Reviews
2018-07-04 15:15:33 -03: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
Claudiu Lodromanean
d0491072e8
Merge pull request #17895 from woocommerce/update/use-post-author-for-customer-id
...
Use post_author instead of the post meta '_customer_user'
2018-06-25 11:23:59 -07:00
Peter Fabian
ef3d32699c
Fixed missing key errors.
2018-06-23 13:55:42 +02:00
Mike Jolley
66ae57699a
Return error code if parent is invalid
2018-06-19 12:54:57 +01:00
Rodrigo Primo
43d22a2349
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-18 15:17:19 -03:00
Peter Fabian
1a3b5b165d
Factor out parent table name to variable, allow big SELECT.
2018-06-18 10:15:36 +02:00
Claudiu Lodromanean
ee47ceb361
Merge pull request #20537 from woocommerce/update/transactions-revert
...
Transactions, caching, and version transient cleanup issues
2018-06-15 09:11:23 -07:00
Mike Jolley
ce1810cd1a
Merge pull request #20497 from woocommerce/fix/20485
...
API: Order images by position before saving
2018-06-14 15:24:49 +01:00
Mike Jolley
9f86839cab
Remove wc_transaction_query in favour of logging
2018-06-14 14:39:18 +01:00
Mike Jolley
fcd23567f6
Clear transients tool; clear wc_layered_nav_counts
2018-06-12 12:31:15 +01:00
Mike Jolley
cfda380d2f
API: Order images by position before saving
2018-06-12 12:13:10 +01:00
Rodrigo Primo
dd8bf8b522
Merge branch 'master' into update/use-post-author-for-customer-id
2018-06-11 10:44:14 -03:00
Peter Fabian
db9d2f2c30
Made path /orders/refund_id return invalid order id msg.
2018-06-07 13:26:29 +02:00
Claudio Sanches
4729ef8e3c
Merge pull request #20309 from woocommerce/fix/wc-api-dev-53
...
Removed 'orders_count' and 'total_spent' fields from customer v3 API.
2018-06-06 17:25:42 -03:00
Peter Fabian
9ce165d75e
Added extra join with parent product to filter variable products from REST API
2018-06-05 13:22:22 +02:00
Peter Fabian
3b91c765e5
Removed functions unchanged vs v2.
2018-05-30 18:05:35 +02:00
Mike Jolley
79c34ba843
Merge pull request #20089 from woocommerce/fix/20042
...
Allow oAuth1.0a under SSL
2018-05-30 15:37:45 +01:00
Mike Jolley
5ef22da844
Merge pull request #20116 from woocommerce/update/rest-api-v3-feature-plugin-changes
...
Included REST API feature plugin endpoints and changes
2018-05-30 14:01:21 +01:00
Claudio Sanches
c427b92c8e
Schema and endpoints for new reviews endpoint
2018-05-29 11:22:32 -03:00
Peter Fabian
2ae09ce1ce
Removed 'orders_count' and 'total_spent' fields from v3 API.
2018-05-29 14:55:22 +02:00
Mike Jolley
0bfd675238
Wrapper function to get full mysql version string with mariadb handling
2018-05-25 11:15:30 +01:00
Mike Jolley
faa09deff1
Recalc taxes if address changes in API
2018-05-18 21:47:04 +01:00
Peter Fabian
dd9fe541f7
Updated schema for v3 API.
2018-05-17 16:38:47 +01:00
Claudio Sanches
2c476f60ce
Included REST API feature plugin endpoints and changes
2018-05-17 16:14:38 +01:00
Peter Fabian
e02989361c
Change image title to name in v3.
2018-05-17 15:50:27 +01:00
Claudio Sanches
1c31021eb4
Fixed typo
2018-05-17 12:15:38 +01:00
Claudio Sanches
aa2b424c21
Fixed class hierarchy in REST API v2
2018-05-17 12:11:56 +01:00
Claudio Sanches
f02e4e3088
Initial REST API v3 files
2018-05-17 11:44:46 +01:00
Claudio Sanches
de38097b16
Fixed docblock
2018-05-17 11:44:36 +01:00
Claudio Sanches
7f1679d994
Move REST API v2 to a new directory
2018-05-17 11:27:53 +01:00
Claudio Sanches
dbec84e0a9
Allow oAuth1.0a under SSL
...
Closes #20042
2018-05-15 23:51:59 +01:00
Rodrigo Primo
c49059ce7a
Merge branch 'master' into update/use-post-author-for-customer-id
2018-05-08 17:34:09 -03:00
Rodrigo Primo
fdfe95b07e
Update WC API v1 and v2 to use post_author instead of _customer_user
2018-05-07 17:37:31 -03:00
Claudiu Lodromanean
ccededa35c
Merge pull request #19971 from woocommerce/fix/19964
...
Fix: WC API should not try to create a product image if an empty image is passed
2018-05-07 10:48:10 -07:00
Rodrigo Primo
c7a9550691
Fix: WC API should not try to create a product image if empty image is passed
...
Currently if you try to create a product variation passing an empty array as the value of the image key using WC API:
Endpoint: `wp-json/wc/v2/products/PRODUCT_ID/variations`
Payload: `{ "attributes" : [ { "id" : 1, "name" : "color", "option" : "Green" } ], "dscription" : "Green Tea Variety", "image" : {} }`
WC will return the following error:
```
{ "code": "woocommerce_product_invalid_image_id", "data": { "status": 400 }, "message": "#0 is an invalid image ID." }
```
This is happening because the code that handles image creation
(4e42b2cd30/includes/api/class-wc-rest-product-variations-controller.php (L292)
) is not checking if `$request['image']` is empty before adding a new `position` key to it. To fix this problem, this commit simply adds a check to see if `$request['image']` is empty before proceeding.
Fixes #19964
2018-05-04 10:47:39 -03:00
Gerhard Potgieter
96d84b2813
Revert "Update the actual message and not just the test :)"
...
This reverts commit 9607fbcdd8
.
2018-05-04 11:57:26 +02:00
Gerhard Potgieter
9607fbcdd8
Update the actual message and not just the test :)
2018-05-04 09:24:05 +02:00
Gerhard Potgieter
e6e03858a0
Add call to tracking API when opting out to comply with GDPR erasure.
2018-05-04 09:10:18 +02:00
Mike Jolley
d584ed72b9
Merge pull request #19930 from woocommerce/update/19925-api-order-refund-schema
...
Update refunds items schema to match actual response keys.
2018-05-02 18:06:30 +01:00
Gerhard Potgieter
5a2da43733
After talking with @mikejolley we decided it would be better to stick to the original schema, reason makes more sense.
2018-05-02 12:12:06 +02:00
Gerhard Potgieter
4a39d8b8cc
Update refunds items schema to match actual response keys.
2018-05-02 10:13:51 +02:00
claudiulodro
4da458a9df
Tool for cleaning up permissions table
2018-05-01 12:35:37 -07:00
Mike Jolley
17ad9dac06
Update docs
2018-05-01 10:15:51 +01:00
Mike Jolley
eeaebc92a0
Merge pull request #19788 from rnaby/class-wc-rest-customers-controller-update_customer_meta_fields-doc-spelling-fix
...
Spelling fix
2018-04-20 11:40:22 +01:00
Khan M Rashedun-Naby
b6cfc6f291
Removed unnecessary else condition.
2018-04-20 01:06:25 +06:00
Khan M Rashedun-Naby
1b7e14a4b6
Spelling fix
2018-04-19 21:10:36 +06:00
Khan M Rashedun-Naby
9aed8394cb
Removed unnecessary else condition check. I think in this situation after early returning the else is redundant.
2018-04-19 11:04:44 +06:00
Claudio Sanches
81a699114c
Merge pull request #19667 from woocommerce/fix/19655
...
Load gateways before order is saved/email is triggered
2018-04-10 14:27:47 -03:00
Mike Jolley
903e3e8acd
Fix featured filter
2018-04-10 14:58:06 +01:00
Mike Jolley
f9cc65b586
Load gateways before order is saved/email is triggered
...
Fixes #19655
2018-04-10 12:15:14 +01:00
Mike Jolley
4e42b2cd30
Handle manage_stock mixed content for variations
2018-04-03 17:46:43 +01:00
Mike Jolley
f98eb66f8c
Webhooks do not need permission checks
2018-03-23 12:45:10 +00:00
Claudio Sanches
b0617a13c4
Removed unnecessary ternary operators
2018-03-21 20:05:19 -03:00
Claudio Sanches
0660a50e07
Removed obvious boolean results
2018-03-21 19:57:10 -03:00
Mike Jolley
6539b7913e
Merge branch 'master'
2018-03-19 18:05:36 +00:00
Claudio Sanches
f0d37ff4f5
Fixed PHPCS violations on REST API
2018-03-06 15:04:58 -03:00
Claudio Sanches
e8017e985b
Fixed coding standards issues with PHPCBF
2018-03-05 17:53:06 -03:00
Mike Jolley
f162fdb9d1
Merge branch 'master' into update/17795
2018-03-01 12:13:14 +00:00
Mike Jolley
cceec55714
Fix error in unit tests due to missing object check
2018-02-27 16:32:59 +00:00
Claudio Sanches
69044423d2
[REST API] Do not allow updating parent ID from variations after created
...
Closes #18933
2018-02-22 16:22:42 -03:00
Claudio Sanches
b64b2a8680
Fixed coding standards
2018-02-22 16:00:21 -03:00
Claudio Sanches
f60cd7cca4
[REST API] Fixed products shipping_class_id type
2018-02-20 17:16:26 -03:00
Mike Jolley
5feed3e0cc
Merge branch 'master' into update/add-ext-object-cache-to-system-status
2018-02-19 14:39:31 +00:00
Mike Jolley
68238938e4
Adds back get_item so you can get a single Webhook
...
Closes #19015
2018-02-19 11:56:57 +00:00
Mike Jolley
d841cf3f27
Conditionally add messages in customiser
2018-02-14 17:25:52 +00:00
Mike Jolley
7ae0f6c274
Hide status button when disabled via filter
2018-02-14 17:00:43 +00:00
Mike Jolley
66e65cf7bf
Disable image regen if photon is being used.
2018-02-14 11:38:18 +00:00
Gerhard Potgieter
1961076bf7
Update tools message for image reneneration.
2018-02-14 10:38:59 +02:00
Mike Jolley
52853e9c23
typo
2018-02-13 13:59:54 +00:00
Mike Jolley
e39b6950a8
Notice when regeneration is happening
2018-02-13 12:02:24 +00:00
Mike Jolley
3c7262112e
Merge branch 'fix/18842-external-images-fix' into update/3.3-image-handling
2018-02-13 11:18:43 +00:00
Gerhard Potgieter
794272a732
Do not auto generate images on setting changes or theme switches. Introduce a regenerate button under tools. Only resize images on the fly when using the customizer to preview changes.
2018-02-13 09:55:50 +02:00
Mike Jolley
bdd4898946
Set status after order is created/updated.
2018-02-12 11:56:48 +00:00
Claudio Sanches
9c39dd34cc
Merge branch 'feature/network-order-widget' of https://github.com/cmmarslender/woocommerce into cmmarslender-feature/network-order-widget
2018-02-02 14:46:51 -02:00
Claudio Sanches
0755038e8d
Merge pull request #18505 from liquidweb/feature/post-system-status-tool-hook
...
Add a hook after executing a REST system status tool
2018-02-02 14:19:03 -02:00
Mike Jolley
a370a4c12a
Merge pull request #18693 from woocommerce/fix/18692
...
Webhooks API error checking
2018-01-31 14:53:49 +00:00
Rodrigo Primo
211ec9b896
phpcs fixes
2018-01-31 11:22:33 -02:00
Mike Jolley
b230d6be4c
Error checking
2018-01-31 10:40:06 +00:00
Gerhard Potgieter
a0b89fdda3
PHPCS fixes
2018-01-31 08:07:27 +02:00
Gerhard Potgieter
6a7f00ce89
Fix grammer
2018-01-31 08:06:51 +02: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
Rodrigo Primo
2feacfb47a
Display whether or not external object cache is enabled
...
This commit adds a new line to the section "WordPress environment" of the system status page to indicate whether or not WP external object cache is enabled.
2018-01-29 15:56:01 -02:00
Rodrigo Primo
a15ecc1601
Automatically fix coding standard violations using phpcbf
2018-01-29 15:53:54 -02:00
Claudio Sanches
47883d89ab
Coding standards
2018-01-25 14:04:11 -02:00
Claudio Sanches
e8b8e87cae
[REST API] Refund line items are read-only
...
Closes #18573
2018-01-25 14:02:31 -02:00
Steve Grunwell
4d6a0ecb82
Merge branch 'master' into feature/post-system-status-tool-hook
2018-01-18 21:54:47 +00:00
Steve Grunwell
90c1a310f1
For consistency with the other endpoints, rename the 'woocommerce_rest_system_status_tool_executed' hook to 'woocommerce_rest_insert_system_status_tool'.
...
Reference: https://github.com/woocommerce/woocommerce/pull/18505#pullrequestreview-89828432
2018-01-18 16:59:47 +00:00
Steve Grunwell
cc91fba4f8
*WHITESPACE ONLY* Clean up whitespace in the WC_REST_System_Status_Tools_Controller file, according to WordPress coding standards
2018-01-17 22:33:58 +00:00
Steve Grunwell
ff0e200ae5
Introduce the woocommerce_rest_system_status_tool_executed action, which fires after one of the WooCommerce REST system status tools is executed.
2018-01-17 21:48:23 +00:00
Mike Jolley
270f4c3608
Update text and clear cart meta data.
2018-01-15 17:04:50 +00:00
Claudio Sanches
9ed1681f39
[REST API] Handle unicode in variation attributes
...
Closes #18288
2018-01-11 13:11:36 -02:00
Mike Jolley
ee6794fb0c
Orders should be created for users who exist on the site only.
2018-01-10 12:32:58 +00:00
Mike Jolley
2c915ba961
Allow quantities less than 1, but not 0.
2018-01-05 12:48:24 +00:00
Mike Jolley
effbf87e22
API should generate or set file ID when setting downloads. Closes #18330
2018-01-03 11:02:38 +00:00
lipemat
c4cb7d146a
support --date_created and --date_created_gmt via wp-cli wc product_review create
2017-12-20 09:54:42 -05:00
Mike Jolley
da0bda4a04
Add refunded payment prop after an API refund succeeds.
2017-12-15 16:23:26 +00:00
Mike Jolley
e2f0126936
Filter passed images before processing.
2017-12-12 17:08:01 +00:00
Diego Zanella
218aebd329
Legacy API - Use "edit" context when setting product prices
...
Ensured that the "edit" context is used when checking if the product is on sale, like it's done when fetching product's regular and sale prices. This prevents price filters from running and, potentially, altering the prices set via the API.
* Ref. https://github.com/woocommerce/woocommerce/issues/17125
* Ref. 6e5cdc60e8
2017-12-11 17:08:53 +00:00
Mike Jolley
1bf47c2a81
API: Use KSES for purchase_note like admin
2017-12-08 11:47:27 +00:00
Claudiu Lodromanean
1a2a332f54
Merge pull request #17939 from woocommerce/feature/17734
...
Apply Webhooks CRUD into REST API
2017-12-01 10:07:21 -08:00
Claudio Sanches
d5f871ad7e
[REST API] Fixed errors while creating and updating webhooks
2017-12-01 11:57:29 -02:00
Claudio Sanches
5cda80330d
Webhooks secret not mandatory in REST API
2017-12-01 11:48:38 -02:00
Claudio Sanches
46cfe9e3b6
Fixed docblocks
2017-12-01 11:47:45 -02:00
Claudio Sanches
270c0a200e
Merge branch 'master' into feature/webhook-crud
2017-11-30 16:55:28 -02:00
Claudio Sanches
4d9203b841
Soft deprecated webhook deliveries REST API endpoints
2017-11-30 16:20:20 -02:00
Claudio Sanches
5e2628c06b
REST API v2 webhooks CRUD implementation
2017-11-29 18:08:08 -02:00
Claudio Sanches
bc86192120
REST API v1 webhooks CRUD implementation
2017-11-29 17:44:09 -02:00
Claudio Sanches
c0a7f0eef0
Fixed category images schema in REST API v1
2017-11-29 10:42:06 -02:00
Claudio Sanches
a70d0109c0
Initial webhooks implementation on REST API v1
2017-11-29 10:23:19 -02:00
Gerhard Potgieter
5f534e7388
Change product categories image object schema from name to title to bring docs in line with the actual output.
2017-11-29 11:06:41 +02:00
Claudio Sanches
3011058757
Applied Webhook CRUD into legacy REST API v3
2017-11-28 18:11:53 -02:00
Claudio Sanches
de18b383d0
Applied Webhook CRUD into legacy REST API v2
2017-11-28 18:08:46 -02:00
Claudio Sanches
625f50a5bf
Allow stdClass in legacy API server add_pagination_headers
2017-11-28 15:11:00 -02:00
Claudio Sanches
c6f8e95b97
Merge branch 'master' into feature/webhook-crud
2017-11-28 15:09:10 -02:00
Claudio Sanches
9123656155
[REST API] Fixed date format in reports schema
2017-11-27 10:24:43 -02:00
Mike Jolley
16152bfcf0
Merge pull request #17849 from woocommerce/fix/17818-1
...
Update REST API schema for backwards compatibility with WP 4.9
2017-11-21 21:53:18 +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
Claudio Sanches
f289d0e05c
Fixed how to delete meta data on REST API v2
2017-11-21 16:05:39 -02:00
Claudio Sanches
13978e496b
Merge branch 'master' into feature/webhook-crud
2017-11-20 10:34:35 -02:00
Chris Marslender
9339eedaca
Update @since to 3.3
2017-11-17 16:02:53 -07:00
Chris Marslender
678e5c7702
Change `buyer` to `customer` in the API response
2017-11-17 15:59:18 -07:00
Chris Marslender
4d856955d9
Merge branch 'master' into feature/network-order-widget
2017-11-17 15:27:52 -07:00
Claudio Sanches
d9d27a9a97
Fixed "tax_class" type in REST API v1
2017-11-17 17:52:12 -02:00
Chris Marslender
14a0f33016
Fix shorthand ternary notation in network orders permission check
2017-11-16 17:40:31 -07:00
Chris Marslender
e68a918bc7
Fix shorthand ternary incompatibility with php 5.2
2017-11-16 17:38:46 -07:00
Chris Marslender
839c09d870
Fixes some phpcs issues
2017-11-16 17:34:25 -07:00
Chris Marslender
bd9ebdf5b1
Merge branch 'master' into feature/network-order-widget
2017-11-16 15:27:28 -07:00
Kelly Dwan
5bb04dd61f
Rest API: Update the schema types for tax_class and price
2017-11-16 16:39:14 -05:00
Mike Jolley
bdea242019
Schema: Attributes are an array of strings
2017-11-16 19:44:14 +00:00
Claudio Sanches
909b80ae31
Removed "Delete WebHook logs" tool
2017-11-16 15:09:51 -02:00