Hi,
I am having problem with getting order data from specific order. I am syncing Magento orders to veeqo. See example below,
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.veeqo.com/orders/12xxxxxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
"Content-Type: application/json",
"x-api-key: somekey"
));
$response = curl_exec($ch);
curl_close($ch);
var_dump($response);
This will return correct details of the order. BUt my problem is order_id =12xxxxxx.
This Id comes from veeqo side. But in magento side my order_id or increment_id is different form this value.
So what I need is get allocation_id for the particular order from veeqo, But what I have is magento order_id. So how can I use magento order details to get allocation_id from veeqo.
Thanks.