The Personalization system accepts both offline and historical order data through XML imports, in addition to order data collected through a Personalization tracking implementation. Offline and historical order processing can enrich the data used by algorithms and lead to improved recommendation quality.
## Offline and historical B2B orders
B2B uses customerId for offline and historical orders. The following code shows an XML sample of an order with customerId: