I have an issue where some orders have the line item properties come in as a hash, as opposed to an array.
So far we have only seen this on one store, and it is one old orders, but it is consistent and persists across api versions.
Having the properties comes in as a hash does not match our model of Shopify's api and while we could put in a way to handle this, I would like some confirmation that this is expected or at least is not an issue that will be fixed in the near future.
Has anyone else run into this issue?
Solved! Go to the solution
This order is from 2013, I notice the order before it is also using hashes. I wonder if this applied to all old orders. Recent orders appear to be using arrays (as they should be). Do you have any examples of recent orders using hashes? Otherwise I think it's safe to assume new orders will be using arrays. You might need some additional logic to handle these older orders.