Closed gregoks closed 2 years ago
I have the same problem...
This is the same as with the old MWS API. I had to get the single events for the group and get the marketplace from those single events. If there are only events that are not related to an order you can't get the marketplace. So this should be improved, but as i said, this has always been this way, its not SP-API related.
Yes thats the only solution that I know of. There is also no option to filter specific marketplace in the request, its really frustrating to call financial events api for each financial event group especially because of the low throttling bucket for these api’s.
I wish Amazon could add the marketplace to the financial event groups api.
This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.
FinancialEventGroupList (/finances/v0/financialEventGroups) response object doesnt have MarketplaceName:
If we want to know from which marketplace the financial event group came from, we need to call FinancialEvents API (/finances/v0/financialEventGroups/{eventGroupId}/financialEvents) by a given FinancialEventGroupdId and make assumption that a marketplace that appears in the shipment event is also the same marketplace of the financial event group:
Is there a reason why marketplaceName not part of the FinancialEventGroup object? is it possible to add it?
https://github.com/amzn/selling-partner-api-models/blob/main/models/finances-api-model/financesV0.json