Create / Update Booking [EXPERIENCE]
Booking NFT Creation Request
To make your first request, send an authenticated request to the endpoint. This will create a Booking NFT.
Take a look at how you might call this method using the technology of your choice:
To avoid saving the Takyon collection ID in your systems you can set a custom ALIAS in /account/developer.
Keep note that the payload is customizable. We recommend using the structure provided in this example, but is possible to add information with custom keys or avoid some of the fields.
You might want to omit some of the fields of the payload (ex Experience Name, location, website,...), since this information will be customizable directly by the experience provider in the Takyon dashboard and automatically placed inside the NFT.
Update an existent booking
You can update a Booking NFT simply by calling the Create Endpoint and adding "id" as a parameter of the nftData. You'll get it in the response of the Create Endpoint, after the creation call, and you can store it in your systems. Alternatively, if you don't want to save the "_id" you can also use the same "payload.reference".
Last updated