Fiche
Technique
Report a bug
Webhooks module for Prestashop is a module that will allow to exchangerealtime information between Prestashop and every other service that supports webhooks, making possibilities and automation unlimited.
Webhooks allow communication with third-party applications by sending instant web notifications every time an event occurs in your Prestashop. With the Webhooks Integration, exchange realtime information between Prestashopand every other service that supports webhooks, making possibilities and automation unlimited.
Webhooks(A user-defined HTTP callbacks) allow you to subscribe to certain events that happen in Prestashop. When one of these events are triggered Prestashop will send a HTTP POST payload to the webhook’s configured URL.
Webhooks are a useful tool for apps that want to execute code after a specific event happens on an Odoo, for example, after a warehouse manager creates a new product, updates a stock quantity for existing products or sales manager confirm the quotation.
Instead of telling your app to make an API call every X number of minutes to check if a specific event has occured on an Odoo, you can register webhooks, which send an HTTP request from the Odoo telling your app that the event has occurred. This uses many less API requests overall, allowing you to build more robust apps, and update your app instantly after a webhook is received.
Webhooks event data can be stored as JSON or XML, and is commonly used when:
- Placing , edit and change an order
- Changing a product price , inforamtions
- Collecting data for data-warehousing
- Integrating your accounting software
- Filtering the order items and informing various shippers about the order
- Save , update and delete any model in prestashop
- Support all actions hook used by prestashop
- etc…
Webhooks are one way that apps can send automated messages or information to other apps. It’s how Twilio routes SMS and phone calls to your number, how Prestashop can notify you about new orders in Slack, how MailChimp signup users from your website to your newsletter, etc.
Webhooks with popular services like zapier , xero , Mailwizz and all third support webhooks
Features
Supported Functions
WebHooks Integration support all models used by prestashop like Order , Customer , Product , Combination , etc…
but it support also any module no native model , it will be detect all model class and add to the list
Supported Events
we support update , add , delete model
we support all action hook trigger used by prestashop
Supported Methods
The following methods are included in every webhook creation:
- GET
- POST
- PUT
- PATCH
- DELETE
Supported Request Headers
The following Request Headers are supported:
- Accept
- Accept-Charset
- Accept-Encoding
- Accept-Language
- Accept-Datetime
- Authorization
- Cache-Control
- Connection
- Cookie
- Content-Length
- Content-Type
- Date
- Expect
- Forwarded
- From
- Host
- If-Match
- If-Modified-Since
- If-None-Match
- If-Range
- If-Unmodified-Since
- Max-Forwards
- Origin
- Pragma
- Proxy-Authorization
- Range
- Referer
- TE
- User-Agent
- Upgrade
- Via
- Warning
- Every custom header is supported also