You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/merchantapi-accounts_v1beta.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1476,7 +1476,7 @@
1476
1476
}
1477
1477
}
1478
1478
},
1479
-
"revision": "20250311",
1479
+
"revision": "20250317",
1480
1480
"rootUrl": "https://merchantapi.googleapis.com/",
1481
1481
"schemas": {
1482
1482
"Accepted": {
@@ -2651,7 +2651,7 @@
2651
2651
},
2652
2652
"policy": {
2653
2653
"$ref": "Policy",
2654
-
"description": "The return policy."
2654
+
"description": "Optional. The return policy."
2655
2655
},
2656
2656
"processRefundDays": {
2657
2657
"description": "The field specifies the number of days it takes for merchants to process refunds, field is optional.",
@@ -2660,7 +2660,7 @@
2660
2660
},
2661
2661
"restockingFee": {
2662
2662
"$ref": "RestockingFee",
2663
-
"description": "The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set."
2663
+
"description": "Optional. The restocking fee that applies to all return reason categories. This would be treated as a free restocking fee if the value is not set."
2664
2664
},
2665
2665
"returnMethods": {
2666
2666
"description": "Optional. The return methods of how customers can return an item. This value is required to not be empty unless the type of return policy is noReturns.",
Copy file name to clipboardExpand all lines: discovery/merchantapi-products_v1beta.json
+40-1Lines changed: 40 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,45 @@
171
171
"scopes": [
172
172
"https://www.googleapis.com/auth/content"
173
173
]
174
+
},
175
+
"patch": {
176
+
"description": "Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.",
"description": "Required. The primary or supplemental product data source where `data_source` name identifies the product input to be updated. Only API data sources are supported. Format: `accounts/{account}/dataSources/{datasource}`.",
186
+
"location": "query",
187
+
"type": "string"
188
+
},
189
+
"name": {
190
+
"description": "Identifier. The name of the product input. Format: `\"{productinput.name=accounts/{account}/productInputs/{productinput}}\"` where the last section `productinput` consists of 4 parts: channel~content_language~feed_label~offer_id example for product input name is \"accounts/123/productInputs/online~en~US~sku123\"",
"description": "Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special \"*\" value for full product replacement is not supported.",
* Updates the existing product input in your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.
1369
+
*
1370
+
* @param params - Parameters for request
1371
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
1372
+
* @param callback - Optional callback that handles the response.
1373
+
* @returns A promise if used with async/await, or void if used with a callback.
* Required. The primary or supplemental product data source where `data_source` name identifies the product input to be updated. Only API data sources are supported. Format: `accounts/{account\}/dataSources/{datasource\}`.
1487
+
*/
1488
+
dataSource?: string;
1489
+
/**
1490
+
* Identifier. The name of the product input. Format: `"{productinput.name=accounts/{account\}/productInputs/{productinput\}\}"` where the last section `productinput` consists of 4 parts: channel~content_language~feed_label~offer_id example for product input name is "accounts/123/productInputs/online~en~US~sku123"
1491
+
*/
1492
+
name?: string;
1493
+
/**
1494
+
* Optional. The list of product attributes to be updated. If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value). Attributes specified in the update mask without a value specified in the body will be deleted from the product. Update mask can only be specified for top level fields in attributes and custom attributes. To specify the update mask for custom attributes you need to add the `custom_attribute.` prefix. Providing special "*" value for full product replacement is not supported.
0 commit comments