TRACIO API

Endpoint Description Parameters
https://tracapi.com/api.v2/location/ Create or update a location. Use this endpoint if you have multiple locations in your organization.
auth_keyyour authorization key.
addressPhysical addres of the location.
suiteSuite # if multi-tenant location.
cityCity of the location.
stateState abbreviation of location.
zipZip code of location.
glnGS1-Global Location Number (optional)
dataJSON encoded data (JSON Object)
documentsJSON encoded list of documents.
https://tracapi.com/api.v2/put_doc/ Store a document on the blockchain.
auth_keyyour authorization key.
pathThe URL path of the document host.
fileThe name of the file.
file_hashOptional sha256 has of the file.
dataJSON encoded data (JSON Object)
https://tracapi.com/api.v2/receive/ Receive a product.
auth_keyyour authorization key.
addressPhysical addres of the location.
suiteSuite # if multi-tenant location.
cityCity of the location.
stateState abbreviation of location.
zipZip code of location.
glnGS1-Global Location Number (optional)
gtinGS1-Global Trade Identification Number (GTIN)
lotLot or batch number
dataJSON encoded data related to the item (JSON Object)
shipment_idShipment Id (Optional)
shipment_dataJSON encoded data related to the shipment (JSON Object)
documentsJSON encoded list of documents related to the item.
https://tracapi.com/api.v2/process/ Create a batch of product with multiple inputs.
auth_keyyour authorization key.
gtinThe URL path of the document host.
lotThe name of the file.
dataJSON encoded data (JSON Object)
inputsJSON encoded data (JSON Array)
documentsJSON encoded data (JSON Array)
https://tracapi.com/api.v2/package/ Package or repackage a product.
auth_keyyour authorization key.
package_gtinGTIN of the packaged (output) product.
package_lotLot or batch number of the packaged (output) product.
package_dataData related to the packaged (output) product.
product_gtinGTIN of the input product.
product_lotLot number of the input product.
product_dataData related to the input product. (JSON Object)
documentsJSON encoded list of documents linked to the packaged product.
https://tracapi.com/api.v2/ship/ Ship a product to a location.
auth_keyyour authorization key.
addressPhysical address of the location receiving the product.
suiteSuite # if multi-tenant location.
cityCity of the location receiving the product.
stateState abbreviation of location receiving the product.
zipZip code of location.
glnGS1-Global Location Number of the receiving location. (optional)
gtinGS1-Global Trade Identification Number (GTIN)
lotLot or batch number
dataJSON encoded data related to the item (JSON Object)
shipment_idShipment Id (Optional)
shipment_dataJSON encoded data related to the shipment (JSON Object)
documentsJSON encoded list of documents related to the item.
https://tracapi.com/api.v2/class/ Create a new asset class (GTIN) or update the metadata attached to an asset class.
auth_keyyour authorization key.
gtinThe GTIN of the item.
dataJSON encoded data (JSON Object)
documentsJSON encoded data (JSON Array)
https://tracapi.com/api.v2/batch/ Create a new batch (GTIN/LOT) to describe a product. Will be attached to the product regardless of the location.
auth_keyyour authorization key.
gtinThe GTIN of the item.
lotThe lot number of the batch.
dataJSON encoded data (JSON Object)
documentsJSON encoded data (JSON Array)
https://tracapi.com/api.v2/asset/ Update an asset's metadata or documents attached to the asset.
auth_keyyour authorization key.
gtinThe GTIN of the item.
lotThe lot number of the batch.
batch0 if updating information about the batch, 1 if updating the asset at your location.
documentsJSON encoded data containing a list of documents. (JSON Array)
https://tracapi.com/api.v2/get_doc/ Get a document from the blockchain. Will be returned as it's file type.
auth_keyyour authorization key.
asset_idThe asset id representing the document.
https://tracapi.com/api.v2/trace/ Trace an asset.
auth_keyyour authorization key.
gtinThe GTIN of the item being traced.
lotThe lot or batch number of the item being traced.
directionFORWARD/BACKWARD/BOTH - Default BOTH.
levelsThe number of levels yo trace.
https://tracapi.com/api.v2/get/ Get an asset.
auth_keyyour authorization key.
asset_idThe asset id of the asset.