Keith
August 27, 2018, 1:17pm
1
Hi ya,
We’re using V2 of the api I believe. This is an example of a GET call to an order
https://api.ordoro.com/order/2-106071
I’m wondering, is there anyway to easily detect if an order has been split.
Meaning, is there additional variable added that I can easily look out for that’s specific to a split order.
Thanks.
sophie
August 27, 2018, 3:05pm
2
If you’re on v2 of Ordoro, the notion of a split order does not exist.
Keith
August 27, 2018, 3:24pm
3
Okay thanks.
I think I actually found a way, incase anyones interested.
If “is_order_parent” is “true” - then it’s a split order… false it is not.
At least a quick indicator. How many times it’s split is another story.
sophie
August 27, 2018, 4:30pm
4
If you are seeing that an order is split then you must be using v3. If you are on v3 of Ordoro and you are using the v2 order API you may find orders in a bad or unexpected state.
Keith
August 27, 2018, 4:43pm
5
Ahh okay then I must be. I thought v3 had a different url but I must be mistaken.
I appreciate the help.