question

faniram243@gmail.com avatar image
faniram243@gmail.com asked

Can we buy ugc item with purchase item api ?

I tried but it says item not found.

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.

Neils Shi avatar image
Neils Shi answered

The PurchaseItem API is used to purchase Economy V1 items, and the ugc item belongs to Economy V2. You should use PurchaseInventoryItems to purchase ugc item. For more info, please refer to Player Inventory Quickstart - PlayFab | Microsoft Learn.

10 |1200

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

Derek Reese avatar image
Derek Reese answered

Is the UGC item published and in an 'Approved' moderation state (only set-able on published UGC items)?

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.

faniram243@gmail.com avatar image faniram243@gmail.com commented ·

Hi, yes it is in approved state

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.