google-apis-content_v2_1 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/content_v2_1/classes.rb +3 -2
- data/lib/google/apis/content_v2_1/gem_version.rb +2 -2
- data/lib/google/apis/content_v2_1/service.rb +149 -149
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: febcf98eb3cb969f059dc65244490f060c4278613dbd6fd7497a83068d3ded82
|
|
4
|
+
data.tar.gz: d3f20f7250afa7446abc37ad43be65033fa5b970ac16ef5ad074fa3adf144aa4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eae053c5888512bf3d6febc3a0bbf58d7b48d02fb9bab937cbbd46aae5f3f80561e5123d2605962eea0f559af4f3fabf96f60af836e9e66986210feb5306e7e
|
|
7
|
+
data.tar.gz: 4c072c6baf2859d74f81e7bb389b5f6ffc5b26b72ad4383fc97291fc779c2faa16e763aa1777bbe042572b915300807e906cc89efde8393ffe29532c20d900ac
|
data/CHANGELOG.md
CHANGED
|
@@ -13250,7 +13250,8 @@ module Google
|
|
|
13250
13250
|
# qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
|
|
13251
13251
|
# transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
|
|
13252
13252
|
# wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
|
|
13253
|
-
#
|
|
13253
|
+
# issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
|
|
13254
|
+
# "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`"
|
|
13254
13255
|
# Corresponds to the JSON property `description`
|
|
13255
13256
|
# @return [String]
|
|
13256
13257
|
attr_accessor :description
|
|
@@ -13262,7 +13263,7 @@ module Google
|
|
|
13262
13263
|
|
|
13263
13264
|
# The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
|
|
13264
13265
|
# - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
|
|
13265
|
-
# returnLabelShippingFeeAmount`"
|
|
13266
|
+
# returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
|
|
13266
13267
|
# Corresponds to the JSON property `type`
|
|
13267
13268
|
# @return [String]
|
|
13268
13269
|
attr_accessor :type
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ContentV2_1
|
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.8.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20210311"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -43,7 +43,7 @@ module Google
|
|
|
43
43
|
attr_accessor :quota_user
|
|
44
44
|
|
|
45
45
|
def initialize
|
|
46
|
-
super('https://shoppingcontent.googleapis.com/', '',
|
|
46
|
+
super('https://shoppingcontent.googleapis.com/', 'content/v2.1/',
|
|
47
47
|
client_name: 'google-apis-content_v2_1',
|
|
48
48
|
client_version: Google::Apis::ContentV2_1::GEM_VERSION)
|
|
49
49
|
@batch_path = 'batch'
|
|
@@ -68,7 +68,7 @@ module Google
|
|
|
68
68
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
69
69
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
70
70
|
def authinfo_account(fields: nil, quota_user: nil, options: nil, &block)
|
|
71
|
-
command = make_simple_command(:get, '
|
|
71
|
+
command = make_simple_command(:get, 'accounts/authinfo', options)
|
|
72
72
|
command.response_representation = Google::Apis::ContentV2_1::AccountsAuthInfoResponse::Representation
|
|
73
73
|
command.response_class = Google::Apis::ContentV2_1::AccountsAuthInfoResponse
|
|
74
74
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -105,7 +105,7 @@ module Google
|
|
|
105
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
106
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
107
107
|
def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
108
|
-
command = make_simple_command(:post, '
|
|
108
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
|
|
109
109
|
command.response_representation = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse::Representation
|
|
110
110
|
command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
|
|
111
111
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -137,7 +137,7 @@ module Google
|
|
|
137
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
138
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
139
139
|
def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
140
|
-
command = make_simple_command(:post, '
|
|
140
|
+
command = make_simple_command(:post, 'accounts/batch', options)
|
|
141
141
|
command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation
|
|
142
142
|
command.request_object = accounts_custom_batch_request_object
|
|
143
143
|
command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation
|
|
@@ -173,7 +173,7 @@ module Google
|
|
|
173
173
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
174
174
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
175
175
|
def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
176
|
-
command = make_simple_command(:delete, '
|
|
176
|
+
command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
|
|
177
177
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
178
178
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
179
179
|
command.query['force'] = force unless force.nil?
|
|
@@ -210,7 +210,7 @@ module Google
|
|
|
210
210
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
211
211
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
212
212
|
def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
213
|
-
command = make_simple_command(:get, '
|
|
213
|
+
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
|
|
214
214
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
215
215
|
command.response_class = Google::Apis::ContentV2_1::Account
|
|
216
216
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -243,7 +243,7 @@ module Google
|
|
|
243
243
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
244
244
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
245
245
|
def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
246
|
-
command = make_simple_command(:post, '
|
|
246
|
+
command = make_simple_command(:post, '{merchantId}/accounts', options)
|
|
247
247
|
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
248
248
|
command.request_object = account_object
|
|
249
249
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
@@ -281,7 +281,7 @@ module Google
|
|
|
281
281
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
282
282
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
283
283
|
def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
284
|
-
command = make_simple_command(:post, '
|
|
284
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
|
|
285
285
|
command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
|
|
286
286
|
command.request_object = accounts_link_request_object
|
|
287
287
|
command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
|
|
@@ -324,7 +324,7 @@ module Google
|
|
|
324
324
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
325
325
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
326
326
|
def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
327
|
-
command = make_simple_command(:get, '
|
|
327
|
+
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
|
328
328
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
|
|
329
329
|
command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
|
|
330
330
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -366,7 +366,7 @@ module Google
|
|
|
366
366
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
367
367
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
368
368
|
def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
369
|
-
command = make_simple_command(:get, '
|
|
369
|
+
command = make_simple_command(:get, '{merchantId}/accounts/{accountId}/listlinks', options)
|
|
370
370
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation
|
|
371
371
|
command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse
|
|
372
372
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -405,7 +405,7 @@ module Google
|
|
|
405
405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
406
406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
407
407
|
def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
408
|
-
command = make_simple_command(:put, '
|
|
408
|
+
command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
|
|
409
409
|
command.request_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
410
410
|
command.request_object = account_object
|
|
411
411
|
command.response_representation = Google::Apis::ContentV2_1::Account::Representation
|
|
@@ -441,7 +441,7 @@ module Google
|
|
|
441
441
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
442
442
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
443
443
|
def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
444
|
-
command = make_simple_command(:post, '
|
|
444
|
+
command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/updatelabels', options)
|
|
445
445
|
command.request_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest::Representation
|
|
446
446
|
command.request_object = accounts_update_labels_request_object
|
|
447
447
|
command.response_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse::Representation
|
|
@@ -476,7 +476,7 @@ module Google
|
|
|
476
476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
477
477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
478
478
|
def create_account_credential(account_id, account_credentials_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
479
|
-
command = make_simple_command(:post, '
|
|
479
|
+
command = make_simple_command(:post, 'accounts/{accountId}/credentials', options)
|
|
480
480
|
command.request_representation = Google::Apis::ContentV2_1::AccountCredentials::Representation
|
|
481
481
|
command.request_object = account_credentials_object
|
|
482
482
|
command.response_representation = Google::Apis::ContentV2_1::AccountCredentials::Representation
|
|
@@ -509,7 +509,7 @@ module Google
|
|
|
509
509
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
510
510
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
511
511
|
def create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
512
|
-
command = make_simple_command(:post, '
|
|
512
|
+
command = make_simple_command(:post, 'accounts/{accountId}/labels', options)
|
|
513
513
|
command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
|
514
514
|
command.request_object = account_label_object
|
|
515
515
|
command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
|
@@ -543,7 +543,7 @@ module Google
|
|
|
543
543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
544
544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
545
545
|
def delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
546
|
-
command = make_simple_command(:delete, '
|
|
546
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/labels/{labelId}', options)
|
|
547
547
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
548
548
|
command.params['labelId'] = label_id unless label_id.nil?
|
|
549
549
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -581,7 +581,7 @@ module Google
|
|
|
581
581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
582
582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
583
583
|
def list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
584
|
-
command = make_simple_command(:get, '
|
|
584
|
+
command = make_simple_command(:get, 'accounts/{accountId}/labels', options)
|
|
585
585
|
command.response_representation = Google::Apis::ContentV2_1::ListAccountLabelsResponse::Representation
|
|
586
586
|
command.response_class = Google::Apis::ContentV2_1::ListAccountLabelsResponse
|
|
587
587
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -616,7 +616,7 @@ module Google
|
|
|
616
616
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
617
617
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
618
618
|
def patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
619
|
-
command = make_simple_command(:patch, '
|
|
619
|
+
command = make_simple_command(:patch, 'accounts/{accountId}/labels/{labelId}', options)
|
|
620
620
|
command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
|
621
621
|
command.request_object = account_label_object
|
|
622
622
|
command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
|
|
@@ -651,7 +651,7 @@ module Google
|
|
|
651
651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
652
652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
653
653
|
def create_account_returncarrier(account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
654
|
-
command = make_simple_command(:post, '
|
|
654
|
+
command = make_simple_command(:post, 'accounts/{accountId}/returncarrier', options)
|
|
655
655
|
command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
|
|
656
656
|
command.request_object = account_return_carrier_object
|
|
657
657
|
command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
|
|
@@ -686,7 +686,7 @@ module Google
|
|
|
686
686
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
687
687
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
688
688
|
def delete_account_returncarrier(account_id, carrier_account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
689
|
-
command = make_simple_command(:delete, '
|
|
689
|
+
command = make_simple_command(:delete, 'accounts/{accountId}/returncarrier/{carrierAccountId}', options)
|
|
690
690
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
691
691
|
command.params['carrierAccountId'] = carrier_account_id unless carrier_account_id.nil?
|
|
692
692
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -716,7 +716,7 @@ module Google
|
|
|
716
716
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
717
717
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
718
718
|
def list_account_returncarriers(account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
719
|
-
command = make_simple_command(:get, '
|
|
719
|
+
command = make_simple_command(:get, 'accounts/{accountId}/returncarrier', options)
|
|
720
720
|
command.response_representation = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse::Representation
|
|
721
721
|
command.response_class = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse
|
|
722
722
|
command.params['accountId'] = account_id unless account_id.nil?
|
|
@@ -750,7 +750,7 @@ module Google
|
|
|
750
750
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
751
751
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
752
752
|
def patch_account_returncarrier(account_id, carrier_account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
753
|
-
command = make_simple_command(:patch, '
|
|
753
|
+
command = make_simple_command(:patch, 'accounts/{accountId}/returncarrier/{carrierAccountId}', options)
|
|
754
754
|
command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
|
|
755
755
|
command.request_object = account_return_carrier_object
|
|
756
756
|
command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
|
|
@@ -782,7 +782,7 @@ module Google
|
|
|
782
782
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
783
783
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
784
784
|
def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
785
|
-
command = make_simple_command(:post, '
|
|
785
|
+
command = make_simple_command(:post, 'accountstatuses/batch', options)
|
|
786
786
|
command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
|
|
787
787
|
command.request_object = accountstatuses_custom_batch_request_object
|
|
788
788
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
|
|
@@ -821,7 +821,7 @@ module Google
|
|
|
821
821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
822
822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
823
823
|
def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
824
|
-
command = make_simple_command(:get, '
|
|
824
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
|
|
825
825
|
command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
|
|
826
826
|
command.response_class = Google::Apis::ContentV2_1::AccountStatus
|
|
827
827
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -861,7 +861,7 @@ module Google
|
|
|
861
861
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
862
862
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
863
863
|
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
864
|
-
command = make_simple_command(:get, '
|
|
864
|
+
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
|
865
865
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
|
|
866
866
|
command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
|
|
867
867
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -893,7 +893,7 @@ module Google
|
|
|
893
893
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
894
894
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
895
895
|
def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
896
|
-
command = make_simple_command(:post, '
|
|
896
|
+
command = make_simple_command(:post, 'accounttax/batch', options)
|
|
897
897
|
command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
|
|
898
898
|
command.request_object = accounttax_custom_batch_request_object
|
|
899
899
|
command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
|
|
@@ -928,7 +928,7 @@ module Google
|
|
|
928
928
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
929
929
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
930
930
|
def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
931
|
-
command = make_simple_command(:get, '
|
|
931
|
+
command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
|
|
932
932
|
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
|
933
933
|
command.response_class = Google::Apis::ContentV2_1::AccountTax
|
|
934
934
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -963,7 +963,7 @@ module Google
|
|
|
963
963
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
964
964
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
965
965
|
def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
966
|
-
command = make_simple_command(:get, '
|
|
966
|
+
command = make_simple_command(:get, '{merchantId}/accounttax', options)
|
|
967
967
|
command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
|
|
968
968
|
command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
|
|
969
969
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1001,7 +1001,7 @@ module Google
|
|
|
1001
1001
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1002
1002
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1003
1003
|
def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1004
|
-
command = make_simple_command(:put, '
|
|
1004
|
+
command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
|
|
1005
1005
|
command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
|
1006
1006
|
command.request_object = account_tax_object
|
|
1007
1007
|
command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
|
|
@@ -1037,7 +1037,7 @@ module Google
|
|
|
1037
1037
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1038
1038
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1039
1039
|
def get_buyongoogleprogram(merchant_id, region_code, fields: nil, quota_user: nil, options: nil, &block)
|
|
1040
|
-
command = make_simple_command(:get, '
|
|
1040
|
+
command = make_simple_command(:get, '{merchantId}/buyongoogleprograms/{regionCode}', options)
|
|
1041
1041
|
command.response_representation = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus::Representation
|
|
1042
1042
|
command.response_class = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus
|
|
1043
1043
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1077,7 +1077,7 @@ module Google
|
|
|
1077
1077
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1078
1078
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1079
1079
|
def onboard_buyongoogleprogram_buy_on_google_program(merchant_id, region_code, onboard_buy_on_google_program_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1080
|
-
command = make_simple_command(:post, '
|
|
1080
|
+
command = make_simple_command(:post, '{merchantId}/buyongoogleprograms/{regionCode}/onboard', options)
|
|
1081
1081
|
command.request_representation = Google::Apis::ContentV2_1::OnboardBuyOnGoogleProgramRequest::Representation
|
|
1082
1082
|
command.request_object = onboard_buy_on_google_program_request_object
|
|
1083
1083
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1113,7 +1113,7 @@ module Google
|
|
|
1113
1113
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1114
1114
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1115
1115
|
def create_collection(merchant_id, collection_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1116
|
-
command = make_simple_command(:post, '
|
|
1116
|
+
command = make_simple_command(:post, '{merchantId}/collections', options)
|
|
1117
1117
|
command.request_representation = Google::Apis::ContentV2_1::Collection::Representation
|
|
1118
1118
|
command.request_object = collection_object
|
|
1119
1119
|
command.response_representation = Google::Apis::ContentV2_1::Collection::Representation
|
|
@@ -1149,7 +1149,7 @@ module Google
|
|
|
1149
1149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1150
1150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1151
1151
|
def delete_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1152
|
-
command = make_simple_command(:delete, '
|
|
1152
|
+
command = make_simple_command(:delete, '{merchantId}/collections/{collectionId}', options)
|
|
1153
1153
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1154
1154
|
command.params['collectionId'] = collection_id unless collection_id.nil?
|
|
1155
1155
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1181,7 +1181,7 @@ module Google
|
|
|
1181
1181
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1182
1182
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1183
1183
|
def get_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1184
|
-
command = make_simple_command(:get, '
|
|
1184
|
+
command = make_simple_command(:get, '{merchantId}/collections/{collectionId}', options)
|
|
1185
1185
|
command.response_representation = Google::Apis::ContentV2_1::Collection::Representation
|
|
1186
1186
|
command.response_class = Google::Apis::ContentV2_1::Collection
|
|
1187
1187
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1221,7 +1221,7 @@ module Google
|
|
|
1221
1221
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1222
1222
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1223
1223
|
def list_collections(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1224
|
-
command = make_simple_command(:get, '
|
|
1224
|
+
command = make_simple_command(:get, '{merchantId}/collections', options)
|
|
1225
1225
|
command.response_representation = Google::Apis::ContentV2_1::ListCollectionsResponse::Representation
|
|
1226
1226
|
command.response_class = Google::Apis::ContentV2_1::ListCollectionsResponse
|
|
1227
1227
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1257,7 +1257,7 @@ module Google
|
|
|
1257
1257
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1258
1258
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1259
1259
|
def get_collectionstatus(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1260
|
-
command = make_simple_command(:get, '
|
|
1260
|
+
command = make_simple_command(:get, '{merchantId}/collectionstatuses/{collectionId}', options)
|
|
1261
1261
|
command.response_representation = Google::Apis::ContentV2_1::CollectionStatus::Representation
|
|
1262
1262
|
command.response_class = Google::Apis::ContentV2_1::CollectionStatus
|
|
1263
1263
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1295,7 +1295,7 @@ module Google
|
|
|
1295
1295
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1296
1296
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1297
1297
|
def list_collectionstatuses(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1298
|
-
command = make_simple_command(:get, '
|
|
1298
|
+
command = make_simple_command(:get, '{merchantId}/collectionstatuses', options)
|
|
1299
1299
|
command.response_representation = Google::Apis::ContentV2_1::ListCollectionStatusesResponse::Representation
|
|
1300
1300
|
command.response_class = Google::Apis::ContentV2_1::ListCollectionStatusesResponse
|
|
1301
1301
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1331,7 +1331,7 @@ module Google
|
|
|
1331
1331
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1332
1332
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1333
1333
|
def get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1334
|
-
command = make_simple_command(:get, '
|
|
1334
|
+
command = make_simple_command(:get, '{cssGroupId}/csses/{cssDomainId}', options)
|
|
1335
1335
|
command.response_representation = Google::Apis::ContentV2_1::Css::Representation
|
|
1336
1336
|
command.response_class = Google::Apis::ContentV2_1::Css
|
|
1337
1337
|
command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
|
|
@@ -1370,7 +1370,7 @@ module Google
|
|
|
1370
1370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1371
1371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1372
1372
|
def list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1373
|
-
command = make_simple_command(:get, '
|
|
1373
|
+
command = make_simple_command(:get, '{cssGroupId}/csses', options)
|
|
1374
1374
|
command.response_representation = Google::Apis::ContentV2_1::ListCssesResponse::Representation
|
|
1375
1375
|
command.response_class = Google::Apis::ContentV2_1::ListCssesResponse
|
|
1376
1376
|
command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
|
|
@@ -1405,7 +1405,7 @@ module Google
|
|
|
1405
1405
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1406
1406
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1407
1407
|
def updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1408
|
-
command = make_simple_command(:post, '
|
|
1408
|
+
command = make_simple_command(:post, '{cssGroupId}/csses/{cssDomainId}/updatelabels', options)
|
|
1409
1409
|
command.request_representation = Google::Apis::ContentV2_1::LabelIds::Representation
|
|
1410
1410
|
command.request_object = label_ids_object
|
|
1411
1411
|
command.response_representation = Google::Apis::ContentV2_1::Css::Representation
|
|
@@ -1438,7 +1438,7 @@ module Google
|
|
|
1438
1438
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1439
1439
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1440
1440
|
def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1441
|
-
command = make_simple_command(:post, '
|
|
1441
|
+
command = make_simple_command(:post, 'datafeeds/batch', options)
|
|
1442
1442
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
|
|
1443
1443
|
command.request_object = datafeeds_custom_batch_request_object
|
|
1444
1444
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
|
|
@@ -1472,7 +1472,7 @@ module Google
|
|
|
1472
1472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1473
1473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1474
1474
|
def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1475
|
-
command = make_simple_command(:delete, '
|
|
1475
|
+
command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
1476
1476
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
1477
1477
|
command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
|
|
1478
1478
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1506,7 +1506,7 @@ module Google
|
|
|
1506
1506
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1507
1507
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1508
1508
|
def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1509
|
-
command = make_simple_command(:post, '
|
|
1509
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
|
|
1510
1510
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
|
|
1511
1511
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
|
|
1512
1512
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1540,7 +1540,7 @@ module Google
|
|
|
1540
1540
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1541
1541
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1542
1542
|
def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1543
|
-
command = make_simple_command(:get, '
|
|
1543
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
1544
1544
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
1545
1545
|
command.response_class = Google::Apis::ContentV2_1::Datafeed
|
|
1546
1546
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1573,7 +1573,7 @@ module Google
|
|
|
1573
1573
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1574
1574
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1575
1575
|
def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1576
|
-
command = make_simple_command(:post, '
|
|
1576
|
+
command = make_simple_command(:post, '{merchantId}/datafeeds', options)
|
|
1577
1577
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
1578
1578
|
command.request_object = datafeed_object
|
|
1579
1579
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
@@ -1610,7 +1610,7 @@ module Google
|
|
|
1610
1610
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1611
1611
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1612
1612
|
def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1613
|
-
command = make_simple_command(:get, '
|
|
1613
|
+
command = make_simple_command(:get, '{merchantId}/datafeeds', options)
|
|
1614
1614
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
|
|
1615
1615
|
command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
|
|
1616
1616
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1647,7 +1647,7 @@ module Google
|
|
|
1647
1647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1648
1648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1649
1649
|
def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1650
|
-
command = make_simple_command(:put, '
|
|
1650
|
+
command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
|
|
1651
1651
|
command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
1652
1652
|
command.request_object = datafeed_object
|
|
1653
1653
|
command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
|
|
@@ -1679,7 +1679,7 @@ module Google
|
|
|
1679
1679
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1680
1680
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1681
1681
|
def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1682
|
-
command = make_simple_command(:post, '
|
|
1682
|
+
command = make_simple_command(:post, 'datafeedstatuses/batch', options)
|
|
1683
1683
|
command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
|
|
1684
1684
|
command.request_object = datafeedstatuses_custom_batch_request_object
|
|
1685
1685
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
|
|
@@ -1723,7 +1723,7 @@ module Google
|
|
|
1723
1723
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1724
1724
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1725
1725
|
def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1726
|
-
command = make_simple_command(:get, '
|
|
1726
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
|
|
1727
1727
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
|
|
1728
1728
|
command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
|
|
1729
1729
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1761,7 +1761,7 @@ module Google
|
|
|
1761
1761
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1762
1762
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1763
1763
|
def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1764
|
-
command = make_simple_command(:get, '
|
|
1764
|
+
command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
|
|
1765
1765
|
command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
|
|
1766
1766
|
command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
|
|
1767
1767
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1793,7 +1793,7 @@ module Google
|
|
|
1793
1793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1794
1794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1795
1795
|
def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1796
|
-
command = make_simple_command(:post, '
|
|
1796
|
+
command = make_simple_command(:post, 'liasettings/batch', options)
|
|
1797
1797
|
command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
|
|
1798
1798
|
command.request_object = liasettings_custom_batch_request_object
|
|
1799
1799
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
|
|
@@ -1828,7 +1828,7 @@ module Google
|
|
|
1828
1828
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1829
1829
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1830
1830
|
def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1831
|
-
command = make_simple_command(:get, '
|
|
1831
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
|
|
1832
1832
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
1833
1833
|
command.response_class = Google::Apis::ContentV2_1::LiaSettings
|
|
1834
1834
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1864,7 +1864,7 @@ module Google
|
|
|
1864
1864
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1865
1865
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1866
1866
|
def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
1867
|
-
command = make_simple_command(:get, '
|
|
1867
|
+
command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
|
|
1868
1868
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
|
|
1869
1869
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
|
|
1870
1870
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1899,7 +1899,7 @@ module Google
|
|
|
1899
1899
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1900
1900
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1901
1901
|
def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1902
|
-
command = make_simple_command(:get, '
|
|
1902
|
+
command = make_simple_command(:get, '{merchantId}/liasettings', options)
|
|
1903
1903
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
|
|
1904
1904
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
|
|
1905
1905
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -1930,7 +1930,7 @@ module Google
|
|
|
1930
1930
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1931
1931
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1932
1932
|
def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
|
|
1933
|
-
command = make_simple_command(:get, '
|
|
1933
|
+
command = make_simple_command(:get, 'liasettings/posdataproviders', options)
|
|
1934
1934
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
|
|
1935
1935
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
|
|
1936
1936
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1965,7 +1965,7 @@ module Google
|
|
|
1965
1965
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1966
1966
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1967
1967
|
def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
|
|
1968
|
-
command = make_simple_command(:post, '
|
|
1968
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
|
|
1969
1969
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
|
|
1970
1970
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
|
|
1971
1971
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2004,7 +2004,7 @@ module Google
|
|
|
2004
2004
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2005
2005
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2006
2006
|
def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
|
|
2007
|
-
command = make_simple_command(:post, '
|
|
2007
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
|
|
2008
2008
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
|
|
2009
2009
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
|
|
2010
2010
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2049,7 +2049,7 @@ module Google
|
|
|
2049
2049
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2050
2050
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2051
2051
|
def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
|
|
2052
|
-
command = make_simple_command(:post, '
|
|
2052
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
|
|
2053
2053
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
|
|
2054
2054
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
|
|
2055
2055
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2095,7 +2095,7 @@ module Google
|
|
|
2095
2095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2096
2096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2097
2097
|
def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2098
|
-
command = make_simple_command(:post, '
|
|
2098
|
+
command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
|
|
2099
2099
|
command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
|
|
2100
2100
|
command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
|
|
2101
2101
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2135,7 +2135,7 @@ module Google
|
|
|
2135
2135
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2136
2136
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2137
2137
|
def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2138
|
-
command = make_simple_command(:put, '
|
|
2138
|
+
command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
|
|
2139
2139
|
command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
2140
2140
|
command.request_object = lia_settings_object
|
|
2141
2141
|
command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
|
|
@@ -2167,7 +2167,7 @@ module Google
|
|
|
2167
2167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2168
2168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2169
2169
|
def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2170
|
-
command = make_simple_command(:post, '
|
|
2170
|
+
command = make_simple_command(:post, 'localinventory/batch', options)
|
|
2171
2171
|
command.request_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequest::Representation
|
|
2172
2172
|
command.request_object = localinventory_custom_batch_request_object
|
|
2173
2173
|
command.response_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse::Representation
|
|
@@ -2202,7 +2202,7 @@ module Google
|
|
|
2202
2202
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2203
2203
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2204
2204
|
def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2205
|
-
command = make_simple_command(:post, '
|
|
2205
|
+
command = make_simple_command(:post, '{merchantId}/products/{productId}/localinventory', options)
|
|
2206
2206
|
command.request_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
|
|
2207
2207
|
command.request_object = local_inventory_object
|
|
2208
2208
|
command.response_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
|
|
@@ -2240,7 +2240,7 @@ module Google
|
|
|
2240
2240
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2241
2241
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2242
2242
|
def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2243
|
-
command = make_simple_command(:post, '
|
|
2243
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
|
|
2244
2244
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
|
|
2245
2245
|
command.request_object = orderinvoices_create_charge_invoice_request_object
|
|
2246
2246
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
|
|
@@ -2280,7 +2280,7 @@ module Google
|
|
|
2280
2280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2281
2281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2282
2282
|
def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2283
|
-
command = make_simple_command(:post, '
|
|
2283
|
+
command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
|
|
2284
2284
|
command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
|
|
2285
2285
|
command.request_object = orderinvoices_create_refund_invoice_request_object
|
|
2286
2286
|
command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
|
|
@@ -2323,7 +2323,7 @@ module Google
|
|
|
2323
2323
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2324
2324
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2325
2325
|
def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2326
|
-
command = make_simple_command(:get, '
|
|
2326
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
|
|
2327
2327
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
|
|
2328
2328
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
|
|
2329
2329
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2370,7 +2370,7 @@ module Google
|
|
|
2370
2370
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2371
2371
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2372
2372
|
def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2373
|
-
command = make_simple_command(:get, '
|
|
2373
|
+
command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
|
|
2374
2374
|
command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
|
|
2375
2375
|
command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
|
|
2376
2376
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2409,7 +2409,7 @@ module Google
|
|
|
2409
2409
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2410
2410
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2411
2411
|
def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2412
|
-
command = make_simple_command(:post, '
|
|
2412
|
+
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
|
|
2413
2413
|
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
|
|
2414
2414
|
command.request_object = orderreturns_acknowledge_request_object
|
|
2415
2415
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
|
|
@@ -2444,7 +2444,7 @@ module Google
|
|
|
2444
2444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2445
2445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2446
2446
|
def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2447
|
-
command = make_simple_command(:post, '
|
|
2447
|
+
command = make_simple_command(:post, '{merchantId}/orderreturns/createOrderReturn', options)
|
|
2448
2448
|
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation
|
|
2449
2449
|
command.request_object = orderreturns_create_order_return_request_object
|
|
2450
2450
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation
|
|
@@ -2479,7 +2479,7 @@ module Google
|
|
|
2479
2479
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2480
2480
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2481
2481
|
def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2482
|
-
command = make_simple_command(:get, '
|
|
2482
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
|
|
2483
2483
|
command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
|
|
2484
2484
|
command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
|
|
2485
2485
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2558,7 +2558,7 @@ module Google
|
|
|
2558
2558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2559
2559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2560
2560
|
def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2561
|
-
command = make_simple_command(:get, '
|
|
2561
|
+
command = make_simple_command(:get, '{merchantId}/orderreturns', options)
|
|
2562
2562
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
|
|
2563
2563
|
command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
|
|
2564
2564
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2603,7 +2603,7 @@ module Google
|
|
|
2603
2603
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2604
2604
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2605
2605
|
def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2606
|
-
command = make_simple_command(:post, '
|
|
2606
|
+
command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
|
|
2607
2607
|
command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
|
|
2608
2608
|
command.request_object = orderreturns_process_request_object
|
|
2609
2609
|
command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
|
|
@@ -2640,7 +2640,7 @@ module Google
|
|
|
2640
2640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2641
2641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2642
2642
|
def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2643
|
-
command = make_simple_command(:post, '
|
|
2643
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
|
|
2644
2644
|
command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
|
|
2645
2645
|
command.request_object = orders_acknowledge_request_object
|
|
2646
2646
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
|
|
@@ -2677,7 +2677,7 @@ module Google
|
|
|
2677
2677
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2678
2678
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2679
2679
|
def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2680
|
-
command = make_simple_command(:post, '
|
|
2680
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
|
|
2681
2681
|
command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
|
|
2682
2682
|
command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
|
|
2683
2683
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2712,7 +2712,7 @@ module Google
|
|
|
2712
2712
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2713
2713
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2714
2714
|
def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2715
|
-
command = make_simple_command(:post, '
|
|
2715
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
|
|
2716
2716
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
|
|
2717
2717
|
command.request_object = orders_cancel_request_object
|
|
2718
2718
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
|
|
@@ -2749,7 +2749,7 @@ module Google
|
|
|
2749
2749
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2750
2750
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2751
2751
|
def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2752
|
-
command = make_simple_command(:post, '
|
|
2752
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
|
|
2753
2753
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
|
|
2754
2754
|
command.request_object = orders_cancel_line_item_request_object
|
|
2755
2755
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
|
|
@@ -2786,7 +2786,7 @@ module Google
|
|
|
2786
2786
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2787
2787
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2788
2788
|
def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2789
|
-
command = make_simple_command(:post, '
|
|
2789
|
+
command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
|
|
2790
2790
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
|
|
2791
2791
|
command.request_object = orders_cancel_test_order_by_customer_request_object
|
|
2792
2792
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
|
|
@@ -2821,7 +2821,7 @@ module Google
|
|
|
2821
2821
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2822
2822
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2823
2823
|
def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2824
|
-
command = make_simple_command(:post, '
|
|
2824
|
+
command = make_simple_command(:post, '{merchantId}/testorders', options)
|
|
2825
2825
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
|
|
2826
2826
|
command.request_object = orders_create_test_order_request_object
|
|
2827
2827
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
|
|
@@ -2857,7 +2857,7 @@ module Google
|
|
|
2857
2857
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2858
2858
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2859
2859
|
def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2860
|
-
command = make_simple_command(:post, '
|
|
2860
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
|
|
2861
2861
|
command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
|
|
2862
2862
|
command.request_object = orders_create_test_return_request_object
|
|
2863
2863
|
command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
|
|
@@ -2893,7 +2893,7 @@ module Google
|
|
|
2893
2893
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2894
2894
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2895
2895
|
def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2896
|
-
command = make_simple_command(:get, '
|
|
2896
|
+
command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
|
|
2897
2897
|
command.response_representation = Google::Apis::ContentV2_1::Order::Representation
|
|
2898
2898
|
command.response_class = Google::Apis::ContentV2_1::Order
|
|
2899
2899
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2927,7 +2927,7 @@ module Google
|
|
|
2927
2927
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2928
2928
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2929
2929
|
def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
2930
|
-
command = make_simple_command(:get, '
|
|
2930
|
+
command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
|
|
2931
2931
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
|
|
2932
2932
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
|
|
2933
2933
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -2964,7 +2964,7 @@ module Google
|
|
|
2964
2964
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2965
2965
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2966
2966
|
def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2967
|
-
command = make_simple_command(:get, '
|
|
2967
|
+
command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
|
|
2968
2968
|
command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
|
|
2969
2969
|
command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
|
|
2970
2970
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3007,7 +3007,7 @@ module Google
|
|
|
3007
3007
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3008
3008
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3009
3009
|
def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3010
|
-
command = make_simple_command(:post, '
|
|
3010
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
|
|
3011
3011
|
command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
|
|
3012
3012
|
command.request_object = orders_in_store_refund_line_item_request_object
|
|
3013
3013
|
command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
|
|
@@ -3065,7 +3065,7 @@ module Google
|
|
|
3065
3065
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3066
3066
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3067
3067
|
def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3068
|
-
command = make_simple_command(:get, '
|
|
3068
|
+
command = make_simple_command(:get, '{merchantId}/orders', options)
|
|
3069
3069
|
command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
|
|
3070
3070
|
command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
|
|
3071
3071
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3106,7 +3106,7 @@ module Google
|
|
|
3106
3106
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3107
3107
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3108
3108
|
def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3109
|
-
command = make_simple_command(:post, '
|
|
3109
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refunditem', options)
|
|
3110
3110
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRefundItemRequest::Representation
|
|
3111
3111
|
command.request_object = orders_refund_item_request_object
|
|
3112
3112
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRefundItemResponse::Representation
|
|
@@ -3143,7 +3143,7 @@ module Google
|
|
|
3143
3143
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3144
3144
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3145
3145
|
def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3146
|
-
command = make_simple_command(:post, '
|
|
3146
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refundorder', options)
|
|
3147
3147
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRefundOrderRequest::Representation
|
|
3148
3148
|
command.request_object = orders_refund_order_request_object
|
|
3149
3149
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRefundOrderResponse::Representation
|
|
@@ -3180,7 +3180,7 @@ module Google
|
|
|
3180
3180
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3181
3181
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3182
3182
|
def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3183
|
-
command = make_simple_command(:post, '
|
|
3183
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
|
|
3184
3184
|
command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
|
|
3185
3185
|
command.request_object = orders_reject_return_line_item_request_object
|
|
3186
3186
|
command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
|
|
@@ -3222,7 +3222,7 @@ module Google
|
|
|
3222
3222
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3223
3223
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3224
3224
|
def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3225
|
-
command = make_simple_command(:post, '
|
|
3225
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
|
|
3226
3226
|
command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
|
|
3227
3227
|
command.request_object = orders_return_refund_line_item_request_object
|
|
3228
3228
|
command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
|
|
@@ -3263,7 +3263,7 @@ module Google
|
|
|
3263
3263
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3264
3264
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3265
3265
|
def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3266
|
-
command = make_simple_command(:post, '
|
|
3266
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
|
|
3267
3267
|
command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
|
|
3268
3268
|
command.request_object = orders_set_line_item_metadata_request_object
|
|
3269
3269
|
command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
|
|
@@ -3300,7 +3300,7 @@ module Google
|
|
|
3300
3300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3301
3301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3302
3302
|
def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3303
|
-
command = make_simple_command(:post, '
|
|
3303
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
|
|
3304
3304
|
command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
|
|
3305
3305
|
command.request_object = orders_ship_line_items_request_object
|
|
3306
3306
|
command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
|
|
@@ -3337,7 +3337,7 @@ module Google
|
|
|
3337
3337
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3338
3338
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3339
3339
|
def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3340
|
-
command = make_simple_command(:post, '
|
|
3340
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
|
|
3341
3341
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
|
|
3342
3342
|
command.request_object = orders_update_line_item_shipping_details_request_object
|
|
3343
3343
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
|
|
@@ -3374,7 +3374,7 @@ module Google
|
|
|
3374
3374
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3375
3375
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3376
3376
|
def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3377
|
-
command = make_simple_command(:post, '
|
|
3377
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
|
|
3378
3378
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
|
|
3379
3379
|
command.request_object = orders_update_merchant_order_id_request_object
|
|
3380
3380
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
|
|
@@ -3411,7 +3411,7 @@ module Google
|
|
|
3411
3411
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3412
3412
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3413
3413
|
def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3414
|
-
command = make_simple_command(:post, '
|
|
3414
|
+
command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
|
|
3415
3415
|
command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
|
|
3416
3416
|
command.request_object = orders_update_shipment_request_object
|
|
3417
3417
|
command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
|
|
@@ -3445,7 +3445,7 @@ module Google
|
|
|
3445
3445
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3446
3446
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3447
3447
|
def create_ordertrackingsignal(merchant_id, order_tracking_signal_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3448
|
-
command = make_simple_command(:post, '
|
|
3448
|
+
command = make_simple_command(:post, '{merchantId}/ordertrackingsignals', options)
|
|
3449
3449
|
command.request_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation
|
|
3450
3450
|
command.request_object = order_tracking_signal_object
|
|
3451
3451
|
command.response_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation
|
|
@@ -3476,7 +3476,7 @@ module Google
|
|
|
3476
3476
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3477
3477
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3478
3478
|
def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3479
|
-
command = make_simple_command(:post, '
|
|
3479
|
+
command = make_simple_command(:post, 'pos/batch', options)
|
|
3480
3480
|
command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
|
|
3481
3481
|
command.request_object = pos_custom_batch_request_object
|
|
3482
3482
|
command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
|
|
@@ -3511,7 +3511,7 @@ module Google
|
|
|
3511
3511
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3512
3512
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3513
3513
|
def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
|
|
3514
|
-
command = make_simple_command(:delete, '
|
|
3514
|
+
command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
3515
3515
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
3516
3516
|
command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
|
|
3517
3517
|
command.params['storeCode'] = store_code unless store_code.nil?
|
|
@@ -3545,7 +3545,7 @@ module Google
|
|
|
3545
3545
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3546
3546
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3547
3547
|
def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
|
|
3548
|
-
command = make_simple_command(:get, '
|
|
3548
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
|
|
3549
3549
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
3550
3550
|
command.response_class = Google::Apis::ContentV2_1::PosStore
|
|
3551
3551
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3580,7 +3580,7 @@ module Google
|
|
|
3580
3580
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3581
3581
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3582
3582
|
def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3583
|
-
command = make_simple_command(:post, '
|
|
3583
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
3584
3584
|
command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
3585
3585
|
command.request_object = pos_store_object
|
|
3586
3586
|
command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
|
|
@@ -3616,7 +3616,7 @@ module Google
|
|
|
3616
3616
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3617
3617
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3618
3618
|
def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3619
|
-
command = make_simple_command(:post, '
|
|
3619
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
|
|
3620
3620
|
command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
|
|
3621
3621
|
command.request_object = pos_inventory_request_object
|
|
3622
3622
|
command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
|
|
@@ -3651,7 +3651,7 @@ module Google
|
|
|
3651
3651
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3652
3652
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3653
3653
|
def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
3654
|
-
command = make_simple_command(:get, '
|
|
3654
|
+
command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
|
|
3655
3655
|
command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
|
|
3656
3656
|
command.response_class = Google::Apis::ContentV2_1::PosListResponse
|
|
3657
3657
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3685,7 +3685,7 @@ module Google
|
|
|
3685
3685
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3686
3686
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3687
3687
|
def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3688
|
-
command = make_simple_command(:post, '
|
|
3688
|
+
command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
|
|
3689
3689
|
command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
|
|
3690
3690
|
command.request_object = pos_sale_request_object
|
|
3691
3691
|
command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
|
|
@@ -3717,7 +3717,7 @@ module Google
|
|
|
3717
3717
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3718
3718
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3719
3719
|
def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3720
|
-
command = make_simple_command(:post, '
|
|
3720
|
+
command = make_simple_command(:post, 'products/batch', options)
|
|
3721
3721
|
command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
|
|
3722
3722
|
command.request_object = products_custom_batch_request_object
|
|
3723
3723
|
command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
|
|
@@ -3753,7 +3753,7 @@ module Google
|
|
|
3753
3753
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3754
3754
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3755
3755
|
def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3756
|
-
command = make_simple_command(:delete, '
|
|
3756
|
+
command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
|
|
3757
3757
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
3758
3758
|
command.params['productId'] = product_id unless product_id.nil?
|
|
3759
3759
|
command.query['feedId'] = feed_id unless feed_id.nil?
|
|
@@ -3786,7 +3786,7 @@ module Google
|
|
|
3786
3786
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3787
3787
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3788
3788
|
def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
3789
|
-
command = make_simple_command(:get, '
|
|
3789
|
+
command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
|
|
3790
3790
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
3791
3791
|
command.response_class = Google::Apis::ContentV2_1::Product
|
|
3792
3792
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3823,7 +3823,7 @@ module Google
|
|
|
3823
3823
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3824
3824
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3825
3825
|
def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3826
|
-
command = make_simple_command(:post, '
|
|
3826
|
+
command = make_simple_command(:post, '{merchantId}/products', options)
|
|
3827
3827
|
command.request_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
3828
3828
|
command.request_object = product_object
|
|
3829
3829
|
command.response_representation = Google::Apis::ContentV2_1::Product::Representation
|
|
@@ -3863,7 +3863,7 @@ module Google
|
|
|
3863
3863
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3864
3864
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3865
3865
|
def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3866
|
-
command = make_simple_command(:get, '
|
|
3866
|
+
command = make_simple_command(:get, '{merchantId}/products', options)
|
|
3867
3867
|
command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
|
|
3868
3868
|
command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
|
|
3869
3869
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3894,7 +3894,7 @@ module Google
|
|
|
3894
3894
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3895
3895
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3896
3896
|
def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3897
|
-
command = make_simple_command(:post, '
|
|
3897
|
+
command = make_simple_command(:post, 'productstatuses/batch', options)
|
|
3898
3898
|
command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
|
|
3899
3899
|
command.request_object = productstatuses_custom_batch_request_object
|
|
3900
3900
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
|
|
@@ -3931,7 +3931,7 @@ module Google
|
|
|
3931
3931
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3932
3932
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3933
3933
|
def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3934
|
-
command = make_simple_command(:get, '
|
|
3934
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
|
|
3935
3935
|
command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
|
|
3936
3936
|
command.response_class = Google::Apis::ContentV2_1::ProductStatus
|
|
3937
3937
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -3972,7 +3972,7 @@ module Google
|
|
|
3972
3972
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3973
3973
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3974
3974
|
def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3975
|
-
command = make_simple_command(:get, '
|
|
3975
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses', options)
|
|
3976
3976
|
command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
|
|
3977
3977
|
command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
|
|
3978
3978
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4030,7 +4030,7 @@ module Google
|
|
|
4030
4030
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4031
4031
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4032
4032
|
def list_productstatus_repricingreports(merchant_id, product_id, end_date: nil, page_size: nil, page_token: nil, rule_id: nil, start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4033
|
-
command = make_simple_command(:get, '
|
|
4033
|
+
command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}/repricingreports', options)
|
|
4034
4034
|
command.response_representation = Google::Apis::ContentV2_1::ListRepricingProductReportsResponse::Representation
|
|
4035
4035
|
command.response_class = Google::Apis::ContentV2_1::ListRepricingProductReportsResponse
|
|
4036
4036
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4066,7 +4066,7 @@ module Google
|
|
|
4066
4066
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4067
4067
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4068
4068
|
def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4069
|
-
command = make_simple_command(:get, '
|
|
4069
|
+
command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', options)
|
|
4070
4070
|
command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
|
4071
4071
|
command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
|
|
4072
4072
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4098,7 +4098,7 @@ module Google
|
|
|
4098
4098
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4099
4099
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4100
4100
|
def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4101
|
-
command = make_simple_command(:put, '
|
|
4101
|
+
command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', options)
|
|
4102
4102
|
command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
|
4103
4103
|
command.request_object = pubsub_notification_settings_object
|
|
4104
4104
|
command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
|
|
@@ -4130,7 +4130,7 @@ module Google
|
|
|
4130
4130
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4131
4131
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4132
4132
|
def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4133
|
-
command = make_simple_command(:post, '
|
|
4133
|
+
command = make_simple_command(:post, 'regionalinventory/batch', options)
|
|
4134
4134
|
command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
|
|
4135
4135
|
command.request_object = regionalinventory_custom_batch_request_object
|
|
4136
4136
|
command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
|
|
@@ -4167,7 +4167,7 @@ module Google
|
|
|
4167
4167
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4168
4168
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4169
4169
|
def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4170
|
-
command = make_simple_command(:post, '
|
|
4170
|
+
command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
|
|
4171
4171
|
command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
4172
4172
|
command.request_object = regional_inventory_object
|
|
4173
4173
|
command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
|
|
@@ -4203,7 +4203,7 @@ module Google
|
|
|
4203
4203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4204
4204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4205
4205
|
def create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4206
|
-
command = make_simple_command(:post, '
|
|
4206
|
+
command = make_simple_command(:post, '{merchantId}/regions', options)
|
|
4207
4207
|
command.request_representation = Google::Apis::ContentV2_1::Region::Representation
|
|
4208
4208
|
command.request_object = region_object
|
|
4209
4209
|
command.response_representation = Google::Apis::ContentV2_1::Region::Representation
|
|
@@ -4238,7 +4238,7 @@ module Google
|
|
|
4238
4238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4239
4239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4240
4240
|
def delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4241
|
-
command = make_simple_command(:delete, '
|
|
4241
|
+
command = make_simple_command(:delete, '{merchantId}/regions/{regionId}', options)
|
|
4242
4242
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4243
4243
|
command.params['regionId'] = region_id unless region_id.nil?
|
|
4244
4244
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4269,7 +4269,7 @@ module Google
|
|
|
4269
4269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4270
4270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4271
4271
|
def get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4272
|
-
command = make_simple_command(:get, '
|
|
4272
|
+
command = make_simple_command(:get, '{merchantId}/regions/{regionId}', options)
|
|
4273
4273
|
command.response_representation = Google::Apis::ContentV2_1::Region::Representation
|
|
4274
4274
|
command.response_class = Google::Apis::ContentV2_1::Region
|
|
4275
4275
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4308,7 +4308,7 @@ module Google
|
|
|
4308
4308
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4309
4309
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4310
4310
|
def list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4311
|
-
command = make_simple_command(:get, '
|
|
4311
|
+
command = make_simple_command(:get, '{merchantId}/regions', options)
|
|
4312
4312
|
command.response_representation = Google::Apis::ContentV2_1::ListRegionsResponse::Representation
|
|
4313
4313
|
command.response_class = Google::Apis::ContentV2_1::ListRegionsResponse
|
|
4314
4314
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4345,7 +4345,7 @@ module Google
|
|
|
4345
4345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4346
4346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4347
4347
|
def patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4348
|
-
command = make_simple_command(:patch, '
|
|
4348
|
+
command = make_simple_command(:patch, '{merchantId}/regions/{regionId}', options)
|
|
4349
4349
|
command.request_representation = Google::Apis::ContentV2_1::Region::Representation
|
|
4350
4350
|
command.request_object = region_object
|
|
4351
4351
|
command.response_representation = Google::Apis::ContentV2_1::Region::Representation
|
|
@@ -4382,7 +4382,7 @@ module Google
|
|
|
4382
4382
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4383
4383
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4384
4384
|
def search_report(merchant_id, search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4385
|
-
command = make_simple_command(:post, '
|
|
4385
|
+
command = make_simple_command(:post, '{merchantId}/reports/search', options)
|
|
4386
4386
|
command.request_representation = Google::Apis::ContentV2_1::SearchRequest::Representation
|
|
4387
4387
|
command.request_object = search_request_object
|
|
4388
4388
|
command.response_representation = Google::Apis::ContentV2_1::SearchResponse::Representation
|
|
@@ -4417,7 +4417,7 @@ module Google
|
|
|
4417
4417
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4418
4418
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4419
4419
|
def create_repricingrule(merchant_id, repricing_rule_object = nil, rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4420
|
-
command = make_simple_command(:post, '
|
|
4420
|
+
command = make_simple_command(:post, '{merchantId}/repricingrules', options)
|
|
4421
4421
|
command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
|
4422
4422
|
command.request_object = repricing_rule_object
|
|
4423
4423
|
command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
|
@@ -4452,7 +4452,7 @@ module Google
|
|
|
4452
4452
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4453
4453
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4454
4454
|
def delete_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4455
|
-
command = make_simple_command(:delete, '
|
|
4455
|
+
command = make_simple_command(:delete, '{merchantId}/repricingrules/{ruleId}', options)
|
|
4456
4456
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4457
4457
|
command.params['ruleId'] = rule_id unless rule_id.nil?
|
|
4458
4458
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4483,7 +4483,7 @@ module Google
|
|
|
4483
4483
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4484
4484
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4485
4485
|
def get_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4486
|
-
command = make_simple_command(:get, '
|
|
4486
|
+
command = make_simple_command(:get, '{merchantId}/repricingrules/{ruleId}', options)
|
|
4487
4487
|
command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
|
4488
4488
|
command.response_class = Google::Apis::ContentV2_1::RepricingRule
|
|
4489
4489
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4529,7 +4529,7 @@ module Google
|
|
|
4529
4529
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4530
4530
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4531
4531
|
def list_repricingrules(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4532
|
-
command = make_simple_command(:get, '
|
|
4532
|
+
command = make_simple_command(:get, '{merchantId}/repricingrules', options)
|
|
4533
4533
|
command.response_representation = Google::Apis::ContentV2_1::ListRepricingRulesResponse::Representation
|
|
4534
4534
|
command.response_class = Google::Apis::ContentV2_1::ListRepricingRulesResponse
|
|
4535
4535
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4570,7 +4570,7 @@ module Google
|
|
|
4570
4570
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4571
4571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4572
4572
|
def patch_repricingrule(merchant_id, rule_id, repricing_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4573
|
-
command = make_simple_command(:patch, '
|
|
4573
|
+
command = make_simple_command(:patch, '{merchantId}/repricingrules/{ruleId}', options)
|
|
4574
4574
|
command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
|
4575
4575
|
command.request_object = repricing_rule_object
|
|
4576
4576
|
command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
|
|
@@ -4621,7 +4621,7 @@ module Google
|
|
|
4621
4621
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4622
4622
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4623
4623
|
def list_repricingrule_repricingreports(merchant_id, rule_id, end_date: nil, page_size: nil, page_token: nil, start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4624
|
-
command = make_simple_command(:get, '
|
|
4624
|
+
command = make_simple_command(:get, '{merchantId}/repricingrules/{ruleId}/repricingreports', options)
|
|
4625
4625
|
command.response_representation = Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse::Representation
|
|
4626
4626
|
command.response_class = Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse
|
|
4627
4627
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4655,7 +4655,7 @@ module Google
|
|
|
4655
4655
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4656
4656
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4657
4657
|
def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4658
|
-
command = make_simple_command(:post, '
|
|
4658
|
+
command = make_simple_command(:post, 'returnaddress/batch', options)
|
|
4659
4659
|
command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
|
|
4660
4660
|
command.request_object = returnaddress_custom_batch_request_object
|
|
4661
4661
|
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
|
|
@@ -4688,7 +4688,7 @@ module Google
|
|
|
4688
4688
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4689
4689
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4690
4690
|
def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4691
|
-
command = make_simple_command(:delete, '
|
|
4691
|
+
command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
|
|
4692
4692
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4693
4693
|
command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
|
|
4694
4694
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4719,7 +4719,7 @@ module Google
|
|
|
4719
4719
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4720
4720
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4721
4721
|
def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4722
|
-
command = make_simple_command(:get, '
|
|
4722
|
+
command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
|
|
4723
4723
|
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
4724
4724
|
command.response_class = Google::Apis::ContentV2_1::ReturnAddress
|
|
4725
4725
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4751,7 +4751,7 @@ module Google
|
|
|
4751
4751
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4752
4752
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4753
4753
|
def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4754
|
-
command = make_simple_command(:post, '
|
|
4754
|
+
command = make_simple_command(:post, '{merchantId}/returnaddress', options)
|
|
4755
4755
|
command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
4756
4756
|
command.request_object = return_address_object
|
|
4757
4757
|
command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
|
|
@@ -4790,7 +4790,7 @@ module Google
|
|
|
4790
4790
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4791
4791
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4792
4792
|
def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4793
|
-
command = make_simple_command(:get, '
|
|
4793
|
+
command = make_simple_command(:get, '{merchantId}/returnaddress', options)
|
|
4794
4794
|
command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
|
|
4795
4795
|
command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
|
|
4796
4796
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4822,7 +4822,7 @@ module Google
|
|
|
4822
4822
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4823
4823
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4824
4824
|
def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4825
|
-
command = make_simple_command(:post, '
|
|
4825
|
+
command = make_simple_command(:post, 'returnpolicy/batch', options)
|
|
4826
4826
|
command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
|
|
4827
4827
|
command.request_object = returnpolicy_custom_batch_request_object
|
|
4828
4828
|
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
|
|
@@ -4855,7 +4855,7 @@ module Google
|
|
|
4855
4855
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4856
4856
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4857
4857
|
def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4858
|
-
command = make_simple_command(:delete, '
|
|
4858
|
+
command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
|
4859
4859
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
4860
4860
|
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
|
4861
4861
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -4886,7 +4886,7 @@ module Google
|
|
|
4886
4886
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4887
4887
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4888
4888
|
def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4889
|
-
command = make_simple_command(:get, '
|
|
4889
|
+
command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
|
|
4890
4890
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
4891
4891
|
command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
|
|
4892
4892
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4918,7 +4918,7 @@ module Google
|
|
|
4918
4918
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4919
4919
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4920
4920
|
def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4921
|
-
command = make_simple_command(:post, '
|
|
4921
|
+
command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
|
|
4922
4922
|
command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
4923
4923
|
command.request_object = return_policy_object
|
|
4924
4924
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
|
|
@@ -4950,7 +4950,7 @@ module Google
|
|
|
4950
4950
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4951
4951
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4952
4952
|
def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
4953
|
-
command = make_simple_command(:get, '
|
|
4953
|
+
command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
|
|
4954
4954
|
command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
|
|
4955
4955
|
command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
|
|
4956
4956
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -4982,7 +4982,7 @@ module Google
|
|
|
4982
4982
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4983
4983
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4984
4984
|
def create_returnpolicyonline(merchant_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4985
|
-
command = make_simple_command(:post, '
|
|
4985
|
+
command = make_simple_command(:post, '{merchantId}/returnpolicyonline', options)
|
|
4986
4986
|
command.request_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
|
|
4987
4987
|
command.request_object = return_policy_online_object
|
|
4988
4988
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
|
|
@@ -5017,7 +5017,7 @@ module Google
|
|
|
5017
5017
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5018
5018
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5019
5019
|
def delete_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5020
|
-
command = make_simple_command(:delete, '
|
|
5020
|
+
command = make_simple_command(:delete, '{merchantId}/returnpolicyonline/{returnPolicyId}', options)
|
|
5021
5021
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
5022
5022
|
command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
|
|
5023
5023
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -5049,7 +5049,7 @@ module Google
|
|
|
5049
5049
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5050
5050
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5051
5051
|
def get_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5052
|
-
command = make_simple_command(:get, '
|
|
5052
|
+
command = make_simple_command(:get, '{merchantId}/returnpolicyonline/{returnPolicyId}', options)
|
|
5053
5053
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
|
|
5054
5054
|
command.response_class = Google::Apis::ContentV2_1::ReturnPolicyOnline
|
|
5055
5055
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5081,7 +5081,7 @@ module Google
|
|
|
5081
5081
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5082
5082
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5083
5083
|
def list_returnpolicyonlines(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5084
|
-
command = make_simple_command(:get, '
|
|
5084
|
+
command = make_simple_command(:get, '{merchantId}/returnpolicyonline', options)
|
|
5085
5085
|
command.response_representation = Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse::Representation
|
|
5086
5086
|
command.response_class = Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse
|
|
5087
5087
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5115,7 +5115,7 @@ module Google
|
|
|
5115
5115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5116
5116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5117
5117
|
def patch_returnpolicyonline(merchant_id, return_policy_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5118
|
-
command = make_simple_command(:patch, '
|
|
5118
|
+
command = make_simple_command(:patch, '{merchantId}/returnpolicyonline/{returnPolicyId}', options)
|
|
5119
5119
|
command.request_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
|
|
5120
5120
|
command.request_object = return_policy_online_object
|
|
5121
5121
|
command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
|
|
@@ -5150,7 +5150,7 @@ module Google
|
|
|
5150
5150
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5151
5151
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5152
5152
|
def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5153
|
-
command = make_simple_command(:get, '
|
|
5153
|
+
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
|
|
5154
5154
|
command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
|
|
5155
5155
|
command.response_class = Google::Apis::ContentV2_1::SettlementReport
|
|
5156
5156
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5193,7 +5193,7 @@ module Google
|
|
|
5193
5193
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5194
5194
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5195
5195
|
def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5196
|
-
command = make_simple_command(:get, '
|
|
5196
|
+
command = make_simple_command(:get, '{merchantId}/settlementreports', options)
|
|
5197
5197
|
command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
|
|
5198
5198
|
command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
|
|
5199
5199
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5238,7 +5238,7 @@ module Google
|
|
|
5238
5238
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5239
5239
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5240
5240
|
def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5241
|
-
command = make_simple_command(:get, '
|
|
5241
|
+
command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
|
|
5242
5242
|
command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
|
|
5243
5243
|
command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
|
|
5244
5244
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5272,7 +5272,7 @@ module Google
|
|
|
5272
5272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5273
5273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5274
5274
|
def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5275
|
-
command = make_simple_command(:post, '
|
|
5275
|
+
command = make_simple_command(:post, 'shippingsettings/batch', options)
|
|
5276
5276
|
command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
|
|
5277
5277
|
command.request_object = shippingsettings_custom_batch_request_object
|
|
5278
5278
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
|
|
@@ -5307,7 +5307,7 @@ module Google
|
|
|
5307
5307
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5308
5308
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5309
5309
|
def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5310
|
-
command = make_simple_command(:get, '
|
|
5310
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
|
|
5311
5311
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
5312
5312
|
command.response_class = Google::Apis::ContentV2_1::ShippingSettings
|
|
5313
5313
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5338,7 +5338,7 @@ module Google
|
|
|
5338
5338
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5339
5339
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5340
5340
|
def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5341
|
-
command = make_simple_command(:get, '
|
|
5341
|
+
command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
|
|
5342
5342
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
|
|
5343
5343
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
|
|
5344
5344
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5368,7 +5368,7 @@ module Google
|
|
|
5368
5368
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5369
5369
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5370
5370
|
def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5371
|
-
command = make_simple_command(:get, '
|
|
5371
|
+
command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
|
|
5372
5372
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
|
|
5373
5373
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
|
|
5374
5374
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5398,7 +5398,7 @@ module Google
|
|
|
5398
5398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5399
5399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5400
5400
|
def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
|
|
5401
|
-
command = make_simple_command(:get, '
|
|
5401
|
+
command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
|
|
5402
5402
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation
|
|
5403
5403
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
|
|
5404
5404
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5434,7 +5434,7 @@ module Google
|
|
|
5434
5434
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5435
5435
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5436
5436
|
def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5437
|
-
command = make_simple_command(:get, '
|
|
5437
|
+
command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
|
|
5438
5438
|
command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
|
|
5439
5439
|
command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
|
|
5440
5440
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
|
@@ -5472,7 +5472,7 @@ module Google
|
|
|
5472
5472
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5473
5473
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5474
5474
|
def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5475
|
-
command = make_simple_command(:put, '
|
|
5475
|
+
command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
|
|
5476
5476
|
command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|
|
5477
5477
|
command.request_object = shipping_settings_object
|
|
5478
5478
|
command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
|