References for RestAPI

To make the usage of our Rest API easier we expose references of the user that's currently using our widget.

You can get them by using our JavaScript API:

console.log(_t10l.customerId)
// example response: 6b055a78-72c9-43f7-b5f1-991ed48fb69c
console.log(_t10l.partyId)
// example response: d649ed51-4718-4d5a-b26b-b0c90f31cfdf
// You can pass these ids to your backend and use them to fetch the data from our Rest API.

here you will find more Java Script methods

Caution

Both Party and Customer are created when the first data appears in TransactionLink. This means you'll get a 404 if you'll use these IDs prematurely.