Skip to main content

OfflineShopEditor

A class in Alta.Api.Client, Alta.Api.Client.HighLevel.

Offline stand-in for the shop editor. Every method throws OfflineException.

Constructors​

MemberWhat it is
OfflineShopEditor()Creates an OfflineShopEditor with default values.

Methods​

MemberWhat it is
Task AddImageToItemAsync(int itemId, ImageType imageType, string imagePath)Throws OfflineException.
Task<ShopItemDetailed> CreateNewItem(ShopItemDetailed itemToCreate)Throws OfflineException.
Task<ShopItemSet> CreateNewItemSet(ShopItemDetailed setItem, IEnumerable<int> items, ItemSetType type = 22)Throws OfflineException.
Task DeleteItem(ShopItemDetailed itemToDelete)Throws OfflineException.
Task DeleteItemSet(ShopItemSet setToDelete)Throws OfflineException.
Task<ShopItemDetailed> GetItem(int itemIdentifier)Throws OfflineException.
Task<ShopItemSet> GetItemSet(string setSku)Throws OfflineException.
Task<ShopItemDetailed> UpdateItemAsync(ShopItemDetailed itemToUpdate)Throws OfflineException.
Task<ShopItemSet> UpdateItemSetAsync(ShopItemDetailed setItem, IEnumerable<int> items, ItemSetType type = 22)Throws OfflineException.