Skip to main content

Notifications

Introduction

A notification is received for any order event of API. Each notification contains detailed information about the event. Webhooks can be configured to receive these notifications. We follow the cloud events standard for notifications.

Property NameDescriptionExample
cloudEventsVersionThe version of the CloudEvents specification."cloudEventsVersion": "0.1"
eventTypeThis specifies the event name"eventType": "com.example.orderItemShipped"
eventTypeVersionThe version of the event type."eventTypeVersion": "1.0"
sourceThe source of the event."source": "api/v1/order/STA-OrderNumber"
eventIDA unique id for each event."eventID": "9f7b1707-e35f-46eb-a4d8-6ca290781e54"
eventTimeThe time at which the event occurred."eventTime": "2024-03-20T13:56:25.670Z"
contentTypeThe content type of the event data."contentType": "application/json"
dataThe event data, it usually contains order data with the targeted line item

List of notifications

The following notifications are supported by for order events:

Event NameDescriptionMore Details
OrderConfirmedNotification when an order is confirmed.View details
OrderCancelledNotification when an order is cancelled.View details
OrderRejectedNotification when an order is rejected.View details
OrderItemArtworkMissingNotification when artwork for an order item is missing.View details
OrderItemArtworkUploadFailedNotification when artwork upload for an order item fails.View details
OrderItemDeliveryDateUpdatedNotification when the delivery date for an order item is updated.View details
OrderItemDocReviewRejectedNotification when document review for an order item is rejected.View details
OrderItemFulfillmentErrorNotification when there is an error in fulfilling an order item.View details
OrderItemFulfillmentRejectedNotification when fulfillment of an order item is rejected.View details
OrderItemPrintingInProgressNotification when printing of an order item is in progress.View details
OrderItemShipmentDelayedNotification when shipment of an order item is delayed.View details
OrderItemShippedNotification when an order item is shipped.View details
OrderItemReprintRequestedNotification when a reprint is requested for an order item.View details
OrderItemReprintAcceptedNotification when a reprint is accepted for an order item.View details
OrderItemCancelledNotification when an order's item is cancelled.View details