import { AxiosInstance, AxiosRequestConfig } from 'axios'; import * as Models from './models/products'; /** * Products Service * Documentation for products API */ export declare class Products { private client; constructor(httpClient: AxiosInstance); /** * Bulk Update Products * API to bulk update products (price, availability, collections, delete) */ bulkUpdate(requestBody: Models.BulkUpdateDto, options?: AxiosRequestConfig): Promise; /** * Bulk Edit Products and Prices * API to bulk edit products and their associated prices (max 30 entities) */ bulkEdit(requestBody: Models.BulkEditRequestDto, options?: AxiosRequestConfig): Promise; /** * Create Price for a Product * The "Create Price for a Product" API allows adding a new price associated with a specific product to the system. Use this endpoint to create a price with the specified details for a particular product. Ensure that the required information is provided in the request payload. */ createPriceForProduct(params: { productId: string; }, requestBody: Models.CreatePriceDto, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * List Prices for a Product * The "List Prices for a Product" API allows retrieving a paginated list of prices associated with a specific product. Customize your results by filtering prices or paginate through the list using the provided query parameters. */ listPricesForProduct(params: { productId: string; limit?: number; offset?: number; locationId: string; ids?: string; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * List Inventory * The "List Inventory API allows the user to retrieve a paginated list of inventory items. Use this endpoint to fetch details for multiple items in the inventory based on the provided query parameters. */ getListInventory(params: { limit?: number; offset?: number; altId: string; altType: string; search?: string; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Update Inventory * The Update Inventory API allows the user to bulk update the inventory for multiple items. Use this endpoint to update the available quantity and out-of-stock purchase settings for multiple items in the inventory. */ updateInventory(requestBody: Models.UpdateInventoryDto, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Get Price by ID for a Product * The "Get Price by ID for a Product" API allows retrieving information for a specific price associated with a particular product using its unique identifier. Use this endpoint to fetch details for a single price based on the provided price ID and product ID. */ getPriceByIdForProduct(params: { productId: string; priceId: string; locationId: string; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Update Price by ID for a Product * The "Update Price by ID for a Product" API allows modifying information for a specific price associated with a particular product using its unique identifier. Use this endpoint to update details for a single price based on the provided price ID and product ID. */ updatePriceByIdForProduct(params: { productId: string; priceId: string; }, requestBody: Models.UpdatePriceDto, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Delete Price by ID for a Product * The "Delete Price by ID for a Product" API allows deleting a specific price associated with a particular product using its unique identifier. Use this endpoint to remove a price from the system. */ deletePriceByIdForProduct(params: { productId: string; priceId: string; locationId: string; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Fetch Product Store Stats * API to fetch the total number of products, included in the store, and excluded from the store and other stats */ getProductStoreStats(params: { storeId: string; altId: string; altType: string; search?: string; collectionIds?: string; }, options?: AxiosRequestConfig): Promise; /** * Action to include/exclude the product in store * API to update the status of products in a particular store */ updateStoreStatus(params: { storeId: string; }, requestBody: Models.UpdateProductStoreDto, options?: AxiosRequestConfig): Promise; /** * Update product display priorities in store * API to set the display priority of products in a store */ updateDisplayPriority(params: { storeId: string; }, requestBody: Models.UpdateDisplayPriorityBodyDto, options?: AxiosRequestConfig): Promise; /** * Fetch Product Collections * Internal API to fetch the Product Collections */ getProductCollection(params: { limit?: number; offset?: number; altId: string; altType: string; collectionIds?: string; name?: string; }, options?: AxiosRequestConfig): Promise; /** * Create Product Collection * Create a new Product Collection for a specific location */ createProductCollection(requestBody: Models.CreateProductCollectionsDto, options?: AxiosRequestConfig): Promise; /** * Get Details about individual product collection * Get Details about individual product collection */ getProductCollectionId(params: { collectionId: string; altId: string; }, options?: AxiosRequestConfig): Promise; /** * Update Product Collection * Update a specific product collection with Id :collectionId */ updateProductCollection(params: { collectionId: string; }, requestBody: Models.UpdateProductCollectionsDto, options?: AxiosRequestConfig): Promise; /** * Delete Product Collection * Delete specific product collection with Id :collectionId */ deleteProductCollection(params: { collectionId: string; altId: string; altType: string; }, options?: AxiosRequestConfig): Promise; /** * Fetch Product Reviews * API to fetch the Product Reviews */ getProductReviews(params: { altId: string; altType: string; limit?: number; offset?: number; sortField?: string; sortOrder?: string; rating?: number; startDate?: string; endDate?: string; productId?: string; storeId?: string; }, options?: AxiosRequestConfig): Promise; /** * Fetch Review Count as per status * API to fetch the Review Count as per status */ getReviewsCount(params: { altId: string; altType: string; rating?: number; startDate?: string; endDate?: string; productId?: string; storeId?: string; }, options?: AxiosRequestConfig): Promise; /** * Update Product Reviews * Update status, reply, etc of a particular review */ updateProductReview(params: { reviewId: string; }, requestBody: Models.UpdateProductReviewDto, options?: AxiosRequestConfig): Promise; /** * Delete Product Review * Delete specific product review */ deleteProductReview(params: { reviewId: string; altId: string; altType: string; productId: string; }, options?: AxiosRequestConfig): Promise; /** * Update Product Reviews * Update one or multiple product reviews: status, reply, etc. */ bulkUpdateProductReview(requestBody: Models.UpdateProductReviewsDto, options?: AxiosRequestConfig): Promise; /** * Get Product by ID * The "Get Product by ID" API allows to retrieve information for a specific product using its unique identifier. Use this endpoint to fetch details for a single product based on the provided product ID. */ getProductById(params: { productId: string; locationId: string; sendWishlistStatus?: boolean; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Delete Product by ID * The "Delete Product by ID" API allows deleting a specific product using its unique identifier. Use this endpoint to remove a product from the system. */ deleteProductById(params: { productId: string; locationId: string; sendWishlistStatus?: boolean; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Update Product by ID * The "Update Product by ID" API allows modifying information for a specific product using its unique identifier. Use this endpoint to update details for a single product based on the provided product ID. */ updateProductById(params: { productId: string; }, requestBody: Models.UpdateProductDto, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * Create Product * The "Create Product" API allows adding a new product to the system. Use this endpoint to create a product with the specified details. Ensure that the required information is provided in the request payload. */ createProduct(requestBody: Models.CreateProductDto, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; /** * List Products * The "List Products" API allows to retrieve a paginated list of products. Customize your results by filtering products based on name or paginate through the list using the provided query parameters. This endpoint provides a straightforward way to explore and retrieve product information. */ listInvoices(params: { limit?: number; offset?: number; locationId: string; search?: string; collectionIds?: string; collectionSlug?: string; expand?: string[]; productIds?: string[]; storeId?: string; includedInStore?: boolean; availableInStore?: boolean; sortOrder?: string; }, options?: AxiosRequestConfig & { preferredTokenType?: 'company' | 'location'; }): Promise; } export default Products; //# sourceMappingURL=products.d.ts.map