Merchant API

Programmatically manage your Merchant Center accounts.

Service: merchantapi.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://merchantapi.googleapis.com

REST Resource: reports_v1beta.accounts.reports

Methods
search POST /reports/v1beta/{parent=accounts/*}/reports:search
Retrieves a report defined by a search query.

REST Resource: quota_v1beta.accounts.quotas

Methods
list GET /quota/v1beta/{parent=accounts/*}/quotas
Lists the daily call quota and usage per group for your Merchant Center account.

REST Resource: notifications_v1beta.accounts.notificationsubscriptions

Methods
create POST /notifications/v1beta/{parent=accounts/*}/notificationsubscriptions
Creates a notification subscription for a merchant.
delete DELETE /notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
Deletes a notification subscription for a merchant.
get GET /notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
Retrieves notification subscriptions for a merchant.
list GET /notifications/v1beta/{parent=accounts/*}/notificationsubscriptions
Gets all notification subscriptions for a merchant.
patch PATCH /notifications/v1beta/{notificationSubscription.name=accounts/*/notificationsubscriptions/*}
Updates an existing notification subscription for a merchant.

REST Resource: inventories_v1beta.accounts.products.localInventories

Methods
delete DELETE /inventories/v1beta/{name=accounts/*/products/*/localInventories/*}
Deletes the specified LocalInventory from the given product in your merchant account.
insert POST /inventories/v1beta/{parent=accounts/*/products/*}/localInventories:insert
Inserts a LocalInventory resource to a product in your merchant account.
list GET /inventories/v1beta/{parent=accounts/*/products/*}/localInventories
Lists the LocalInventory resources for the given product in your merchant account.

REST Resource: inventories_v1beta.accounts.products.regionalInventories

Methods
delete DELETE /inventories/v1beta/{name=accounts/*/products/*/regionalInventories/*}
Deletes the specified RegionalInventory resource from the given product in your merchant account.
insert POST /inventories/v1beta/{parent=accounts/*/products/*}/regionalInventories:insert
Inserts a RegionalInventory to a given product in your merchant account.
list GET /inventories/v1beta/{parent=accounts/*/products/*}/regionalInventories
Lists the RegionalInventory resources for the given product in your merchant account.