# Checkout Hook : call API to update stock on external system

**URL:** <https://forum.shopware.com/t/checkout-hook-call-api-to-update-stock-on-external-system/62025>\
**Category:** Plugins\
**Created:** [27. September 2019 um 07:17 UTC](https://forum.shopware.com/t/checkout-hook-call-api-to-update-stock-on-external-system/62025 "2019-09-27T07:17:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasims\_zignuts](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@vasims\_zignuts](https://forum.shopware.com/u/vasims_zignuts)\
**Post date:** [27. September 2019 um 07:17 UTC](https://forum.shopware.com/t/checkout-hook-call-api-to-update-stock-on-external-system/62025/1 "2019-09-27T07:17:06Z")

</div>

Sorry, I am a newbie. I have a system where I want to reduce stock when we purchase from shopware website. I have demo plugin with me. I want to know that is there any way&nbsp; where we can call API on invoice generation or at new order place or stock level change?
