Method: inventoryItems.get

  • This page provides documentation for getting a single inventory item by its ID using an HTTP GET request.

  • The request requires path parameters for profileId, projectId, and id to specify the user profile, project, and inventory item respectively.

  • The request body must be empty, and a successful response will contain an instance of an InventoryItem.

  • Authorization is required using the https://www.googleapis.com/auth/dfatrafficking OAuth scope.

Gets one inventory item by ID.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/projects/{projectId}/inventoryItems/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

projectId

string (int64 format)

Project ID for order documents.

id

string (int64 format)

Inventory item ID.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of InventoryItem.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking