Hey again @lloyd,
Thanks for the quick replies!
There is no documentation about the different reason
values. The value is specific in how it will return which PO was received or which Order Number was shipped etc.
For example, I ran the query in my test account, and this was my response:
{
"data": {
"inventory_changes": {
"request_id": "6579b9b3d614f729658031f9",
"complexity": 21,
"data": {
"edges": [
{
"node": {
"id": "TG9jYXRpb25DaGFuZ2VMb2c6NDk1MjIwNjA5",
"legacy_id": 495220609,
"account_id": "QWNjb3VudDo2MDUzNA==",
"sku": "testsku0305",
"previous_on_hand": 1,
"change_in_on_hand": -1,
"reason": "Change from the product page via the ShipHero Web Dashboard."
}
},
{
"node": {
"id": "TG9jYXRpb25DaGFuZ2VMb2c6NTAyMjU5NTkw",
"legacy_id": 502259590,
"account_id": "QWNjb3VudDo2MDUzNA==",
"sku": "CHALLENGER",
"previous_on_hand": 3,
"change_in_on_hand": -1,
"reason": "Order <a href=\"/dashboard/orders/details/420737789\">#M79</a> shipped"
}
},
{
"node": {
"id": "TG9jYXRpb25DaGFuZ2VMb2c6NTAyODcyNzA2",
"legacy_id": 502872706,
"account_id": "QWNjb3VudDo2MDUzNA==",
"sku": "CHARGER",
"previous_on_hand": 50,
"change_in_on_hand": -1,
"reason": "Order <a href=\"/dashboard/orders/details/419660330\">#M78</a> shipped"
}
},
{
"node": {
"id": "TG9jYXRpb25DaGFuZ2VMb2c6NTAyOTMwNDU2",
"legacy_id": 502930456,
"account_id": "QWNjb3VudDo2MDUzNA==",
"sku": "CHALLENGER",
"previous_on_hand": 51,
"change_in_on_hand": 9,
"reason": "Received from Purchase Order <a href=\"/dashboard/purchase-orders/details/1844626\">PO 27</a>"
}
},
{
"node": {
"id": "TG9jYXRpb25DaGFuZ2VMb2c6NTAyOTMwNDY4",
"legacy_id": 502930468,
"account_id": "QWNjb3VudDo2MDUzNA==",
"sku": "CHARGER",
"previous_on_hand": 0,
"change_in_on_hand": 9,
"reason": "Received from Purchase Order <a href=\"/dashboard/purchase-orders/details/1844626\">PO 27</a>"
}
},
{
"node": {
"id": "TG9jYXRpb25DaGFuZ2VMb2c6NTAyOTMxMTM4",
"legacy_id": 502931138,
"account_id": "QWNjb3VudDo2MDUzNA==",
"sku": "5278-43976#14",
"previous_on_hand": 3299,
"change_in_on_hand": -1,
"reason": "Change from the product page via the ShipHero Web Dashboard."
}
}
]
}
}
}
Please let me know if you have any questions or concerns.
Best,
RayanP