cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 REST API with searchCriteria

Magento 2 REST API with searchCriteria

Hi, I have a problem with Magento 2 Rest API.

If I make a request about one invoice, with the invoice id, like this:

https://www.mydomain.com/index.php/rest/V1/invoices/6/

I receive a correct result.

But if I use the searchCriteria to obtain a listing of invoices, I receive as a result:

Invalid signature

this is my request:

https://www.mydomain.com/index.php/rest/V1/invoices?searchCriteria[filter_groups][0][filters][0][field]=created_at&searchCriteria[filter_groups][0][filters][0][value]=2018-09-18&searchCriteria[filter_groups][0][filters][0][condition_type]=gt

Someone can help me?

1 REPLY 1

Re: Magento 2 REST API with searchCriteria

Hey @alberto_p

I am also facing same issue with searchCriteria.
Did you get any solution for this ?