import * as Options from '../options'; import { BaseService } from '../infrastructure'; import { InventoryItem } from '../interfaces'; /** * A service for manipulating Shopify's InventoryItems API. */ export declare class InventoryItems extends BaseService { constructor(shopDomain: string, accessToken: string); /** * Gets a inventory item with the given id. * @param id Id of the inventory item being retrieved. * @param options Options for filtering the result. */ get(id: number, options?: Options.FieldOptions): Promise; /** * Gets a list of up to 250 of the shop's inventory items. * @param options Options for filtering the result. */ list(options: Options.InventoryItemListOptions): Promise; /** * Updates an inventory item with the given id. * @param id The inventory items's id. * @param inventoryItem The updated inventory item. */ update(id: number, inventoryItem: Partial): Promise; } export default InventoryItems;