When inventory has been updated
Product Payload
{
"event": "inventory.updated",
"model": "product",
"model_id": 1, // Product ID
"data": {
"id": 1, // Product ID
"quantity": "100",
"updated_at": "2023-01-25T21:19:39.925898Z"
}
}
Variant Payload
{
"event": "inventory.updated",
"model": "variant",
"model_id": 10, // Variant ID
"data": {
"id": 10, // Variant ID
"quantity": "50",
"product_id": 1, // Product ID
"updated_at": "2023-01-25T21:19:39.925898Z"
}
}