Skip to content

Commit eca619a

Browse files
feat(merchantapi): update the api
#### merchantapi:products_v1beta The following keys were added: - schemas.LoyaltyProgram.properties.memberPriceEffectiveDate.$ref (Total Keys: 1)
1 parent 886359d commit eca619a

6 files changed

+29
-9
lines changed

docs/dyn/merchantapi_accounts_v1beta.accounts.termsOfServiceAgreementStates.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ <h3>Method Details</h3>
9494
<pre>Returns the state of a terms of service agreement.
9595

9696
Args:
97-
name: string, Required. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` (required)
97+
name: string, Required. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` (required)
9898
x__xgafv: string, V1 error format.
9999
Allowed values
100100
1 - v1 error format
@@ -113,7 +113,7 @@ <h3>Method Details</h3>
113113
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
114114
},
115115
},
116-
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`
116+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-US`
117117
&quot;regionCode&quot;: &quot;A String&quot;, # Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.
118118
&quot;required&quot;: { # Describes the terms of service which are required to be accepted. # The required terms of service
119119
&quot;termsOfService&quot;: &quot;A String&quot;, # The [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) that need to be accepted.
@@ -147,7 +147,7 @@ <h3>Method Details</h3>
147147
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
148148
},
149149
},
150-
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`
150+
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-US`
151151
&quot;regionCode&quot;: &quot;A String&quot;, # Region code as defined by https://cldr.unicode.org/. This is the country the current state applies to.
152152
&quot;required&quot;: { # Describes the terms of service which are required to be accepted. # The required terms of service
153153
&quot;termsOfService&quot;: &quot;A String&quot;, # The [termsOfService](google.shopping.merchant.accounts.v1main.TermsOfService) that need to be accepted.

docs/dyn/merchantapi_products_v1beta.accounts.productInputs.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ <h3>Method Details</h3>
237237
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
238238
},
239239
&quot;loyaltyPoints&quot;: &quot;A String&quot;, # The amount of loyalty points earned on a purchase.
240+
&quot;memberPriceEffectiveDate&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
241+
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
242+
&quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
243+
},
240244
&quot;price&quot;: { # The price represented as a number and currency. # The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price.
241245
&quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
242246
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
@@ -532,6 +536,10 @@ <h3>Method Details</h3>
532536
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
533537
},
534538
&quot;loyaltyPoints&quot;: &quot;A String&quot;, # The amount of loyalty points earned on a purchase.
539+
&quot;memberPriceEffectiveDate&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
540+
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
541+
&quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
542+
},
535543
&quot;price&quot;: { # The price represented as a number and currency. # The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price.
536544
&quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
537545
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).

docs/dyn/merchantapi_products_v1beta.accounts.products.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,10 @@ <h3>Method Details</h3>
226226
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
227227
},
228228
&quot;loyaltyPoints&quot;: &quot;A String&quot;, # The amount of loyalty points earned on a purchase.
229+
&quot;memberPriceEffectiveDate&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
230+
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
231+
&quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
232+
},
229233
&quot;price&quot;: { # The price represented as a number and currency. # The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price.
230234
&quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
231235
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
@@ -566,6 +570,10 @@ <h3>Method Details</h3>
566570
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).
567571
},
568572
&quot;loyaltyPoints&quot;: &quot;A String&quot;, # The amount of loyalty points earned on a purchase.
573+
&quot;memberPriceEffectiveDate&quot;: { # Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time. # A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash.
574+
&quot;endTime&quot;: &quot;A String&quot;, # Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
575+
&quot;startTime&quot;: &quot;A String&quot;, # Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
576+
},
569577
&quot;price&quot;: { # The price represented as a number and currency. # The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price.
570578
&quot;amountMicros&quot;: &quot;A String&quot;, # The price represented as a number in micros (1 million micros is an equivalent to one&#x27;s currency standard unit, for example, 1 USD = 1000000 micros).
571579
&quot;currencyCode&quot;: &quot;A String&quot;, # The currency of the price using three-letter acronyms according to [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217).

googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@
11531153
],
11541154
"parameters": {
11551155
"name": {
1156-
"description": "Required. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`",
1156+
"description": "Required. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}`",
11571157
"location": "path",
11581158
"pattern": "^accounts/[^/]+/termsOfServiceAgreementStates/[^/]+$",
11591159
"required": true,
@@ -1453,7 +1453,7 @@
14531453
}
14541454
}
14551455
},
1456-
"revision": "20240709",
1456+
"revision": "20240719",
14571457
"rootUrl": "https://merchantapi.googleapis.com/",
14581458
"schemas": {
14591459
"AcceptTermsOfService": {
@@ -3358,7 +3358,7 @@ false
33583358
"description": "The accepted terms of service of this kind and for the associated region_code"
33593359
},
33603360
"name": {
3361-
"description": "Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}`",
3361+
"description": "Identifier. The resource name of the terms of service version. Format: `accounts/{account}/termsOfServiceAgreementState/{identifier}` The identifier format is: `{TermsOfServiceKind}-{country}` For example, an identifier could be: `MERCHANT_CENTER-US`",
33623362
"type": "string"
33633363
},
33643364
"regionCode": {

googleapiclient/discovery_cache/documents/merchantapi.datasources_v1beta.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@
290290
}
291291
}
292292
},
293-
"revision": "20240614",
293+
"revision": "20240719",
294294
"rootUrl": "https://merchantapi.googleapis.com/",
295295
"schemas": {
296296
"DataSource": {
@@ -526,7 +526,7 @@
526526
"Not specified.",
527527
"Online product.",
528528
"Local product.",
529-
"Unified data source for both local and online products."
529+
"Unified data source for both local and online products. Note: Products management through the API is not possible for this channel."
530530
],
531531
"type": "string"
532532
},

googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
}
243243
}
244244
},
245-
"revision": "20240614",
245+
"revision": "20240719",
246246
"rootUrl": "https://merchantapi.googleapis.com/",
247247
"schemas": {
248248
"Attributes": {
@@ -1085,6 +1085,10 @@ false
10851085
"format": "int64",
10861086
"type": "string"
10871087
},
1088+
"memberPriceEffectiveDate": {
1089+
"$ref": "Interval",
1090+
"description": "A date range during which the item is eligible for member price. If not specified, the member price is always applicable. The date range is represented by a pair of ISO 8601 dates separated by a space, comma, or slash."
1091+
},
10881092
"price": {
10891093
"$ref": "Price",
10901094
"description": "The price for members of the given tier, that is, the instant discount price. Must be smaller or equal to the regular price."

0 commit comments

Comments
 (0)