UNPKG

ebay-api

Version:

eBay API for Node and Browser

28 lines (27 loc) 1.13 kB
import Restful from '../../index.js'; import { AlsoBoughtByProductParams, AlsoViewedByProductParams, MerchandisedProductsParams } from '../../../../types/index.js'; /** * The Marketing API retrieves eBay products based on a metric, such as Best Selling, as well as products that were * also bought and also viewed. */ export default class Marketing extends Restful { static id: string; get basePath(): string; /** * This call returns products that were also bought when shoppers bought the product specified in the request. * @param params */ getAlsoBoughtByProduct(params: AlsoBoughtByProductParams): Promise<any>; /** * This call returns products that were also viewed when shoppers viewed the product specified in the request. * * @param params */ getAlsoViewedByProduct(params: AlsoViewedByProductParams): Promise<any>; /** * This call returns an array of products based on the category and metric specified. * * @param params */ getMerchandisedProducts(params: MerchandisedProductsParams): Promise<any>; }