ShipHero Inventory Webhook

It looks like the ShipHero inventory webhook returns a response like this according to the docs

{
    "account_id": 6334,
    "inventory": [
        {
            "webhook_type": "INVENTORY_UPDATE",
            "sku": "1122334856",
            "inventory": "1588",
            "backorder_quantity": "0",
            "on_hand": "1609",
            "virtual": false,
            "retry": null,
            "timestamp": 1619196552.5594575
        }
    ]
}

What is the difference between “inventory” and “on_hand” here? It’s clear “on_hand” refers to the same “on_hand” exposed by the GraphQL API, but it’s very unclear what “inventory” refers to.

Hi @achempak , welcome to the community!
Inventory is the on_hand minus the number allocated. In the UI, it would be Available.

hi @Theresa, thanks for the response!

1 Like