Send changed orders again with a Data Mapper

Turn on Re-export Changed Orders so an Orders or Order Items Data Mapper sends an order again when it is edited, shipped, invoiced, refunded or canceled, and map Export Reason to see New or Changed.

Where to find it: In the Zoey Admin, go to Integrations > Zoey Data Mappers, click Edit on an Orders or Order Items export, and scroll to Filter Settings. New to Data Mappers? Start with Set up a Data Mapper.

An Orders or Order Items Data Mapper sends each order once. Turn on Re-export Changed Orders to send an order again, with all of its current items, when it changes after the Data Mapper sent it.

Use it to:

  • Keep a CRM, ERP or warehouse system up to date when an order's quantities, items, prices or status change.
  • Send cancellations, refunds, shipments and invoices to the other system without exporting the order by hand.
  • Tell the other system which rows are new orders and which are updates, with the Export Reason field.

Turn on Re-export Changed Orders

The setting is on File Export and HTTP Export Data Mappers whose Zoey Object is Orders or Order Items.

  1. Go to Integrations > Zoey Data Mappers and click Edit on the Data Mapper.
  2. In Filter Settings, set Re-export Changed Orders to Yes.
  3. Under Re-send when, tick each change that should send the order again (see the table below). Tick at least one.
  4. Add the Export Reason field in Field Mapping if the other system needs to tell new orders from updates (see below).
  5. Click Save.
Filter Settings with Re-export Changed Orders set to Yes and seven changes ticked under Re-send when
Re-send whenThe order is sent again when
Item quantities changeAn item's ordered quantity changes, for example after you edit the order.
Items are added or removedAn item is added to or removed from the order.
Items are canceledAn item's canceled quantity changes.
Items are refundedAn item's refunded quantity or amount changes.
Items are shippedAn item's shipped quantity changes, for example when a shipment is created.
Items are invoicedAn item's invoiced quantity changes.
Prices or totals changeAn item's price, discount, tax or row total, or the order's grand total, changes.
Order status changesThe order's status changes.

Other changes, such as a new order comment or an update from another integration, don't send the order again unless they change something you ticked.

📘

Turning it on doesn't resend old orders

Orders the Data Mapper sent before you turned on Re-export Changed Orders aren't sent again right away. Zoey records how each order looks now, and sends it again only when a ticked change happens after that. The same happens when you change the ticked boxes: changes made before you saved aren't sent.

To send specific orders again now, select them in the Orders list, open Bulk Actions, and click Data Mapper Templates. See Exporting Orders Manually using a Data Mapper.

What gets sent

  • The whole order, as it is now. Every current item of the order is sent again, not only the item that changed. An item removed from the order isn't in the new rows, so set up the other system to replace the order's lines with the new ones rather than add them.
  • Once per run. The order is sent on the Data Mapper's next run, however many times it changed in between.
  • Up to 200 changed orders checked per run. If more orders changed, the oldest changes are checked first and the rest wait for the next run. New orders are always sent.
  • Preview and Bulk Actions exports aren't affected. They send the orders you pick, as before.

Tell new orders from updates (Export Reason)

Add a row in Field Mapping with the Zoey Value Export Reason: New / Changed (_export_reason_). Each row shows:

  • New the first time the Data Mapper sends the order.
  • Changed when the order is sent again because of a ticked change.

The other system can use this column to update the existing order instead of creating a duplicate.

Re-export Changed Orders and Advanced Filters

  • Use Advanced Filters set to Yes and Apply Advanced Filters Only Once set to No: the setting is greyed out and isn't needed. The Data Mapper already sends every matching order on every run.
  • Apply Advanced Filters Only Once set to Yes: a changed order is checked against the filters again. If it no longer matches them, for example its status changed to one your filter leaves out, it isn't sent.

Check what was sent again

Open the Data Mapper Audit Log for the run and view its details, or map Export Reason and look for Changed rows in the file or request.

💬

Ask Zoey AI

Try asking: "How do I send an order to my ERP again when it's edited?" or "Why wasn't my changed order exported again?"

Related articles


Did this page help you?