Reputation: 131
The Amazon SP-API getorders API endpoint doesn't send the items of that orders. I want to show the orders with their items like in Amazon Seller central in my inventory. Calling the get items (getorderitems endpoint) for every order will be unwise. Is there any other way to achieve this?
The seller central sends the order items data altogether in a single response.
Upvotes: 5
Views: 8032
Reputation: 11
yes you can download Orderreports (possible via the api as well as Website) there is one which contains all the data you want (you may have to set up a regular generation of this report)
hth hannes
Upvotes: 0
Reputation: 2148
SP-API was specifically set up to not include all that data in one API call. They provide the following operations for you to be able to get the specific data you need:
So for each order you need to call the getOrderItems operation to retrieve the data you are looking for.
Upvotes: 3