Closed marcosteixeira closed 5 years ago
Looks like you just exposed your API keys to everyone. Better purge it.
Already did :D
Cool, I'll make some tests with the parameters by the weekend, and I let you know.
Hi @claudiosanches, any update on the issue above for include and exclude filters? I tried making a request to the list orders endpoint with the "include" filter populated with order ids (something like { include: [1234, 4567] }) and it returns an 401 invalid signature error. However, if I provide just the order id, something like { include: 1234 }, it will return that single order successfully. Seems the API gets unhappy when providing an array of parameters in the query string params.
Example: http://sb-woo.com:80/woo/wp-json/wc/v2/orders?include[]=5262
(all credentials and signatures removed for security reasons)
@hobertro it's because in the REST API expects a string, like http://sb-woo.com:80/woo/wp-json/wc/v2/orders?include=5262,1234,4567
.
Sorry for the delay on replying it.
But this why array doesn't works.
Hello, I'm using version 1.4.0 and trying to filter customers using
exclude
,include
,email
androle
parameters.Ex:
I always get all the records. Same for the orders endpoints.
Thanks