question

ericstock avatar image
ericstock asked

Can I use Coupons And Promotions with both Player Inventory and Steam Inventory?

Our game is multi-platform. For Xbox, PS4 and Switch we use the playfab player inventory. For Windows Steam, we use Steam Inventory instead. Our game generates the catalogs for both Playfab Inventory and Steam Inventory using the same data, so the Playfab Items ItemId matches the equivalent field on Steam.

Recently we are planning on implementing Coupons and Promotions with our game. When we execute https://titleId.playfabapi.com/Client/RedeemCoupon in our game's cloud script, for Steam players I am planning on capturing the RedeemCouponResult. For each items awarded to the player's catalog, I will make a call to award it on the steam inventory.

Just want to verify this is a sound plan.

Player Inventory
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

·
Citrus Yan avatar image
Citrus Yan answered

Sure, that would be a solid plan. And, not sure whether it’s a typo or something else, but you’re supposed to use https://titleid.playfabapi.com/Server/RedeemCoupon in CloudScript instead of the client API.

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.