question

eingfilip avatar image
eingfilip asked dpierce answered

Webhooks only for Orders

Based on this page from your documentation https://docs.clover.com/docs/webhooks I can see that our app can subscribe to all updates for:

  • C: Customers: A customer is created, updated, or deleted
  • CA: Cash Adjustments: A cash log event occurs
  • E: Employees: An employee is created, updated, or deleted
  • I: Inventory: An inventory item is created, updated, or deleted
  • IC: Inventory Category: An inventory category is created, updated, or deleted
  • IG: Inventory Modifier Group: An inventory modifier group is created, updated, or deleted
  • IM: Inventory Modifier: An inventory modifier is created, updated, or deleted
  • O: Orders: An order is created, updated, or deleted
  • M: Merchants: A merchant property is changed or a new merchant is added
  • P: Payments: A payment is created or updated

but I'm interested only in:

  • O: Orders: An order is created, updated, or deleted

is it possible to be "subscribed" only for Orders and not Merchants, Employees, or Inventory, etc...

Our app is showing orders as Kitchen Display Screen and we don't want our public endpoint getting "spammed" with other updates because we are only interested in orders...?

Webhooks
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dpierce avatar image
dpierce answered

Yes. When you set the webhook up you are given the option to what things you want it to listen to.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

eingfilip avatar image
eingfilip answered

Can you explain to me where is that option visible, when we are submitting the hook?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

dpierce avatar image
dpierce answered

During the process of adding the webhook, after verification, the list of events to subscribe to will be selectable. When editing an existing webhook you will see them listed also.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community