Skip to content

Webhooks

Webhooks tell your system about order changes, so you do not have to ask. We send a signed POST request to your https address.

  1. Open Settings > API and webhooks.
  2. Under Webhooks, select Add endpoint.
  3. Enter the Endpoint URL. It must be a public https address on port 443, such as https://hooks.yourshop.com/zavomark. Internal and private addresses do not work.
  4. Add a Description if you like.
  5. Pick the Events.
  6. Add the endpoint, then Copy secret.

The signing secret is shown once. Use it to check the ZavoMark-Signature header of every delivery. Keep it on your server only. If it leaks, delete the endpoint and add it again.

A webhook needs a key with the orders:read scope on your workspace.

Event When
order.status_changed An order changes status
order.shipped An order ships, or gets a new tracking number
order.needs_action An order needs you: design check, address issue or label needed

Creating an order sends no event. The answer to your request is the confirmation.

If your server does not answer with a success code, we try again after 1, 2, 4, 8 minutes and so on, up to 8 tries. Open Deliveries for an endpoint to see each delivery, its HTTP code and the number of tries. You can have up to 10 endpoints.

Payload examples and how to verify the signature are in the API reference.