Stock Update

Sample payload for stock update.

Webhook Event

stock.update event triggered when stock modified.

Payload

                    
                        {
                            "event":
                                {
                                    "name":"stock.update"
                                },
                            "product_id":854,
                            "product_name":"Boost 500 gm ( Mrp 255 ) ( 24 pcs )",
                            "sku":"CP2425",
                            "hsn_code":"19011090",
                            "date_time":"22-10-2024 11:39:40",
                            "quantity":-1,
                            "closing_stock":19,
                            "description":"New Order"
                        } 
                    
                

Response Parameters

Parameter Datatype Description
event Collection The webhook event.
event.name String The webhook event name.
product_id Integer The unique identifier of the product.
product_name String The name of the product.
sku String The SKU of the product and this also a unique identifier of the product.
hsn_code String The HSN code of the product.
date_time String When the stock was modified. Format DD-MM-YYYY H:i:s
quantity Integer Modified quantity with sign.
closing_stock Integer Closing stock of the product after quantity is being modified.
description String Description about log. Null value can be returned if there is no description
Page Overview