Forum Academy Marketplace Showcase Pricing Features

How to change a api parameter when a button is clicked

Im trying to change the page number when the button is clicked but it seems that when I click it, it doesn’t change the page number. Does anyone know a way I can do this?