UNPKG

ebay-api

Version:

eBay API for Node and Browser

19 lines (18 loc) 627 B
import Restful from '../../index.js'; /** * Enables a seller adding an ad or item on a Partner's site to automatically create an eBay listing draft using the item details from the Partner's site. */ export default class Listing extends Restful { get basePath() { return '/sell/listing/v1_beta'; } /** * This call gives Partners the ability to create an eBay draft of a item for their seller using information from their site. * * @param data The ItemDraft */ createItemDraft(data) { return this.post(`/item_draft/`, data); } } Listing.id = 'Listing';