Resource: CollectionStatus
The collectionstatus message.
JSON representation |
---|
{ "id": string, "destinationStatuses": [ { object ( |
Fields | |
---|---|
id |
Required. The ID of the collection for which status is reported. |
destination |
The intended destinations for the collection. |
creation |
Date on which the collection has been created in ISO 8601 format: Date, time, and offset, for example "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z" |
last |
Date on which the collection has been last updated in ISO 8601 format: Date, time, and offset, for example "2020-01-02T09:00:00+01:00" or "2020-01-02T09:00:00Z" |
collection |
A list of all issues associated with the collection. |
DestinationStatus
Destination status message.
JSON representation |
---|
{ "destination": string, "status": string, "approvedCountries": [ string ], "pendingCountries": [ string ], "disapprovedCountries": [ string ] } |
Fields | |
---|---|
destination |
The name of the destination |
status |
The status for the specified destination in the collections target country. |
approved |
Country codes (ISO 3166-1 alpha-2) where the collection is approved. |
pending |
Country codes (ISO 3166-1 alpha-2) where the collection is pending approval. |
disapproved |
Country codes (ISO 3166-1 alpha-2) where the collection is disapproved. |
ItemLevelIssue
Issue associated with the collection.
JSON representation |
---|
{ "code": string, "servability": string, "resolution": string, "attributeName": string, "destination": string, "description": string, "detail": string, "documentation": string, "applicableCountries": [ string ] } |
Fields | |
---|---|
code |
The error code of the issue. |
servability |
How this issue affects the serving of the collection. |
resolution |
Whether the issue can be resolved by the merchant. |
attribute |
The attribute's name, if the issue is caused by a single attribute. |
destination |
The destination the issue applies to. |
description |
A short issue description in English. |
detail |
A detailed issue description in English. |
documentation |
The URL of a web page to help with resolving this issue. |
applicable |
Country codes (ISO 3166-1 alpha-2) where issue applies to the offer. |
Methods |
|
---|---|
|
Gets the status of a collection from your Merchant Center account. |
|
Lists the statuses of the collections in your Merchant Center account. |