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

Merge Parcels

With the help of this API, you have the ability to merge several parcels into a single parcel. The target parcel should be an empty or mixed (merged) parcel and this parcel should not exported in the blockchain.

URL /parcel/v1/merge_parcels
Method POST 
Parameters

targetparcelid, string

sref, string

machineid, string

parcel, array

Sample Request JSON

 {

   "sref":"Merg testing 6",

   "targetparcelid":"56740da3-edb0-4ac4-8618-500307fbf421",

   "machineid": "",

    "parcel":[

      {

         "sToken_Short":"fe613050-0071-4e53-a365-6c000fe42ce7",

          "ParcelWeight":100,

         "Total_Stones":10,

         "Average_Weight":5,

      },

   {

         "sToken_Short":"46aa03bd-be79-4ca2-90e5-bf7c78842672",

         "ParcelWeight":50,

         "Total_Stones":5,

         "Average_Weight":10,

      }

   ]

}

Sample Response JSON

 {

"status": "ok"

}

Response Codes

200: ok

E119: not a merge parcel