- HTTP request
- Request body
- Response body
- Authorization scopes
- DatafeedstatusesCustomBatchRequest
- DatafeedstatusesCustomBatchRequestEntry
- DatafeedstatusesCustomBatchResponseEntry
- Try it!
Gets multiple Merchant Center datafeed statuses in a single request.
HTTP request
POST https://shoppingcontent.googleapis.com/content/v2.1/datafeedstatuses/batch
Request body
The request body contains an instance of DatafeedstatusesCustomBatchRequest
.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"entries": [
{
object ( |
Fields | |
---|---|
entries[] |
The result of the execution of the batch requests. |
kind |
Identifies what kind of resource this is. Value: the fixed string " |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
DatafeedstatusesCustomBatchRequest
JSON representation |
---|
{
"entries": [
{
object ( |
Fields | |
---|---|
entries[] |
The request entries to be processed in the batch. |
DatafeedstatusesCustomBatchRequestEntry
A batch entry encoding a single non-batch datafeedstatuses request.
JSON representation |
---|
{ "batchId": integer, "merchantId": string, "method": string, "datafeedId": string, "country": string, "feedLabel": string, "language": string } |
Fields | |
---|---|
batch |
An entry ID, unique within the batch request. |
merchant |
The ID of the managing account. |
method |
The method of the batch entry. Acceptable values are:
|
datafeed |
The ID of the data feed to get. |
country |
Deprecated. Use The country to get the datafeed status for. If this parameter is provided, then |
feed |
The feed label to get the datafeed status for. If this parameter is provided, then |
language |
The language to get the datafeed status for. If this parameter is provided then |
DatafeedstatusesCustomBatchResponseEntry
A batch entry encoding a single non-batch datafeedstatuses response.
JSON representation |
---|
{ "batchId": integer, "datafeedStatus": { object ( |
Fields | |
---|---|
batch |
The ID of the request entry this entry responds to. |
datafeed |
The requested data feed status. Defined if and only if the request was successful. |
errors |
A list of errors for failed custombatch entries. |