Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Track Status API Components

identifier-name

Unique Name For Retailer

notification_id

important_updates

Message which retailer wants to display in the tracking page.

edd_info

Contains information regarding 

  • Delivery date

  • Delivery message

  • Split delivery date

  • Header name 

Note : Header name refers to whether the delivery date is the promised delivery date which is shown in checkout page or expected delivery date which is provided by the carrier after pickup or delivery date on package delivered to customer.

Code Block
{
    "delivery_date": "Friday, September 09 2022", 
    "promised_date": "Monday, September 12 2022", 
    "delivery_message": "Yay, it\"s early...", 
    "expected_shipment_date": "Wednesday, September 07 2022", 
    "split_delivery_date": {
        "day": "Friday", 
        "month": "September", 
        "date": "09", 
        "year": "2022"
    }, 
    "header_name": "Expected Delivery Date"
}

display_order_info

Refers to whether to display order details(refer to order_info field)  on the page or not.

  • true : display

  • false : not to display

order_info

Contains Order related information such as 

Code Block
{
    "number": "AAA", 
    "placed_dtm": "2022-09-07T10:55:11-05:00", 
    "formatted_dttm": "Wednesday, September 07 2022"
}

concise_infos

To move the progress bar to the latest status(event). Events such as

  • Order Confirmed

  • Shipment Confirmed

  • Ready To Ship

  • Left Warehouse

  • Shipment Exception

  • Out for delivery

  • DELIVERY EXCEPTION

  • RETURN TO SENDER

  • Delivered

At any give point of time, Fenix will show only 4events in the progress bar.

shipment_activities

To display Shipment Track Event History.

recent_shipment_info

selected_shipment_activities

To build the complete progress bar section with stoppers.

line_items

Contains all the product details which are part of order or shipments. We will display line items information in Section 4.

display_lineitems

Refers to whether to display order line items on the tracking page or not. 

  • true : display

  • false : not to display

item_count

Refer to whether to display a multi shipment section or not.

Code Block
 
{
    "total_ordered": 3, 
    "total_filled": 2, 
    "current_packaged": 2
}
  • total_filled: Items shipped by retailer.

  • current_packaged:  Items which exist in the current package.

Note : Based on total ordered and current packaged count “See full Order” will be displayed if order has multiple shipments.

display_recommended_products

Refers to whether to call Recommended products API or not.

  • true : call API

  • false : not call API

Note: If ‘false’ then product recommendations section will be hidden.

...

  • Using RecommendedProducts API, Section 7 will be populated.

  • Fenix completely relying relies on Shopify Recommended Product API to get and display recommended products.

...

Multi Shipment Status API Components

place_dttm

This is the date when order was placed.

order_summary

Contains order related information such as

      

Code Block
{
    "number": "AAA", 
    "placed_date": "Wednesday, September 07 2022", 
    "promised_date": "Monday, September 12 2022", 
    "split_delivery_date": {
        "day": "Monday", 
        "month": "September", 
        "date": "12", 
        "year": "2022"
    }, 
    "total_item_quantity": 3, 
    "total_filled_item_quantity": 2, 
    "line_items": [
        {
            "sku": "456", 
            "quantity": 1, 
            "name": "double cleanse full size kit - each", 
            "title": "double cleanse full size kit", 
            "variantId": "41694522802328", 
            "image_url": "https://cdn.shopify.com/s/files/1/0420/7683/1896/products/double-cleanse-set_carton-front.jpg?v=1653587001", 
            "product_id": "7255087710360", 
            "routing_url": "https://www.store-us.com/products/double-cleanse-full-size-kit"
        }
    ]
}

  • line_items :Contains all the product details which are part of order.

Note : If there is discrepancy between total_filled_item_quantity and total_item_quantity then Fenix will display remaining items as unshipped items.

shipment_summaries 

Contains list of shipments. Each shipments contains information such as

[

        {

            
Code Block
{
    "edd_info":
{                
 {
        "delivery_date": "Friday, September 09 2022",
                 
 
        "promised_date": "Monday, September 12 2022",
                 "delivery
 
        "delivery_message": "Yay, it\"s early...",
                 
 
        "expected_shipment_date": "Wednesday, September 07 2022",
                 
 
        "split_delivery_date":
{                    
 {
            "day": "Friday",
                     
 
            "month": "September",
                     
 
            "date": "09",
 

                    "year": "2022"

                }, 

                
 
            "year": "2022"
        }, 
        "header_name": "Expected Delivery Date"

            }, 

            

    }, 
    "tracking_number": "123",
             
 
    "carrier_name": "UPS",
             
 
    "event_message": "Left Warehouse",
             
 
    "item_quantity": 2,
             
 
    "line_items":
[

                {

                    
 [
        {
            "sku": "123",
                     
 
            "quantity": 1,
                     
 
            "name": "special cleansing gel - travel - 1.7 oz"
,                     
, 
            "title": "special cleansing gel - travel",
                     
 
            "variantId": "11123",
                     
 
            "image_url": "https://cdn.shopify.com/s/files/1/0420/7683/1896/products/specialcleansinggel_1.7oz_98dee553-f068-43c8-a94b-5cb93e84d0c1.jpg?v=164",
                     
 
            "product_id": "5710539751576",
                     
 
            "routing_url": "https://www.store-us.com/products/special-cleansing-gel-travel"

                } 

                

        }
    ]
}      

    ]

  • edd_info:  basic delivery info

  • event_message: Status of specific shipment.

  • line_items: Contains all the product details which are part of specific shipment.

Note : If line_items contains tracking_number then we can track the shipment from the current page, otherwise we will display No Tracking Details Found text.

...