Switch an Item's Primary Image

This endpoint allows you to change an item's image to one of the other images provided upon mint. This feature may be used to update an item's state (i.e., the image can reflect an item's wear, evolution, type, etc.)

Every item has an imageIndex property. This property represents the index of the selected image amongst all the provided images. Every item also has aimageCount property that represents the total number of uploaded images.

Update an item's primary image

Updates an item's primary image

POST https://api.alturanft.com/api/v2/item/update_primary_image

Takes an item's collection address, tokenId, the imageIndex you want to change to and your API key and updates the item's primary image

Query Parameters

Request Body

{
    // Response
}

Remember, imageIndex starts at 0 and not 1. Therefore the highest imageIndex is imageCount - 1

Last updated