question

zach avatar image
zach asked

Is there any way to access store items through the server API?

I'm trying to get store items (not catalog items) in a cloud script, but I don't see way to do that with the server API. I want to essentially have a "getStore" cloud script function that processes some data and returns a specific set of store items.

Thanks!

apis
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

pfnathan avatar image
pfnathan answered

Currently, this is what we support; https://api.playfab.com/documentation/Client/method/GetStoreItems

and do not have "getStore" CloudScript support yet. Please post your request to the "Feature Request" page.

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

zach avatar image zach commented ·

Is there a way to use the client api from a cloud script? I'm guessing there isn't a way to authorize those requests?

0 Likes 0 ·
brendan avatar image brendan zach commented ·

Sorry, no - that's why Nathan was recommending posting a request for this to the Feature Requests forum. Right now, the GetStoreItems API is only in the Client API.

0 Likes 0 ·
kamyker avatar image
kamyker answered

Seems like in was just added :) https://api.playfab.com/releaseNotes/#190903

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.