List of available webhook names?

Hey,

The webhook documentation (https://developer.shiphero.com/webhooks/) describes how to create a webhook, but it doesn’t list the names of the available webhooks. Where can those be found?

Additionally, what’s the best way to test webhook handlers? Is there any way to trigger a simulated webhook to ensure my code is handling it correctly?

Thanks!

Hi @wolever
A list of the webhooks should be there under Register a Webhook section, those are:

Webhooks available are:

  • Inventory Update
  • Shipment Update
  • Order Canceled
  • Capture Payment
  • PO Update
  • Return Update

And as for testing purposes, you will need to register the webhook and then trigger it manually, this is, for example, if you registered the Order Canceled webhook then you will need to cancel an order for it to trigger
Let me know if that doesn’t help,
Thanks!
Tom