account | DynamicAccount | Yes | - | Select the Merchant Center account that owns the products. |
update_type | string or SelectableOption | Yes | - | Choose whether to update one product’s inventory or many at once. Options: single or bulk. |
product_id | string or SelectItem | No | - | Product identifier in the form contentLanguagefeedLabelofferId, for example enUSsku123. Required for single mode. |
inventory | object or string | No | - | Official Google Merchant API LocalInventory body as an object or JSON string, sent as-is. Keys: storeCode (Business Profile store code) and localInventoryAttributes with price/salePrice ({amountMicros, currencyCode}), salePriceEffectiveDate, availability, quantity, pickupMethod, and pickupSla. Inserting for an existing storeCode replaces the entry. Example: {“storeCode”: “123456”, “localInventoryAttributes”: {“price”: {“amountMicros”: “33450000”, “currencyCode”: “USD”}, “availability”: “IN_STOCK”, “quantity”: “10”}}. Required for single mode. |
structured_data | array (also accepts a comma-separated string) | No | - | Use only when update_type is bulk. A list of up to 200 rows, each with product_id and inventory (the official LocalInventory body). |
return_detailed_results | boolean | No | False | Bulk mode only. If true, returns per-row results and does not raise on partial failures. |