> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "ProductsByIDsResponse"
description: "The output returned from the `productsByIds` query."
---

## Fields

***

<ResponseField name="products" type={<a href="/api-reference/product">[Product]!</a>} required>
  A list of products which match the provided product IDs. If a product could not be retrieved from our database successfully, then a `null` value will be returned for that product.
</ResponseField>

<ResponseField name="errors" type={<a href="/api-reference/producterror">[ProductError!]!</a>} required>
  A list of errors that occurred while handling the request. In general, there will be one entry in this list for each `null` value inside the `products` list.
</ResponseField>

## Related queries

* [`productsByIds`](/api-reference/productsbyids)


---

*Powered by [holocron.so](https://holocron.so)*
