Once your order is in the "Completed" status, we will update the order status on our side to Shipped and also notify the marketplace that the order is now shipped.  There is no standard method/data fields for adding Tracking and Carrier information within WooCommerce so please read below to understand how we can extract the shipper and tracking consignment number from the WooCommerce order.  


Please note that by default we expect the shipment information to be already present in the order when its status becomes "Completed" and we will assume that if the shipment information is missing at that time we should mark the order as shipped and notify the marketplace accordingly - without the shipment data.  If your fulfillment workflow means that you first mark the order as completed and then later add the shipment information, you can force us to wait for this information to be present in the order before we mark it as shipped.  You do this via the "Do not mark an order as shipped unless we have shipment carrier and tracking code" tickbox in the WooCommerce settings under Settings > WooCommerce Feed > General : Custom order and shipment fields.


How do I provide shipment tracking information?


As there is no standard method in WooCommerce, our solution relies on the shipment information being in one of two places.  Please check which one works for you!


Order Notes field


As a first step, you will need to ensure your shipping plugin adds a note such as the example below to the Order Notes field in WooCommerce when the order is marked as shipped:


Order Note Example:


This order has been shipped with: Fastway. The Tracking Number is: QB000165979. The Url is: http://www.fastway.com.au/courier-services/track-your-parcel?l=QB000165979 


From this information, we can identify that the Carrier is Fastway and a Tracking Number and then provide it to the marketplace.  We will then be able to add new shipping providers as the need arises; if you are missing shipping carrier and tracking number on shipped orders, and you definitely have an order note similar to the one above, please raise a support ticket with us to see if we can add your carrier.


Order metadata


If you are storing the shipper and the consigment shipping number in the order metadata instead you can go to Settings > WooCommerce Feed and enter the metadata fields in the "Custom order and shipment fields" section.  We will be able to extract the values there.  For example, if your order metadata looks contains the shipping information like this:


"meta_data": [
    {
        "id": 16014655,
        "key": "_tracking_number",
        "value": "TEST"
    },
    {
        "id": 16014660,
        "key": "_tracking_company",
        "value": "Test"
    }
],


...you will need to enter these fields into the settings section:


_tracking_number
_tracking_company

 

If however your data is more nested, like this:


"meta_data": [
    {
        "id": 209889,
        "key": "wf_auspost_shipment_source",
        "value": {
            "shipment_id_cs": "33MNW0000104",
            "shipping_service": "australia-post",
            "order_date": "2019-05-01",
            "shipping_postcode": "4053"
        }
    }
],


...you will need to specify the path to the data, using ~~ to join the path elements together.  In this example, you would enter the following into the settings section:


wf_auspost_shipment_source~~shipment_id_cs
wf_auspost_shipment_source~~shipping_service