Amazon SP-API Getting order items in order list API

Viewed 1782

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. Amazon SP-API response like seller-central

1 Answers

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:

  • getOrders
  • getOrder
  • getOrderBuyerInfo
  • getOrderAddress
  • getOrderItems
  • getOrderItemsBuyerInfo
  • updateShipmentStatus

orders-api

So for each order you need to call the getOrderItems operation to retrieve the data you are looking for.

Related