Using the Ebay Api I want to query whether any listings have promoted listings associated with them.
Using the Marketing API I've tried: getCampaigns and getPromotions.
On the Trading API I've tried: getPromotionalSaleDetails.
The standard getSellerList call doesn't return promoted listing data.
I'm hoping there is an API call that will return all listings that have "promoted listings" on them, or a list of campaigns that will give me an id number that I can use to look up the relevant listings.
Edit
According to the documentation for the getCampaign api call, campaigns created through the eBay website ("eBay web flow") are not returned via this method. Of course, all the campaigns I want to retrieve were created via the eBay website. And the documentation doesn't point the developer to where this data can be retrieved. Probably because it doesn't exist. The eBay forum mentions this.
Related
I made a Ticketmaster developer account and I would like to pull listing price data for specific events. I am able to retrieve this type of listing data for specific events using Stubhub's API, but looking through Ticketmaster's API documentation, I don't see any specific API requests that will return listing data, such as section, row and listing_price.
Am I missing something, or is it not possible to retrieve this type of listing data using Ticketmaster's API?
For anyone who stumbles upon this in the future, TicketMaster does offer this functionality through their availability endpoint. However you have to be a TM nexus partner to use it, and getting approved as a partner depends on what your business/software does and income etc...
Is there any way to use the eBay API to get the number of active listings in each country/eBay site?
I have 80,000+ listings split across 7 different ebay sites. I cannot use the Trading API as this is limited to 25,000 results.
I have looked at the Merchant Data API and the ActiveInventoryReport call. It has a SiteFilter but the Api Reference just says "Reserved for internal or future use." I tested it and it doesn't seem to work.
I got a semi-official answer from eBay. It's not possible:
Right now we dont have a way to get the listings per site basis. You
will have to add extra logic in your application to check the Listing
Site of the Item.
Here's what I want to do .
Users search for the items they want to track on main eBay website and set filters
They enter the URL on my website. Sample eBay URL
I make calls to eBay API and email them if items with price lower than X have been listed
To do that, I need to transform the eBay URL I mentioned above into an URL to call eBay REST API and get the same products.
So far I only managed to search by keywords and order by newest listing:
http://svcs.ebay.com/services/search/FindingService/v1?SECURITY-APPNAME=XXXXXX&OPERATION-NAME=findItemsByKeywords&SERVICE-VERSION=1.0.0&RESPONSE-DATA-FORMAT=JSON&RESTPAYLOAD&keywords=iphone&paginationInput.entriesPerPage=10&sortOrder=StartTimeNewest
I don't know how to get the search parameters from main eBay URL and use them to call the API.
You'll probably need to reverse engineer all/most of eBay's URL parameters to interpret exactly what the user is intending to search for. Then from there you can build an API call.
I'm not aware of any formal documentation of eBay URL parameters. I've unofficially noted a few on my site, but there are many more.
I would like to create a listing ebay draft as it is possible to do manually using this flow:
Go to the new listing sell creation page
Choose category id
Put some random data (title, description, etc.)
Close tab
You will see now unfinished draft, when you go to the new listing sell creation page.
Can I do the same thing using eBay api?
The reason of it is that I don't want to implement all functionality of addItem, currently.
eBay API will not allow to create draft listing.
when you call API for creating new listing, API needs all required fields value.
eBay Listing API provide one attribute PrivateListing.it will hide your product for selling.
If PrivateListing is true, designates the listing as private.customer can't see private listing.
eBay Listing API provide one more attribute ScheduleTime.
When you export product in eBay via API you can give ScheduleTime as well, eBay will active product for selling based on ScheduleTime.
You can make product inactive/draft using this alternative way.
http://developer.ebay.com/devzone/xml/docs/Reference/eBay/AddItem.html#AddItem
You can refer above link for eBay API.
As of now, I can confirm eBay does provide the API to create listing draft, though it's in beta at the moment.
POST - /item_draft/
Official doc is here
To my knowledge this cannot be done, since there are some pretty strict constraints around using the addItem API call, and eBay will throw an error if you don't complete the all the required fields. The required fields of addItem are numerous enough that if you could populate these fields, then you are already 90% of the way to completing your listing anyways.
If you are using Selling Manager Pro, you can create product templates which may be a way to accomplish what you are looking for.
I am successfully querying the Sendgrid Web API v3 for category stats, using the following endpoint, as documented at Web API v3 Category Stats;
https://api.sendgrid.com/v3/categories/stats?start_date=2015-01-01&end_date=2015-01-02&categories=sales&categories=north&categories=tech
This returns the stats for each category. So I get a row of data for Sales, a row for North and a row for Tech.
What I really want is to make custom queries for cross-sections of categories. So I'd actually like to know the stats for emails that had the categories of both Sales and Tech for example.
Is there any way to this via the API?
There is no way to accomplish this via the API after the emails have been sent. If you know which categories you want grouped, you can specify a unique common category at send time for emails that have category sales OR tech and then query based on that super-category.