Skip to main content

Get Orders for Product

GET 

//:domain/api/amazon/:integrationInstance/products/:product/orders

Paginated list of Amazon orders (AmazonOrder) that include a line item with this product's seller_sku. Orders are returned sorted by PurchaseDate (newest first) and wrapped in AmazonOrderResource. Used by the Recent Orders lazy-loading tab on the product detail/mapping modal.

Returns HTTP 403 when the product does not belong to the given integration instance.

Note: the response shape is hand-built (not a Laravel paginator dump) — it includes current_page, last_page, per_page, total, from, to alongside the data array.

Named route: amazon.products.orders.

Request

Responses

OK

Response Headers
    Content-Type