- 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 | |
---|---|
profile |
User profile ID associated with this request. |
project |
Project ID for order documents. |
Query parameters
Parameters | |
---|---|
ids[] |
Select only inventory items with these IDs. |
max |
Maximum number of results to return. |
in |
Select only inventory items that are in plan. |
order |
Select only inventory items that belong to specified orders. |
type |
Select only inventory items with this type. |
page |
Value of the
from the previous result page. |
site |
Select only inventory items that are associated with these sites. |
sort |
Field by which to sort the list. |
sort |
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
. |
next |
Pagination token to be used for the next list operation. |
inventory |
Inventory item collection |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking