Update Tracking Information

Service End Point -setShipmentTracking

This API endpoint is used to update an order in the Zonos™ System with tracking numbers.

HTTPS Request

HTTP Method POST
End Point URL https://api.iglobalstores.com/v2/setShipmentTracking
Protocol HTTPS
Message Format JSON
Accept HTTP Header Accept: application/json
Content-Type HTTP Header Content-Type: application/json

Request Parameters

Message Format JSON

{
  "store": "999",
  "secret": "f5bde245-f55e-414d-b722-80b25161c12c",
  "orderId": "999-99999",
  "trackingList": [
    {"number": "1Z204E380338943508"}
  ]
}

store

Required

Store id provided by Zonos.

Integer

secret

Required

API secret GUID provided by Zonos.

String

orderId

Required

The iGlobal order id. Can be passed with or without your store id and hyphen (Example: 123-45678 or 45678).

After order completion and payment, the customer will be redirected to an Order Completion / Order Thank You page hosted on your domain. The URL will contain a querystring parameter orderId that will contain this value.

Integer / String

trackingList

Required

Description This is a list of objects. Each object should have a key/value pair with the at least one key named number and the value of that key is one of the tracking numbers. You must have a separate object with the key/value pair for each tracking number. Data Type String

HTTPS Response

Message Format JSON

{
    "success": "Updated Order: 99999 with new tracking info."
}

Example Error Response

{
    "error": "A specific message describing the error."
}