- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- QuotaGroup
- MethodDetails
- Try it!
Lists the daily call quota and usage per group for your Merchant Center account.
HTTP request
GET https://merchantapi.googleapis.com/quota/v1beta/{parent=accounts/*}/quotas
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The merchant account who owns the collection of method quotas Format: accounts/{account} |
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of quotas to return in the response, used for paging. Defaults to 500; values above 1000 will be coerced to 1000. |
page |
Optional. Token (if provided) to retrieve the subsequent page. All other parameters must match the original call that provided the page token. |
Request body
The request body must be empty.
Response body
Response message for the ListMethodGroups method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"quotaGroups": [
{
object ( |
Fields | |
---|---|
quota |
The methods, current quota usage and limits per each group. The quota is shared between all methods in the group. The groups are sorted in descending order based on |
next |
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.
QuotaGroup
The group information for methods in the Merchant API. The quota is shared between all methods in the group. Even if none of the methods within the group have usage the information for the group is returned.
JSON representation |
---|
{
"name": string,
"quotaUsage": string,
"quotaLimit": string,
"quotaMinuteLimit": string,
"methodDetails": [
{
object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the quota group. Format: accounts/{account}/quotas/{group} Note: There is no guarantee on the format of {group} |
quota |
Output only. The current quota usage, meaning the number of calls already made on a given day to the methods in the group. The daily quota limits reset at at 12:00 PM midday UTC. |
quota |
Output only. The maximum number of calls allowed per day for the group. |
quota |
Output only. The maximum number of calls allowed per minute for the group. |
method |
Output only. List of all methods group quota applies to. |
MethodDetails
The method details per method in the Merchant API.
JSON representation |
---|
{ "method": string, "version": string, "subapi": string, "path": string } |
Fields | |
---|---|
method |
Output only. The name of the method for example |
version |
Output only. The API version that the method belongs to. |
subapi |
Output only. The sub-API that the method belongs to. |
path |
Output only. The path for the method such as |