Customer Recent Order Items
Up to 5 most-recent distinct products the customer has ordered — the right-sidebar "Recent Order Items" panel on the Create-Order screen.
| Endpoint | Method |
|---|---|
/api/admin/customers/{customerId}/recent-order-items | GET |
Response Fields
Returns the standard { data, meta } envelope. Each row in data:
| Field | Type | Description |
|---|---|---|
id | integer | Order item ID. |
productId | integer | The product. |
sku | string | Product SKU. |
type | string | Product type — lets the client render type-specific UI. |
name | string | Product name. |
price | number | Unit price. |
formattedPrice | string | Currency-formatted unit price. |
productImage | string | null | Product thumbnail URL. |
additional | object | null | Extra item attributes. |
The list is the most-recently ordered products, distinct by product, newest first, limited to 5. Requires an admin Bearer token.
TIP
For how the Create-Order helper panels fit together, see the Create-Order Helpers overview.

