Amazon-SP-API-CSharp icon indicating copy to clipboard operation
Amazon-SP-API-CSharp copied to clipboard

Report type for payments report repository

Open jmawebtech opened this issue 1 year ago • 0 comments

Hi,

I need to pull an Amazon report of all orders created on October 16. My client created a report under payments report repository > payments report. What report type do I use?

        var reports = await amazonConnection.Reports.GetReportsAsync(new FikaAmazonAPI.Parameter.Report.ParameterReportList()
        {
            reportTypes = new List<ReportTypes>() { ReportTypes.GET_FLAT_FILE_ALL_ORDERS_DATA_BY_LAST_UPDATE_GENERAL },
            createdSince = settings.LastDownloadUtc,
            createdUntil = settings.LastDownloadUtcEnd
        });

List of headers:

date/time | settlement id | type | order id | sku | description | quantity | marketplace | account type | fulfillment | order city | order state | order postal | tax collection model | product sales | product sales tax | shipping credits | shipping credits tax | gift wrap credits | giftwrap credits tax | Regulatory Fee | Tax On Regulatory Fee | promotional rebates | promotional rebates tax | marketplace withheld tax | selling fees | fba fees | other transaction fees | other | total

image

jmawebtech avatar Oct 18 '24 21:10 jmawebtech