question

brendan avatar image
brendan asked

GetStoreItems vs GetCatalogItems

darkgolemgames
started a topic on Tue, 10 February 2015 at 7:43 PM

What's the difference?

In "GetStoreItem" I'm asked to attach a StoreId to the request. What is StoreId?

10 |1200

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

1 Answer

·
brendan avatar image
brendan answered

Best Answer
Brendan Vanous said on Sat, 14 February 2015 at 2:36 AM

We added the concept of a store due to specific developer requests to have a way to separate the notion of a catalog of goods versus a store. The idea is that a catalog contains the complete list of all the items available, including their specific properties, while a store is a description of the prices for those items. It's still possible to have all this information in your catalog and not use stores, but both design patterns are supported in PlayFab.


2 Comments
darkgolemgames said on Fri, 13 February 2015 at 9:40 PM

Bump.


Brendan Vanous said on Sat, 14 February 2015 at 2:36 AM

We added the concept of a store due to specific developer requests to have a way to separate the notion of a catalog of goods versus a store. The idea is that a catalog contains the complete list of all the items available, including their specific properties, while a store is a description of the prices for those items. It's still possible to have all this information in your catalog and not use stores, but both design patterns are supported in PlayFab.

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.