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: docs/dyn/merchantapi_accounts_v1beta.accounts.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ <h3>Method Details</h3>
198
198
"users": [ # Optional. Users to be added to the account.
199
199
{ # Request message for the `CreateUser` method.
200
200
"parent": "A String", # Required. The resource name of the account for which a user will be created. Format: `accounts/{account}`
201
-
"user": { # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472). # Required. The user to create.
201
+
"user": { # The `User` message represents a user associated with a Merchant Center account. It is used to manage user permissions and access rights within the account. For more information, see [Frequently asked questions about people and access levels](//support.google.com/merchants/answer/12160472). # Optional. The user to create.
202
202
"accessRights": [ # Optional. The [access rights](https://support.google.com/merchants/answer/12160472?sjid=6789834943175119429-EU#accesstypes) the user has.
Copy file name to clipboardExpand all lines: docs/dyn/merchantapi_accounts_v1beta.accounts.onlineReturnPolicies.html
+38Lines changed: 38 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,6 +141,25 @@ <h3>Method Details</h3>
141
141
},
142
142
"type": "A String", # Required. Type of return shipping fee.
143
143
},
144
+
"seasonalOverrides": [ # Optional. Overrides to the general policy for orders placed during a specific set of time intervals.
145
+
{ # Next: 5
146
+
"begin": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. Defines the date range when this seasonal override applies. Both begin and end are inclusive and should be in date decimal format, example 20250115. The dates of the seasonal overrides should not overlap.
147
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
148
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
149
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
150
+
},
151
+
"end": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. seasonal override end date (inclusive).
152
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
153
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
154
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
155
+
},
156
+
"label": "A String", # Required. Display name of this seasonal override in Merchant Center.
157
+
"policy": { # The available policies. # Required. The return policy for the given date range.
158
+
"days": "A String", # The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.
"type": "A String", # Required. Type of return shipping fee.
200
219
},
220
+
"seasonalOverrides": [ # Optional. Overrides to the general policy for orders placed during a specific set of time intervals.
221
+
{ # Next: 5
222
+
"begin": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. Defines the date range when this seasonal override applies. Both begin and end are inclusive and should be in date decimal format, example 20250115. The dates of the seasonal overrides should not overlap.
223
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
224
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
225
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
226
+
},
227
+
"end": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Required. seasonal override end date (inclusive).
228
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
229
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
230
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
231
+
},
232
+
"label": "A String", # Required. Display name of this seasonal override in Merchant Center.
233
+
"policy": { # The available policies. # Required. The return policy for the given date range.
234
+
"days": "A String", # The number of days items can be returned after delivery, where one day is defined as 24 hours after the delivery timestamp. Required for `NUMBER_OF_DAYS_AFTER_DELIVERY` returns.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json
+32-2Lines changed: 32 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1417,7 +1417,7 @@
1417
1417
}
1418
1418
}
1419
1419
},
1420
-
"revision": "20241210",
1420
+
"revision": "20250115",
1421
1421
"rootUrl": "https://merchantapi.googleapis.com/",
1422
1422
"schemas": {
1423
1423
"Accepted": {
@@ -1790,7 +1790,7 @@
1790
1790
},
1791
1791
"user": {
1792
1792
"$ref": "User",
1793
-
"description": "Required. The user to create."
1793
+
"description": "Optional. The user to create."
1794
1794
},
1795
1795
"userId": {
1796
1796
"description": "Required. The email address of the user (for example, `[email protected]`).",
@@ -2493,6 +2493,13 @@ false
2493
2493
"returnShippingFee": {
2494
2494
"$ref": "ReturnShippingFee",
2495
2495
"description": "The return shipping fee. Should be set only when customer need to download and print the return label."
2496
+
},
2497
+
"seasonalOverrides": {
2498
+
"description": "Optional. Overrides to the general policy for orders placed during a specific set of time intervals.",
2499
+
"items": {
2500
+
"$ref": "SeasonalOverride"
2501
+
},
2502
+
"type": "array"
2496
2503
}
2497
2504
},
2498
2505
"type": "object"
@@ -3010,6 +3017,29 @@ false
3010
3017
},
3011
3018
"type": "object"
3012
3019
},
3020
+
"SeasonalOverride": {
3021
+
"description": "Next: 5",
3022
+
"id": "SeasonalOverride",
3023
+
"properties": {
3024
+
"begin": {
3025
+
"$ref": "Date",
3026
+
"description": "Required. Defines the date range when this seasonal override applies. Both begin and end are inclusive and should be in date decimal format, example 20250115. The dates of the seasonal overrides should not overlap."
3027
+
},
3028
+
"end": {
3029
+
"$ref": "Date",
3030
+
"description": "Required. seasonal override end date (inclusive)."
3031
+
},
3032
+
"label": {
3033
+
"description": "Required. Display name of this seasonal override in Merchant Center.",
3034
+
"type": "string"
3035
+
},
3036
+
"policy": {
3037
+
"$ref": "Policy",
3038
+
"description": "Required. The return policy for the given date range."
0 commit comments