Step 3: set up order webhooks
Lastly, we’re going to subscribe to two of the order-related webhooks. The first event type to subscribe to isOrderCreated. This event is triggered when an order is created, in both sandbox and production.
OrderCompleted. This event is triggered when an order is completed in production. You won’t receive it in sandbox.
For more information about webhooks and webhook event type structures, see the webhooks guide.