Skip to main content

IShopEditor

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

Alta web API calls for creating and editing shop items and item sets. ShopClient.Editor. Probably staff only.

Methods​

MemberWhat it is
Task AddImageToItemAsync(int itemId, ImageType imageType, string imagePath)Uploads an image file of a type to an item.
Task<ShopItemDetailed> CreateNewItem(ShopItemDetailed itemToCreate)Creates a shop item.
Task<ShopItemSet> CreateNewItemSet(ShopItemDetailed setItem, IEnumerable<int> items, ItemSetType type = 22)Creates an item set (an outfit by default) from a set item and item ids.
Task DeleteItem(ShopItemDetailed itemToDelete)Deletes a shop item.
Task DeleteItemSet(ShopItemSet setToDelete)Deletes an item set.
Task<ShopItemDetailed> GetItem(int itemIdentifier)Gets one shop item's full details.
Task<ShopItemSet> GetItemSet(string setSku)Gets an item set by SKU.
Task<ShopItemDetailed> UpdateItemAsync(ShopItemDetailed itemToUpdate)Saves changes to a shop item.
Task<ShopItemSet> UpdateItemSetAsync(ShopItemDetailed setItem, IEnumerable<int> items, ItemSetType type = 22)Saves changes to an item set.

Used in​

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