question

khalsa avatar image
khalsa asked chanel Deactivated answered

Webhooks for Online orders (REST API)

We are working on an APP to print an online order submitted via REST API. Is there any way to setup Webhooks for orders being created ONLY using REST API?
REST APIWebhooks
10 |2000

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

1 Answer

chanel avatar image
chanel Deactivated answered
You have control over what object types to monitor (orders, payments, customers, etc). You can choose to only watch for order changes. Unfortunately, the webhook will fire when an order is created, updated or deleted, however, information is included that lets you know which of the three actions have been performed. So you can decide what to do in each situation (in this case, do nothing when an order is updated or deleted).
10 |2000

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