No image available

extend_web_services_hooks

Extends PrestaShop's native web services to fire action hooks (AddBefore, AddAfter, UpdateBefore, UpdateAfter) when records are created or updated via the API.

Developed by Kogkalidis

Get This Module Free on PS Forum EN
License: Unknown Status: Active Health: Very Outdated

Info updated 1 month ago

Sources
PS Forum EN Visit →
Last commit: Jan 3, 2025
Type
Module

Info checked: Mar 2, 2026

This module extends PrestaShop's native web services by firing action hooks when records are created or updated via the API. By default, when an object such as an order is created through the web services endpoint, no hooks are triggered — meaning automated follow-up actions like email delivery, data manipulation, or file creation do not occur. This module closes that gap by dispatching the appropriate native hooks during web service operations.

  • Fires AddBefore and AddAfter hooks when a record is created via web services.
  • Fires UpdateBefore and UpdateAfter hooks when a record is updated via web services.
  • Follows PrestaShop's native hook naming conventions, ensuring compatibility with existing hook listeners.

This module is intended for developers and store owners running multi-environment or clustered setups where data is synchronised between instances via the web services API. It ensures that business logic tied to hooks — such as notifications, third-party integrations, or post-save processing — is executed consistently whether records are created through the back office or via the API.

  • Reference
    extend_web_services_hooks

  • License
    Unknown
  • Status
    Unknown

Comments (0)

No customer reviews for the moment.
Loading...