Query result payload
Paginated product list
Total count of matches across all pages
Pagination metadata for the current page
Items returned on the current page
OptionalerrorsPartial-success errors returned alongside data
Human-readable error message
Optionallocations?: { line: number; column: number }[]Source locations in the query where the error occurred
Optionalpath?: (string | number)[]Path to the field that triggered the error
Top-level shape of a successful Magento 2 GraphQL
productsquery response. The optionalerrorsarray carries partial-success errors (e.g. permission denied for individual fields) alongside validdata.Example