> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://doc.common-services.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Mirakl cancellations → PrestaShop

When an order is canceled or closed **on Mirakl**, the module can set the matching **PrestaShop** canceled status.

## Configuration

**Orders** tab — [Orders](https://doc.common-services.com/en/article/orders-w2n36p/):

1. **Choose a default canceled order status** → PrestaShop status (e.g. Canceled)
2. **Mirakl States** (multiple): `CANCELED`, `CLOSED`, `REFUSED`, `INCIDENT_CLOSED`
3. **Lookback days** (e.g. `5`) — search window

## Cron

**Sync Canceled Orders** URL — [Scheduled tasks](https://doc.common-services.com/en/article/scheduled-tasks-2og48k/) (\~2 h).  
One URL per shop ID when needed.

If no canceled status is configured, the cron may stop with a configuration error.

## Limits

* Does not replace manual dispute follow-up
* A short lookback → older cancellations are not picked up
* Make sure the PrestaShop status you choose fits your [end-to-end workflow](https://doc.common-services.com/en/article/end-to-end-workflow-offer-order-shipment-14bt9b6/)