Requires an admin Bearer token in the Authorization header.
orderId is required — it scopes the list to a single order. Omitting it returns an "order not found" error.
Cursor pagination — pass first for the page size and after (the endCursor from the previous page) to advance; pageInfo.hasNextPage tells you when to stop, totalCount is the total for that order.
List Order Comments
Cursor-paginated list of one order's comments, newest first — the comment thread shown on the admin Sales → Orders → View screen.
Operation
adminOrderCommentsDetails
Authorizationheader.orderIdis required — it scopes the list to a single order. Omitting it returns an "order not found" error.firstfor the page size andafter(theendCursorfrom the previous page) to advance;pageInfo.hasNextPagetells you when to stop,totalCountis the total for that order.Node fields
idnull— comments have no standalone endpoint. Use_id._idorderIdcommentcustomerNotifiedtrueif the customer was emailed when the comment was added.createdAt,updatedAtThe REST equivalent (
GET /api/admin/orders/{orderId}/comments) returns the same fields in a{ data, meta }envelope instead of a cursor connection.