Content API for Shopping
- URL
-
https://shoppingcontent.googleapis.com/content/v2.1 - Docs
- https://developers.google.com/shopping-content/reference/rest/v2.1
Authorization: Bearer <credential> Create or use a Google Cloud project in Google Cloud Console, enable the Content API for Shopping / Merchant Center API as needed, then create OAuth client credentials in APIs & Services > Credentials. Use Google's OAuth 2.0 flow to obtain an access token for a Google account that has access to the Merchant Center account, as described in OAuth authorization for Content API for Shopping.
Create a service account in Google Cloud Console, grant it access to the Merchant Center account as described in Using service accounts, then use the service account key / workload identity to mint Google OAuth 2.0 access tokens for API calls.
?key=<credential> In Google Cloud Console, open APIs & Services > Credentials for your project and create an API key. The discovery document for this API says the key query parameter is required unless you provide an OAuth 2.0 token.