Missing timestamp on inventory updated webhook

Hi, I’m testing out the inventory updated webhook. According to the docs there should be timestamp in the request. Below is the example from the documentation.

{
    "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
        }
    ]
}

The request I’m getting locally is more like the following.

{
    "account_id": 123,
    "account_uuid": "ABC==",
    "webhook_type": "Inventory Update",
    "inventory": [
        {
            "sku": "123",
            "inventory": "0",
            "backorder_quantity": "0",
            "on_hand": "100",
            "virtual": false
        }
    ]
}

Is there some missing configuration to ensure that we receive the timestamp? It would make tracking updates to stock simpler on our end.

Hi @maarten_jacobs
I am not aware of any settings that could affect what is sent, but will look into this further.

1 Like

It looks like this was previously coming through, but like yours, it did not come through in my tests. We are checking if this was intentional and I will update the thread. Thanks for the heads up @maarten_jacobs!

1 Like

Hi, @maarten_jacobs! Thank you again for the heads up, the documents have been adjusted, the timestamp should not be there.

1 Like