amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
601 stars 730 forks source link

GET /finances/2024-06-19/transactions No data #4226

Open asd6979448 opened 2 weeks ago

asd6979448 commented 2 weeks ago

Why did I not get any information when I requested this report? I am sure that there were transactions during this time period. Did I misunderstand this report?

jawheral commented 2 weeks ago

Hi @asd6979448,

Are you providing a marketplaceId as part of the requests params? if so, did you make sure that's the right marketplaceId where you expect the transactions.? Are these transactions very recent and do you see older transactions when you expand the time interval? some transactions from the past 48 hours might not appear yet on Finance API's Transactions resource.

Best, Jawher Selling Partner Developer Services

joshsouthern commented 2 weeks ago

Why did I not get any information when I requested this report? I am sure that there were transactions during this time period. Did I misunderstand this report?

Not sure if this is your issue, but I'm finding any transactions classed as "Deferred" aren't being pulled through when running this, even if they show in Seller Central and are within the timeframe of the time interval in the request. Transactions with a status of Released are being showing in the response.

Oanoan commented 1 week ago

Hi @asd6979448,

Are you providing a marketplaceId as part of the requests params? if so, did you make sure that's the right marketplaceId where you expect the transactions.? Are these transactions very recent and do you see older transactions when you expand the time interval? some transactions from the past 48 hours might not appear yet on Finance API's Transactions resource.

Best, Jawher Selling Partner Developer Services

No matter how I adjust the parameters, the interface always returns null

jawheral commented 1 week ago

Hi @Oanoan,

Can you please share the HTTP response from the API call?

Best, Jawher Selling Partner Developer Services

jawheral commented 1 week ago

Hi @joshsouthern,

Regarding deferred transactions, these are not yet supported by the Finance v2024-06-19 API.

Best, Jawher Selling Partner Developer Services

Oanoan commented 1 week ago

Hi @Oanoan,

Can you please share the HTTP response from the API call?

Best, Jawher Selling Partner Developer Services

image class ListTransactionsResponse { nextToken: null transactions: null }

jawheral commented 1 week ago

Hi @Oanoan

This is most likely an issue within your code. Could you debug or check/share the HTTP API response? You can use a tool such as Postman to execute the request and provide the response.

I hope this helps!

Best, Jawher Selling Partner Developer Services