How to get all seller listings? - amazon-mws

I need to get data about all listings in my Amazon Seller Central account.
I checked the available reports that Amazon can generate, and the best is the open listings report - best - I mean that it gives more data than other reports, but still lacks much, for example, EANs, photo URLs.
However, the open listings report have one issue: It crops the long titles of the listings and places a "..." postfix. It also adds a product type string to the titles, like "Title [Electronics]".
So, while the open listings report can be used as "something is better than nothing", I need something more decent.
Is there something else that can be used to accomplish my task, or is that report is the best I can get?

You can request a "_GET_MERCHANT_LISTINGS_DATA_" report from Amazon MWS, which will give you the most data, including the photo URLs.
Unfortunately, the title data is still shortened and the product type is still added.
A list of all inventory reports can be found in the documentation.
You could also try using the Products API.
This will give you very detailed data about each product with the correct titles, but you have to send a query to get results instead of getting everything in a single report.

Related

Quickbooks Data Schema?

I'm trying to develop a simple app for my staff to log their time and expenses on a remote (access) db, and then sync that with QuickbooksPro. I have managed to get QBFC to work, my problem now is understanding the underlying database structure (field names etc) in Quickbooks - e.g. so I know which elements to add to queries etc.
I have found the following (EntityRef, CustomerRef) by trial and error, and by looking at a table pulled using QOBDC; however, there must be documentation of this somewhere - anyone know where?
TimeDataQry.IncludeRetElementList.Add("EntityRef")
TimeDataQry.IncludeRetElementList.Add("CustomerRef")
TimeDataQry.IncludeRetElementList.Add("TxnDate")
TimeDataQry.IncludeRetElementList.Add("BillableStatus")
TimeDataQry.IncludeRetElementList.Add("Duration")
TimeDataQry.IncludeRetElementList.Add("TimeModified")
to be honest, the actual QB data schema is horrible - huge and confusing. It's not worth trying to figure out how to interact directly with their API. That's one of the reasons people like QODBC created simpler ways to interact with it. Have you purchased QODBC?
I've created apps using QODBC and RSSBus, and I like RSSBus better. There are many reasons, but for starters, QODBC is actually a driver that uses DNS's, which can be confusing and have to be set up on each computer that you want to use this on whereas RSSBus does not have any of that. What QODBC and RSSBus do is wrap the QB db in a sort of sqlserver-like db, so any table structures you pull from the QODBC tool will most likely have no correlation to anything you could use through QBFC.
I prefer RSSBus now, but here are links to documentation for both:
RSSBus - http://www.rssbus.com/kb/help/RQR3-A/pg_imetracking.rst
QODBC - http://doc.qodbc.com/qodbc/Qodbc_20_us.html
Also, this SO question may help - QuickBooks QBFC explanation. Notice that he says there are 300+ pages of documentation for this. A little too much imo.
Use the QuickBooks OSR (it works best in Chrome):
https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html
Choose the request/object type you're dealing with from the "Select Message" drop-down, and click on any of the nodes to view documentation on the node.
For example, what you posted above looks like you're looking at Time Tracking entries. Here's what you get from the OSR about EntityRef:
Entity
A QuickBooks "entity" is a customer, vendor, employee, or
person on the QuickBooks "other names" list. Special cases to note:
In a BillToPayQuery message, EntityRef refers to the vendor name.
In
JournalCreditLine and JournalDebitLine messages for A/R accounts,
EntityRef must refer to a customer, or else the transaction will not
be recorded. For A/P accounts the EntityRef must refer to a vendor, or
else the transaction will not be recorded.
In a TimeTracking message,
EntityRef cannot refer to a customer, only to an employee, vendor, or
person on the "other names" list whose time is being tracked.
Pretty simple, pretty detailed.
It's also worth noting that the QuickBooks APIs almost exactly mirror the QuickBooks GUI. For example, when creating an invoice in the QuickBooks GUI, you'll see fields like:
Customer
Date
Invoice #
Item
PO Number
And then if you look at InvoiceAdd in the API, you'll find these fields:
CustomerRef
TxnDate
RefNumber
ItemRef
PONumber
It shouldn't be terribly difficult to put two and two together and figure out that these fields match the fields presented in the GUI.
Here is the QODBC documentation on table schemas:
All Tables.
If you want specific US related table groupings like Customer and AR then check here:
Tables by Group

How to list amazon orders through ASIN

Is there a way to get the orders only is you have an ASIN?
Right now what I am doing is to fetching all the orders through ListOrder (no ASIN returned here. but I can use AmazonOrderId) and then filtering/matching them out one by one through GetOrder (gives back the ASIN if you send AmazonOrderId). However this is an ugly way to do this as it takes a long process to filter out the desired Order.
I am wondering if anyone has a workaround for this? As I cannot to see any solution in the MWS docs.
You can request a _GET_ORDERS_DATA_ report. It lists all orders in a specified time period and contains ASINs for each order item. This means you can do it in just four requests (RequestReport, GetReportRequestList, GetReportList, GetReport, as outlined in "Managing Reports" in the Amazon Marketplace Web Service Developer Guide (Version 2009-01-01).
However you'll still have to do quite some filtering on that data to get only the orders that contain a certain ASIN.

Database | Google Product Feeds Field Length

Trying to construct a database to hold a bunch of product data. The plan is to programmically generate TXT (Text tab delimited) filed and upload to Google, Amazon, and Bing (all use Google Product Feeds file formatting) from the data in the database.
Problem I'm having right now is I seem to have to guess at the maximum field length for most of the available fields. I found in several places telling me what field are required/optional and what their use is for, but no where can I find how long they can be. This is critical to know in a fully automated product feed system since we don't want to pull data from our warehouse system and INSERT that into our Product Feed database if it is invalid for the Google product feeds (too long).
Please advise.
google shopping will allow up to 72 chr for the title. description fields are usually unlimited. for anything else you usually wouldn't have anything too long anyways.
There are programs out there that do this already

Defining Related Fields for Presentation/Reporting from SSAS

I might be going down the wrong track here, but what I am after is some guidance on what to do for related data in SSAS.
What I am after is, when I create a cube I want to be able to use it for reporting/end users, but my dimension may have a product cube, but what is the appropriate way of bringing in other data like the Product Name, Description, Created Date, etc - information that you may not want to actually drill into, but is related to the axis that you're looking at.
I would need to show some of this information if I was reporting from it, but I can't seem to see a way, and most of the youtube videos, etc seem to go over the real basics on Adventureworks and that's it - so I'm not sure how this works in the real world.
So, in the end they can go into Excel/whatever, and see:
Product code Name Total Profit
Rather than just the code axis, and the profit.
It depends on how you want to see it. We typically call these types of fields "member properties". You create them by setting the AttributeHierarchyEnabled property to False. You use them in Excel as described here (works in Excel 2007 and Excel 2010):
http://blog.davyknuysen.be/2009/08/03/olap-reporting-with-excel-2007-use-member-properties/

Where can I get a list of movie titles as well as TV show titles with their episode titles

IMDB has the movie titles for download, but not TV show titles. I was going to just use pyIMDB, but it looks like you can't get all of the data easily, just a couple results similar to your search query. Anyone know where I can get this stuff?
With IMDbPY you can take the plain text data files and put them in a SQL database.
The data includes TV series and their episodes.
Please refer to the documentation or ask on the mailing list for more details.
Also, don't forget that the license of the IMDb data is granted only for personal and non-commercial uses.

Resources