- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the LocalInventory resources for the given product in your merchant account. The response might contain fewer items than specified by pageSize. If pageToken was returned in previous request, it can be used to obtain additional results.
LocalInventory resources are listed per product for a given account.
HTTP request
GET https://merchantapi.googleapis.com/inventories/v1/{parent=accounts/*/products/*}/localInventories
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The |
Query parameters
| Parameters | |
|---|---|
pageSize |
The maximum number of |
pageToken |
A page token, received from a previous When paginating, all other parameters provided to |
Request body
The request body must be empty.
Response body
Response message for the localInventories.list method.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"localInventories": [
{
object ( |
| Fields | |
|---|---|
localInventories[] |
The |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.