question

ericstock avatar image
ericstock asked

Are there any plans to include Server API to generate coupons?

Our game is in the process of adding the ability to redeem coupons. Once it is ready, our community moderators will generate sets of coupons and distribute them. Presently it appears the only way to generate the coupons is to use the playfab web interface. It would be much faster and more effective to have access to a web api so we can generate lots of coupons and then use a script to organize them into spreadsheets. Are there any plans to add a generate coupon API?

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.

1 Answer

·
Seth Du avatar image
Seth Du answered

Currently PlayFab still doesn’t support creating coupons via API calls, only redeem is supported. Please feel free to send a thread on the feature request forum -- https://community.playfab.com/spaces/24/index.html.

The possible workaround is to host an external database to generate and manage those coupons, while you may let Azure function to request or synchronize data with database server.

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.