AI-generated Key Takeaways
- 
          This page describes how to retrieve a list of inventory items using the specified HTTP request, path parameters, query parameters, and authorization scopes. 
- 
          The HTTP request method is GET and uses gRPC Transcoding syntax with profile and project IDs as path parameters. 
- 
          Various query parameters are available to filter and paginate the list of inventory items. 
- 
          The request body must be empty, and the response body contains a JSON representation of the list of inventory items with optional pagination information. 
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves a list of inventory items, possibly filtered. This method supports paging.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/inventoryItems
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| profileId | 
 User profile ID associated with this request. | 
| projectId | 
 Project ID for order documents. | 
Query parameters
| Parameters | |
|---|---|
| ids[] | 
 Select only inventory items with these IDs. | 
| maxResults | 
 Maximum number of results to return. | 
| inPlan | 
 Select only inventory items that are in plan. | 
| orderId[] | 
 Select only inventory items that belong to specified orders. | 
| type | 
 Select only inventory items with this type. | 
| pageToken | 
 Value of the 
 from the previous result page. | 
| siteId[] | 
 Select only inventory items that are associated with these sites. | 
| sortField | 
 Field by which to sort the list. | 
| sortOrder | 
 Order of sorted results. | 
Request body
The request body must be empty.
Response body
Inventory item inventoryItems.list Response
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "kind": string,
  "nextPageToken": string,
  "inventoryItems": [
    {
      object ( | 
| Fields | |
|---|---|
| kind | 
 Identifies what kind of resource this is. Value: the fixed string 
 . | 
| nextPageToken | 
 Pagination token to be used for the next list operation. | 
| inventoryItems[] | 
 Inventory item collection | 
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/dfatrafficking