Skip to main content

IShopAccount

An interface in Alta.Api.Client, Alta.Api.Client.HighLevel.

Alta web API calls for a user's shop account and owned items. ShopClient.Account.

Methods​

MemberWhat it is
Task<SubscriptionRefreshResult> CheckForSubscriptionRewardsAsync()Asks the API to grant any subscription rewards due.
Task<IEnumerable<OwnedShopItem>> GetOwnedItems()Lists the shop items the logged-in user owns.
Task<ShopAccountInfo> GetShopAccountInfo()Gets shop account info for the logged-in user or a given user.
Task<ShopAccountInfo> GetShopAccountInfo(int userIdentifier)Gets shop account info for the logged-in user or a given user.
Task<GiftResult> GiftItem(int userIdentifier, string itemSku)Gives a user an item by SKU.
Task RemoveItem(int userIdentifier, int itemIdentifier)Removes an owned item from a user.

Used in​

Members of other types that take, return or hold a IShopAccount: