Gifts an item from the item shop.
Compatible Profiles: common_core
Supported MCPs: fortnite
, wex
{
"offerId": "",
"purchaseQuantity": 0,
"currency": "MtxCurrency",
"expectedTotalPrice": 0,
"gameContext": "",
"receiverAccountIds": [""],
"giftWrapTemplateId": "",
"personalMessage": ""
}
offerId
: offer ID of the item that is being purchasedpurchaseQuantity
: amount of item(s) being purchasedcurrency
: type of currency the transaction is being paid inexpectedTotalPrice
: price of the itemgameContext
: only used for analytics and can be ignoredreceiverAccountIds
: array with the ids of the accounts that are being giftedgiftWrapTemplateId
: the wrap of the gift; can be:- GiftBox:gb_default
- GiftBox:gb_giftwrap1
- GiftBox:gb_giftwrap2
- GiftBox:gb_giftwrap3
- GiftBox:gb_giftwrap4
personalMessage
: the gift's message; not currently supported in-game so use at your own risk