cancel
Showing results for 
Search instead for 
Did you mean: 

Orders REST API issue

Re: Orders REST API issue

@trey_sinnis

Yes already tried with vanila Magento and its working here with

index.php/rest/V1/orders/items?searchCriteria[currentPage]=1

 

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

What PHP version you running? I didn't for me (PHP7.0)

 

Re: Orders REST API issue

I have Magento 2.2.2 and its working here perfectly.

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

On what PHP Version?

Re: Orders REST API issue

php 7.0.25

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

Hm so live server full deets are:

 

PHP 7.1
Magento 2.2.5

 

My local

 

PHP 7.2

Magento 2.3-dev

 

My dev site

PHP 7.0

Magento 2.2.5

 

My dev site and live don't work - local does :s dev was a vanilla install of 2.2.5 with nothing changed. Is it possible for file permissions to be a factor for this?

Re: Orders REST API issue

can you please share dev site access so i can check

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

Unfortunately not - it's hosted on an internal LAN network - so you need to be on the network to get to it

Re: Orders REST API issue

@trey_sinnis

 

Then how can I help you? Smiley Happy

Manish Mittal
https://www.manishmittal.com/

Re: Orders REST API issue

I can do specs to mirror:

 

CentOS 7

PHP 7.1.22

Magento 2.2.5

 

Vanilla install

 

Script used in OP