Orders for Loyalty

You can create connections between orders and loyalty subscriptions by adding the “card_code” column. The example below shows an import file with “card_code” values. It is enough to use such a file to import “loyalty orders”.

Imported orders can be tied to loyalty subscriptions simply by including the card number (“card_code”). Orders imported this way will then appear in the “Loyalty” section of contact data and, among others, affect the number of points earned by the contact as a member.

order_id;customer_key;store_id;card_code;order_date;total_amount;currency
72cvSYhmJ-1537635000;[email protected];Internet;72RqRjeki;2018-09-22 13:37:48;262.19;EUR
1562029508;[email protected];Internet;72TSdz0iy;2019-07-01 10:03:45;371.95;EUR
73XAxEvFX-1540830000;[email protected];Internet;73F3Q9nHM;2018-10-29 17:33:00;14.92;EUR

📘

  • Orders imported with a “card_code” are “loyalty orders” (orders bound to a loyalty card). They can be found in the “loyalty” section of contact data affect the number of points earned by the contact as a member, and can be processed by loyalty rules.
  • You can import “card_code” values with either “orders” or “ordersitems” for loyalty events. However, you must import the card codes with “ordersitems” if you want to use loyalty rules based on products.