question

ilazo avatar image
ilazo asked

Import inventory Items?

Hi, we are developing a TCG and we have a lot of item data to upload to playfab. Is it any way to import all of that data instead of creating them one by one?

dataPlayer 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

·
brendan avatar image
brendan answered

Yes, you can use the Admin API to upload a complete JSON description of your catalog:

https://api.playfab.com/documentation/admin/method/SetCatalogItems

I'd also recommend having a look at this tutorial: https://api.playfab.com/docs/tutorials/landing-commerce/catalogs

1 comment
10 |1200

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

ilazo avatar image ilazo commented ·

Tha's awesome @brendan, thank you!

0 Likes 0 ·

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.