Claudio Sanches
|
bad93d4c86
|
Improved naming for meta_data in schema
|
2017-02-15 12:28:45 -02:00 |
Claudio Sanches
|
ad3716a49e
|
Fixed coupons schema
|
2017-02-14 13:59:22 -02:00 |
Claudio Sanches
|
23fbc31dfb
|
[REST API v1] Implement CRUD to coupons
|
2017-02-09 19:22:19 -02:00 |
Claudio Sanches
|
4352484ed7
|
REST API v2
|
2017-02-09 15:06:13 -02:00 |
Mike Jolley
|
82d7fe6e73
|
Added more missing args and types
|
2017-01-26 20:33:39 +00:00 |
Mike Jolley
|
b727c61da7
|
Missing arg and setting types
|
2017-01-26 20:06:18 +00:00 |
Mike Jolley
|
2d23705431
|
ID arg definitions
|
2017-01-26 19:22:57 +00:00 |
Claudio Sanches
|
cdf59d6f68
|
E[REST API] Use WC_Data_Exception->getErrorData
|
2017-01-23 17:32:33 -02:00 |
Justin Shreve
|
291a662be1
|
The WC API returns exclude_product_ids and expiry_date. 2.7 renamed these in the API file, which we should not do until we version the endpoints.
|
2017-01-03 10:25:36 -08:00 |
Mike Jolley
|
e8d119c42c
|
Feedback
|
2016-12-07 18:13:17 +00:00 |
Mike Jolley
|
7f234a0b63
|
Update array schema
|
2016-12-07 14:24:44 +00:00 |
Mike Jolley
|
d4fbda1d68
|
Put back array for arrays of objects
|
2016-12-07 12:20:56 +00:00 |
Mike Jolley
|
ba62599da0
|
Use objects, rather than arrays in schema when properties are defined
|
2016-12-07 11:36:46 +00:00 |
Justin Shreve
|
5d8ce22afe
|
When saving coupons, return wp_errors if an item cannot be created or updated.
|
2016-11-29 03:06:10 -08:00 |
Claudio Sanches
|
2739243587
|
Use wc_get_coupon_id_by_code() while querying coupons by code
|
2016-11-18 17:12:01 -02:00 |
Claudio Sanches
|
40c90ac2d0
|
Use ID to query coupons
|
2016-11-18 17:10:41 -02:00 |
Rami Yushuvaev
|
93d55dade9
|
add translators comments
|
2016-10-29 20:32:38 +03:00 |
Justin Shreve
|
c1d7111240
|
Implement separate variation endpoints for managing a product's variations. Also adds tests.
|
2016-09-29 14:44:14 -07:00 |
Aristeides Stathopoulos
|
9668247b95
|
WordPress.PHP.YodaConditions.NotYoda
|
2016-09-09 03:14:28 +03:00 |
Mike Jolley
|
d9a0d0988b
|
Handle meta data and fix unit tests
|
2016-08-31 15:43:34 +01:00 |
Mike Jolley
|
df35845d4d
|
wc_get_coupon_id_by_code
|
2016-08-30 11:43:53 +01:00 |
Mike Jolley
|
b0672a000a
|
Fixed unit tests
|
2016-08-26 16:44:00 +01:00 |
Mike Jolley
|
7d8bacc2b3
|
Missing $wpdb
|
2016-08-26 16:15:18 +01:00 |
Mike Jolley
|
f034e1f69d
|
Exception handling and REST optimisation
|
2016-08-26 15:42:42 +01:00 |
Mike Jolley
|
3ff41ceea4
|
No need to add meta since CRUD handles this
|
2016-08-26 15:26:05 +01:00 |
Mike Jolley
|
5c40236d79
|
Fixes notices
|
2016-08-26 15:24:01 +01:00 |
Mike Jolley
|
ed01282340
|
Made data match schema
|
2016-08-26 15:20:44 +01:00 |
Claudio Sanches
|
16e386c873
|
Merge pull request #11757 from woothemes/get-coupon-code-by-id
Get coupon code by
|
2016-08-24 14:18:23 -03:00 |
Claudio Sanches
|
c8726cc42b
|
Fixed method return value in write context
cc @justinshreve
|
2016-08-24 01:50:12 -03:00 |
Claudio Sanches
|
3633960165
|
Removed dead global variables
|
2016-08-23 20:02:38 -03:00 |
Claudio Sanches
|
00b2e43250
|
DRY
|
2016-08-23 20:00:30 -03:00 |
Justin Shreve
|
77088a4a22
|
Coupon ID will also be an integer, so we can switch the prepare statement to expect that
|
2016-08-23 13:55:21 -07:00 |
Justin Shreve
|
a243829db6
|
Convert Coupon Controller to use CRUD operations
|
2016-08-22 15:06:21 -07:00 |
Justin Shreve
|
7da590e422
|
Coupon Tests:
* Move tests for legacy endpoints to a legacy test folder.
* Create a test class to test the WC-API coupons endpoint.
|
2016-08-22 13:50:32 -07:00 |
Mike Jolley
|
61e2969b83
|
[2.6][API] Fix coupon description field
fixes #11633
|
2016-08-08 11:27:07 +01:00 |
Claudio Sanches
|
81690c4dee
|
Fixed duplicated semicolon
|
2016-06-30 18:25:39 -03:00 |
Claudio Sanches
|
d117423f56
|
[2.6] [REST API] Fixed the schema for prices
|
2016-06-20 17:20:12 -03:00 |
Claudio Sanches
|
abac5e2160
|
[REST API] Fixed batch create coupons
|
2016-05-22 18:19:45 -03:00 |
Claudio Sanches
|
2b1d4eced6
|
[REST API] Allow batch create, update and delete for almost all endpoints
|
2016-05-11 16:34:53 -03:00 |
Claudio Sanches
|
552b40ad02
|
[REST API] Defined coupons default values
|
2016-04-28 18:38:35 -03:00 |
Matheus Martins
|
303787b29c
|
Fixing grammar error
Just fixing a little grammar error
|
2016-04-23 01:32:22 -03:00 |
Claudio Sanches
|
ab449a6a62
|
Improved coupons endpoint using the new Coupon Data fields
|
2016-03-31 16:32:12 -03:00 |
Claudio Sanches
|
92da79ce76
|
Changed $namespace from public to protected
|
2016-03-31 15:25:31 -03:00 |
Claudio Sanches
|
9619c041cd
|
Allow filter coupons by code
|
2016-03-30 18:42:51 -03:00 |
Claudio Sanches
|
8e9e9526ac
|
Fixed date params
|
2016-03-30 14:53:46 -03:00 |
Claudio Sanches
|
a16b32825f
|
Fixed rest functions names
|
2016-03-29 19:54:37 -03:00 |
Claudio Sanches
|
ae2b3eb3fc
|
Check if coupon code is empty
|
2016-03-29 19:11:49 -03:00 |
Claudio Sanches
|
a0290a6c65
|
Stop check again if coupon have code when creating
|
2016-03-29 19:09:55 -03:00 |
Claudio Sanches
|
242b362020
|
Fixed file names
|
2016-03-28 09:25:50 -03:00 |