Versions Compared

Key

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

...

Tracking Webhook Process Flow

...

Parameters

Parameter

Type

Description

ConsignmentNo

String

Consignment number

Status

String

Current Consignment Status

Picked

Datetime

Date time consignment was manifested to Seko

Delivered

Datetime

Delivered datetime of consignment

Tracking

String

Consignment tracking URL

Events

Object Array

See Events Information

 

Event Information

Parameter

Type

Description

Code

String

Stage of Event

EventDT

String

Date and Time of event. Local to region where it occurred

OmniCode

String

OmniParcel Tracking Code. Full List of tracking codes can be provided

Description

String

Description of Tracking Event from Carrier

Location

String

Location of Event

Part

Integer

If consignment has multiple packages, this is the package number

 

Example Request body

Code Block
[  
   {  
      "ConsignmentNo":"1245",
      "Status":"Tracking number allocated & order ready",
      "Picked":"",
      "Delivered":"",
      "Tracking":"http://track.omniparcel.com/1245",
      "Events":[  
         {  
            "EventDT":"2018-28-28T17:22:43",
            "Code":null,
            "OmniCode":"OP-1",
            "Description":"Tracking number allocated & order ready",
            "Location":"IL",
            "Part":"1"
         }
      ]
   },
   {  
      "ConsignmentNo":"ABC124578",
      "Status":"Scanned out of Auckland TO Napier",
      "Picked":"2018-07-23 140426",
      "Delivered":"",
      "Tracking":"http://track.omniparcel.com/ ABC124578",
      "Events":[  
         {  
            "EventDT":"2018-30-23T05:30:22",
            "Code":null,
            "OmniCode":"OP-43",
            "Description":"Customs cleared",
            "Location":"NZ",
            "Part":"1"
         },
         {  
            "EventDT":"2018-30-23T05:30:18",
            "Code":"PUP",
            "OmniCode":"OP-7",
            "Description":"Picked up",
            "Location":"Auckland",
            "Part":"1"
         },
         {  
            "EventDT":"2018-04-23T14:04:26",
            "Code":"OUT",
            "OmniCode":"OP-51",
            "Description":"Scanned out of Auckland TO Napier",
            "Location":"",
            "Part":"1"
         }
      ]
   }
]

...

The below configuration is for version 2.1. Click here for Magento 1.9 configuration...

Installing Magento version 2.1 and higher

...

  1. Log into your Mangeto admin portal.

  2. Navigate to System => Webservices => SOAP/XMP-RPC => Roles.

  3. Create a new role as OmniParcel

  4. Select Role Resources

  5. Grant access to Sales and Directory as shown below.

  6. Navigate to System => Webservices => SOAP/XMP-RPC => Users

  7. Create a new user as below. You can change the values below to suit your needs. The API Key is the password.

  8. Select User Role. Add user to the newly created OmniParcel role.

  9. Change Setting System => Configuration => Services => Magento Core API.

  10. To configure the app in OmniParcel, follow these steps above.