Callbacks are HTTP Get requests to a predefined URL. When a callback event occurs, the deployment will send a request to each URL that subscribes to it, meaning different systems can integrate to the same events. There are currently 3 callback events available.
OrderCreated occurs when a user places an order but before it may be approved or generated.
CallbackURL?name="0"&id="OrderID"&site="SiteCallbackID"
The CallbackURL must be a fully formed URL to the service listening for the callback.
For this callback, the name will be 0 to correspond with its enumeration.
Because this callback event is for an order, the the id will always be an OrderID.
The SiteCallbackID is the value defined in the configuration.
OrderReadyForProduction occurs when all items in an order have been approved and artwork is ready to be generated.
CallbackURL?name="1"&id="OrderID"&site="SiteCallbackID"
The CallbackURL must be a fully formed URL to the service listening for the callback.
For this callback, the name will be 1 to correspond with its enumeration.
Because this callback event is for an order, the the id will always be an OrderID.
The SiteCallbackID is the value defined in the configuration.
OrderItemRendered occurs once artwork has been generated for an order item.
CallbackURL?name="2"&id="OrderItemID"&site="SiteCallbackID"
The CallbackURL must be a fully formed URL to the service listening for the callback.
For this callback, the name will be 3 to correspond with its enumeration.
Because this callback event is for an order, the the id will always be an OrderID.
The SiteCallbackID is the value defined in the configuration.