Push Messages

In order for us to notify your system about events on an order, you need to provide a callback URL, send this to support@ambita.com.

When there is an event on an order, a push message is sent to your callback URL.

These are the statuses that can be pushed to your system

Status

Description

Status

Description

NEW

This status is the same as an order confirmation email, it confirms that our order system has received the order and is ready to process the order.

UPDATED

This status is sent when a new file has arrived and you should get the new file. This status can be sent multiple times.

FINISHED

This status is sent when an order is set to finished, you should check if you have received all the files. NB! Files might get delivered even after the order is finished, so you might get this status more than once.

CANCELLED

This status is sent when the order is cancelled, you should delete the files that you have received on this order.

REFUNDED

This status is sent when the order is refunded, you should delete the files that you have received on this order.

Example request body

{ "orderCollectionId": 1234567, "reference": "some-reference", "status": "SOME-STATUS", "technicalReference": "some-technical-reference" }

Use orderCollectionId as orderId to fetch your order, as described in Orders.