You gotta use the X-CSRF-Token
and account cookie in your request to buy items:
Your URL will just retrieve information about a product and it works fine for me:
https://api.roblox.com/marketplace/productinfo?assetId=53326
Maybe send some additional pieces of code if I got it wrong.