Fulfilleo Help
Search
K

Update order tracking from XML

How to sync tracking numbers from XML files to orders in your Shopify store.
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:
<Orders>
<Order>
<Number>1020</Number>
<TrackingNumber>ABC123</TrackingNumber>
</Order>
<Order>
<Number>1021</Number>
<TrackingNumber>DEF456</TrackingNumber>
</Order>
</Orders>
then the XPath to the Order node should be /Orders/Order or just //Order.
XML data mapping - Order node
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
XML data mapping - Order Number and Tracking Number
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:
<Order>
<Number>1020</Number>
<TrackingNumber>ABC123</TrackingNumber>
<Items>
<Item>
<Sku>DP1-BLUE</Sku>
<Quantity>1</Quantity>
</Item>
<Item>
<Sku>DP2</Sku>
<Quantity>1</Quantity>
</Item>
</Items>
</Order>
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.
XML data mapping - items, SKU and quantity