Skip to content
English
  • There are no suggestions because the search field is empty.

Get Parcel Origins

This API provides you with all the information about the origins of your parcel.

URL /parcel/v1/get_parcel_origins/{sParcelID}
Method GET 
Parameters  parcelid, string
Sample Request JSON  
Sample Response JSON

{

   "status": "ok",

   "origin": [

      {

         "Average_Weight": 2,

         "Parcel_Weight": 10,

         "Total_Stones": 5,

         "Parcel_Reference": "PARENT_TEST",

         "Share_Stones": 1,

         "Share_Weight": 1,

         "Token_Short": "e30607fb-1793-47e9-81ad-f795911ac6d4",

         "Parcel_Type": 0,

         "Known_Origin": "canada",

         "Country": "BELGIUM",

         "Parcel_Country": "BELGIUM",

         "Domain_Country": "BELGIUM"

      },

      {

         "Average_Weight": 8,

         "Parcel_Weight": 32,

         "Total_Stones": 4,

         "Parcel_Reference": "Merge_test_281123_01",

         "Share_Stones": 0.6666666666667,

         "Share_Weight": 0.5614035087719,

         "Token_Short": "c16bc856-5ee0-45d0-b86a-d4f813a23de4",

         "Parcel_Type": 0,

         "Known_Origin": "0",

         "Country": "BRAZIL",

         "Parcel_Country": "BRAZIL",

         "Domain_Country": "BELGIUM",

         "Mine_Factory": "Rio Tinto"

       }

   ]

}

Response Codes  200: ok