Skip to main content

Events

Events supported by callback

Checkout order created

Event raised when a checkout order has been created.
IsPending field returns true/false , indicates whether the Order is waiting to be Approved by Svea.

CheckoutOrder.Created
{
"EventName": "CheckoutOrder.Created",
"CheckoutOrderId": 9201634,
"IsPending": false,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}

Checkout order delivered

Event raised when a checkout order is partially delivered or delivered in full.

CheckoutOrder.Delivered
{
"EventName": "CheckoutOrder.Delivered",
"CheckoutOrderId": 9201634,
"DeliveryId": 123456789,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}

Checkout order credit succeeded

Event raised when a checkout order is successfully credited

CheckoutOrder.CreditSucceeded
{
"EventName": "CheckoutOrder.CreditSucceeded",
"CheckoutOrderId": 9201634,
"CreditId": 123456789,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}

Checkout order credit failed

Event raised when an accepted credit operation fails.

CheckoutOrder.CreditFailed
{
"EventName": "CheckoutOrder.CreditFailed",
"CheckoutOrderId": 9201634,
"CreditId": 123456789,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}

Checkout order closed

Event raised when a checkout order is closed. The reason for closing the order is provided in the event body when due to explicit operation, valid close reasons are ‘Cancelled’ and ‘Expired’.

CheckoutOrder.Closed
{
"EventName": "CheckoutOrder.Closed",
"CheckoutOrderId": 9201634,
"CloseReason": "Reason for closing",
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z",
}

Checkout order updated

Event triggered for when an order is edited or when an explicit order sync is performed. It is recommended to implement this event for full order sync via API order GET.

CheckoutOrder.Updated
{
"EventName": "CheckoutOrder.Updated",
"CheckoutOrderId": 9201634,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}

Checkout order pending released

Event triggered when an order is Approved by Svea from Pending status.

CheckoutOrder.PendingStatusReleased
{
"EventName": "CheckoutOrder.PendingStatusReleased",
"CheckoutOrderId": 9201634,
"CorrelationId": "61e8c2e2-b824-449d-ab20-7518db9f4ec8",
"TimestampUtc": "2024-06-04T09:49:22.0005285Z"
}

Checkout order finalized

Refer to Checkout merchant push to track Order finalised event.