My Products
Help
kashyap
PARTNER

inventoryitem changed webhook notification not trigger

by kashyap

Webhook notification not trigger whenever  update cost price, Issue, Receipt, Adjust or Transfer the stock.
Is there any way to know whenever product stock or price fields changed? Changes may be at sales order, invoice or any actions happen on product.

8 REPLIES 8

by Suzdar Ibrahim

Hi Kashyap!

 

Is this something that worked before and suddenly stopped working?

These are all the available events on the webhook service:

[
    {
        "eventType": "customer_changed",
        "name": "Customer changed",
        "description": "Triggered when a new customer was created or an existing one was updated"
    },
    {
        "eventType": "arinvoice_changed",
        "name": "ARInvoice changed",
        "description": "Triggered on status change or custom action"
    },
    {
        "eventType": "account_changed",
        "name": "Account changed",
        "description": "Triggered on changes of an Account entity"
    },
    {
        "eventType": "purchaseorder_changed",
        "name": "PurchaseOrder changed",
        "description": "Triggered on status change or custom action"
    },
    {
        "eventType": "shipment_changed",
        "name": "Shipment changed",
        "description": "Triggered after creation or confirmation of a Shipment"
    },
    {
        "eventType": "project_changed",
        "name": "Project changed",
        "description": "Triggered on changes of a Project"
    },
    {
        "eventType": "salesorder_changed",
        "name": "SalesOrder changed",
        "description": "Triggered on status change or custom action"
    },
    {
        "eventType": "inventoryitem_changed",
        "name": "Inventory Item changed",
        "description": "Triggered after creation or update of an InventoryItem"
    },
    {
        "eventType": "employee_changed",
        "name": "Employee changed",
        "description": "Triggered on changes of an Employee"
    },
    {
        "eventType": "supplier_changed",
        "name": "Supplier changed",
        "description": "Triggered after creation or update of a Supplier"
    }
]
kashyap
PARTNER

by kashyap

No its not working. Expected to work whenever product stock or any type of price getting changed via any operations?

by Suzdar Ibrahim

Hi,

 

As far as I remember Inventory_item_changed event doesn't cover those changes but only inventory header values such as status, ID etc. 

kashyap
PARTNER

by kashyap

Any API available which call every X interval with filter of lastModifiedTime so we can get only updated products?

by Suzdar Ibrahim (Updated ‎13-09-2024 12:06 by Suzdar Ibrahim VISMA )

Hi Kashyap,

 

Unfortunately we do not have a separate API for checking updated products. We only provide parameters on the endpoint itself which leaves the integrators to do the programming logic. However you can create a post on the idea forum 🙂

 

BR,

Suzdar 

kashyap
PARTNER

by kashyap

How we can keep product stocks and price upto date whenever its changed in visma? We need some way to make product stock/price to be same in Visma and Our system.

by Suzdar Ibrahim (Updated ‎16-09-2024 12:58 by Suzdar Ibrahim VISMA )

I'd also recommend to take a look at this post, it would require a different action to be pressed for your webhook to trigger - https://community.visma.com/t5/Knowledge-base-in-Developers/Using-Automation-Actions-and-Webhooks-to...

 

 

by Suzdar Ibrahim

Hi Kashyap,

 

All changes done in screen IN202500 trigger a webhook, so also costprice pending, but not transactions like update costprice revalue. Only thing I can think of is if you check for lastModifiedDateTime and try to match the price of the inventory item with your system, if there are any changes then update the price in your system.

 

BR,

Suzdar