localinventory
POST /{merchantId}/products/{productId}/localinventory
Updates the local inventory of a product in your Merchant Center account.
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
The ID of the account that contains the product. This account cannot be a multi-client account.
productIdstring required
The REST ID of the product for which to update local inventory.
Request body
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.