ebay-api
Version:
eBay API for Node and Browser
24 lines (23 loc) • 903 B
TypeScript
import Restful from '../../index.js';
import { PlaceProxyBidRequest } from '../../../../types/index.js';
/**
* The Api Offer API enables Partners to place proxy bids for a buyer and retrieve the auctions where the buyer is
* bidding. Client Credentials: https://api.ebay.com/oauth/api_scope/buy.offer.auction
*/
export default class Offer extends Restful {
static id: string;
get basePath(): string;
/**
* This method retrieves the bidding details that are specific to the buyer of the specified auction.
*
* @param itemId
*/
getBidding(itemId: string): Promise<any>;
/**
* This method uses a user access token to place a proxy bid for the buyer on a specific auction item.
*
* @param itemId
* @param {PlaceProxyBidRequest} body
*/
placeProxyBid(itemId: string, body?: PlaceProxyBidRequest): Promise<any>;
}