When querying /order/detail I get different responses on two different machines. Upon further investigation, this appears to be for newer orders.
On both machines I get the same response for order 1625253XXX yet different for 2150545XXX.
The only differences between both machines are the PHP and Curl version numbers.
The response that is different on both machines does not report an error yet return an empty orders array.
Getting correct results over php7 and curl 7.61, getting incorrect over php5 and curl 7.26
Is the API endpoint checking headers or version numbers and returning conditional results? Is there a header I need to spoof/fake to get consistent results.
Incorrect response (note the empty orders array, which is populated on the other machine):
{"success":true,"errorCode":null,"errorMessage":null,"orders":[]}
When querying /order/detail I get different responses on two different machines. Upon further investigation, this appears to be for newer orders.
On both machines I get the same response for order 1625253XXX yet different for 2150545XXX.
The only differences between both machines are the PHP and Curl version numbers.
The response that is different on both machines does not report an error yet return an empty orders array.
Getting correct results over php7 and curl 7.61, getting incorrect over php5 and curl 7.26
Is the API endpoint checking headers or version numbers and returning conditional results? Is there a header I need to spoof/fake to get consistent results.
Incorrect response (note the empty orders array, which is populated on the other machine):
{"success":true,"errorCode":null,"errorMessage":null,"orders":[]}