Update order tracking from XML
How to sync tracking numbers from XML files to orders in your Shopify store.
Last updated
How to sync tracking numbers from XML files to orders in your Shopify store.
Last updated
To pull tracking numbers from an XML file, you need to set up the Data Mapping section so that Fulfilleo knows where to get particular information like order number or tracking number.
The first step is to specify a path to the Order node, that is the XML element that includes all information about a single order.
For example, if your XML looks like this:
then the XPath to the Order node should be /Orders/Order
or just //Order
.
In a minimal setup, you also need to specify the Order Number and Tracking Number nodes. Their paths are relative to the Order node. Taking the same example XML from above, the Order Number path would be ./Number
, and the path for Tracking Number would be ./TrackingNumber
By default, the app will fulfill all items included in an order. If the XML file contains information which items have been shipped, then you can also instruct Fulfilleo to fulfill only these items.
Let's assume the XML file looks like below:
Then the Items XPath should point to a single item, in this case ./Items/Item
. You also have to define how to get the item's SKU, and optionally Quantity. In our current example, it would be ./Sku
and ./Quantity
. Note that these paths are relative to the Item node.