collections
POST /{merchantId}/collections
Uploads a collection to your Merchant Center account. If a collection with the same collectionId already exists, this method updates that entry. In each update, the collection is completely replaced by the fields in the body of the update request.
Request
- Base URLhttps://shoppingcontent.googleapis.com/content/v2.1
- AuthOAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/contentAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/content
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
merchantIdstring required
Required. The ID of the account that contains the collection. This account cannot be a multi-client account.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.