Hi everyone,
I'm trying to create an API request for StartPurchase - https://learn.microsoft.com/en-us/rest/api/playfab/client/player-item-management/start-purchase?view=playfab-rest#itempurchaserequest. However, I am unsure as to how to create a constructor for ItemPurchaseRequest on JavaScript that I can then pass into my HTTP request. How would I approach this?