ultracart-rest-sdk 4.0.238__py3-none-any.whl → 4.0.240__py3-none-any.whl
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.
- ultracart/__init__.py +1 -1
- ultracart/api/channel_partner_api.py +478 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/customer_query.py +4 -0
- {ultracart_rest_sdk-4.0.238.dist-info → ultracart_rest_sdk-4.0.240.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.238.dist-info → ultracart_rest_sdk-4.0.240.dist-info}/RECORD +10 -10
- {ultracart_rest_sdk-4.0.238.dist-info → ultracart_rest_sdk-4.0.240.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.238.dist-info → ultracart_rest_sdk-4.0.240.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.238.dist-info → ultracart_rest_sdk-4.0.240.dist-info}/top_level.txt +0 -0
ultracart/__init__.py
CHANGED
|
@@ -32,6 +32,8 @@ from ultracart.model.channel_partner_ship_to_preference_response import ChannelP
|
|
|
32
32
|
from ultracart.model.channel_partner_ship_to_preferences_response import ChannelPartnerShipToPreferencesResponse
|
|
33
33
|
from ultracart.model.channel_partners_response import ChannelPartnersResponse
|
|
34
34
|
from ultracart.model.error_response import ErrorResponse
|
|
35
|
+
from ultracart.model.order import Order
|
|
36
|
+
from ultracart.model.order_response import OrderResponse
|
|
35
37
|
|
|
36
38
|
|
|
37
39
|
class ChannelPartnerApi(object):
|
|
@@ -324,6 +326,120 @@ class ChannelPartnerApi(object):
|
|
|
324
326
|
},
|
|
325
327
|
api_client=api_client
|
|
326
328
|
)
|
|
329
|
+
self.get_channel_partner_order_endpoint = _Endpoint(
|
|
330
|
+
settings={
|
|
331
|
+
'response_type': (OrderResponse,),
|
|
332
|
+
'auth': [
|
|
333
|
+
'ultraCartOauth',
|
|
334
|
+
'ultraCartSimpleApiKey'
|
|
335
|
+
],
|
|
336
|
+
'endpoint_path': '/channel_partner/orders/{order_id}',
|
|
337
|
+
'operation_id': 'get_channel_partner_order',
|
|
338
|
+
'http_method': 'GET',
|
|
339
|
+
'servers': None,
|
|
340
|
+
},
|
|
341
|
+
params_map={
|
|
342
|
+
'all': [
|
|
343
|
+
'order_id',
|
|
344
|
+
'expand',
|
|
345
|
+
],
|
|
346
|
+
'required': [
|
|
347
|
+
'order_id',
|
|
348
|
+
],
|
|
349
|
+
'nullable': [
|
|
350
|
+
],
|
|
351
|
+
'enum': [
|
|
352
|
+
],
|
|
353
|
+
'validation': [
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
root_map={
|
|
357
|
+
'validations': {
|
|
358
|
+
},
|
|
359
|
+
'allowed_values': {
|
|
360
|
+
},
|
|
361
|
+
'openapi_types': {
|
|
362
|
+
'order_id':
|
|
363
|
+
(str,),
|
|
364
|
+
'expand':
|
|
365
|
+
(str,),
|
|
366
|
+
},
|
|
367
|
+
'attribute_map': {
|
|
368
|
+
'order_id': 'order_id',
|
|
369
|
+
'expand': '_expand',
|
|
370
|
+
},
|
|
371
|
+
'location_map': {
|
|
372
|
+
'order_id': 'path',
|
|
373
|
+
'expand': 'query',
|
|
374
|
+
},
|
|
375
|
+
'collection_format_map': {
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
headers_map={
|
|
379
|
+
'accept': [
|
|
380
|
+
'application/json'
|
|
381
|
+
],
|
|
382
|
+
'content_type': [],
|
|
383
|
+
},
|
|
384
|
+
api_client=api_client
|
|
385
|
+
)
|
|
386
|
+
self.get_channel_partner_order_by_channel_partner_order_id_endpoint = _Endpoint(
|
|
387
|
+
settings={
|
|
388
|
+
'response_type': (OrderResponse,),
|
|
389
|
+
'auth': [
|
|
390
|
+
'ultraCartOauth',
|
|
391
|
+
'ultraCartSimpleApiKey'
|
|
392
|
+
],
|
|
393
|
+
'endpoint_path': '/channel_partner/orders/by_channel_partner_order_id/{order_id}',
|
|
394
|
+
'operation_id': 'get_channel_partner_order_by_channel_partner_order_id',
|
|
395
|
+
'http_method': 'GET',
|
|
396
|
+
'servers': None,
|
|
397
|
+
},
|
|
398
|
+
params_map={
|
|
399
|
+
'all': [
|
|
400
|
+
'order_id',
|
|
401
|
+
'expand',
|
|
402
|
+
],
|
|
403
|
+
'required': [
|
|
404
|
+
'order_id',
|
|
405
|
+
],
|
|
406
|
+
'nullable': [
|
|
407
|
+
],
|
|
408
|
+
'enum': [
|
|
409
|
+
],
|
|
410
|
+
'validation': [
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
root_map={
|
|
414
|
+
'validations': {
|
|
415
|
+
},
|
|
416
|
+
'allowed_values': {
|
|
417
|
+
},
|
|
418
|
+
'openapi_types': {
|
|
419
|
+
'order_id':
|
|
420
|
+
(str,),
|
|
421
|
+
'expand':
|
|
422
|
+
(str,),
|
|
423
|
+
},
|
|
424
|
+
'attribute_map': {
|
|
425
|
+
'order_id': 'order_id',
|
|
426
|
+
'expand': '_expand',
|
|
427
|
+
},
|
|
428
|
+
'location_map': {
|
|
429
|
+
'order_id': 'path',
|
|
430
|
+
'expand': 'query',
|
|
431
|
+
},
|
|
432
|
+
'collection_format_map': {
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
headers_map={
|
|
436
|
+
'accept': [
|
|
437
|
+
'application/json'
|
|
438
|
+
],
|
|
439
|
+
'content_type': [],
|
|
440
|
+
},
|
|
441
|
+
api_client=api_client
|
|
442
|
+
)
|
|
327
443
|
self.get_channel_partner_ship_to_preference_endpoint = _Endpoint(
|
|
328
444
|
settings={
|
|
329
445
|
'response_type': (ChannelPartnerShipToPreferenceResponse,),
|
|
@@ -591,6 +707,105 @@ class ChannelPartnerApi(object):
|
|
|
591
707
|
},
|
|
592
708
|
api_client=api_client
|
|
593
709
|
)
|
|
710
|
+
self.refund_channel_partner_order_endpoint = _Endpoint(
|
|
711
|
+
settings={
|
|
712
|
+
'response_type': (OrderResponse,),
|
|
713
|
+
'auth': [
|
|
714
|
+
'ultraCartOauth',
|
|
715
|
+
'ultraCartSimpleApiKey'
|
|
716
|
+
],
|
|
717
|
+
'endpoint_path': '/channel_partner/orders/{order_id}/refund',
|
|
718
|
+
'operation_id': 'refund_channel_partner_order',
|
|
719
|
+
'http_method': 'PUT',
|
|
720
|
+
'servers': None,
|
|
721
|
+
},
|
|
722
|
+
params_map={
|
|
723
|
+
'all': [
|
|
724
|
+
'order_id',
|
|
725
|
+
'order',
|
|
726
|
+
'reject_after_refund',
|
|
727
|
+
'skip_customer_notification',
|
|
728
|
+
'auto_order_cancel',
|
|
729
|
+
'manual_refund',
|
|
730
|
+
'reverse_affiliate_transactions',
|
|
731
|
+
'issue_store_credit',
|
|
732
|
+
'auto_order_cancel_reason',
|
|
733
|
+
'expand',
|
|
734
|
+
],
|
|
735
|
+
'required': [
|
|
736
|
+
'order_id',
|
|
737
|
+
'order',
|
|
738
|
+
],
|
|
739
|
+
'nullable': [
|
|
740
|
+
],
|
|
741
|
+
'enum': [
|
|
742
|
+
],
|
|
743
|
+
'validation': [
|
|
744
|
+
]
|
|
745
|
+
},
|
|
746
|
+
root_map={
|
|
747
|
+
'validations': {
|
|
748
|
+
},
|
|
749
|
+
'allowed_values': {
|
|
750
|
+
},
|
|
751
|
+
'openapi_types': {
|
|
752
|
+
'order_id':
|
|
753
|
+
(str,),
|
|
754
|
+
'order':
|
|
755
|
+
(Order,),
|
|
756
|
+
'reject_after_refund':
|
|
757
|
+
(bool,),
|
|
758
|
+
'skip_customer_notification':
|
|
759
|
+
(bool,),
|
|
760
|
+
'auto_order_cancel':
|
|
761
|
+
(bool,),
|
|
762
|
+
'manual_refund':
|
|
763
|
+
(bool,),
|
|
764
|
+
'reverse_affiliate_transactions':
|
|
765
|
+
(bool,),
|
|
766
|
+
'issue_store_credit':
|
|
767
|
+
(bool,),
|
|
768
|
+
'auto_order_cancel_reason':
|
|
769
|
+
(str,),
|
|
770
|
+
'expand':
|
|
771
|
+
(str,),
|
|
772
|
+
},
|
|
773
|
+
'attribute_map': {
|
|
774
|
+
'order_id': 'order_id',
|
|
775
|
+
'reject_after_refund': 'reject_after_refund',
|
|
776
|
+
'skip_customer_notification': 'skip_customer_notification',
|
|
777
|
+
'auto_order_cancel': 'auto_order_cancel',
|
|
778
|
+
'manual_refund': 'manual_refund',
|
|
779
|
+
'reverse_affiliate_transactions': 'reverse_affiliate_transactions',
|
|
780
|
+
'issue_store_credit': 'issue_store_credit',
|
|
781
|
+
'auto_order_cancel_reason': 'auto_order_cancel_reason',
|
|
782
|
+
'expand': '_expand',
|
|
783
|
+
},
|
|
784
|
+
'location_map': {
|
|
785
|
+
'order_id': 'path',
|
|
786
|
+
'order': 'body',
|
|
787
|
+
'reject_after_refund': 'query',
|
|
788
|
+
'skip_customer_notification': 'query',
|
|
789
|
+
'auto_order_cancel': 'query',
|
|
790
|
+
'manual_refund': 'query',
|
|
791
|
+
'reverse_affiliate_transactions': 'query',
|
|
792
|
+
'issue_store_credit': 'query',
|
|
793
|
+
'auto_order_cancel_reason': 'query',
|
|
794
|
+
'expand': 'query',
|
|
795
|
+
},
|
|
796
|
+
'collection_format_map': {
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
headers_map={
|
|
800
|
+
'accept': [
|
|
801
|
+
'application/json'
|
|
802
|
+
],
|
|
803
|
+
'content_type': [
|
|
804
|
+
'application/json; charset=UTF-8'
|
|
805
|
+
]
|
|
806
|
+
},
|
|
807
|
+
api_client=api_client
|
|
808
|
+
)
|
|
594
809
|
self.update_channel_partner_ship_to_preference_endpoint = _Endpoint(
|
|
595
810
|
settings={
|
|
596
811
|
'response_type': (ChannelPartnerShipToPreferenceResponse,),
|
|
@@ -1076,6 +1291,174 @@ class ChannelPartnerApi(object):
|
|
|
1076
1291
|
channel_partner_order
|
|
1077
1292
|
return self.estimate_tax_for_channel_partner_order_endpoint.call_with_http_info(**kwargs)
|
|
1078
1293
|
|
|
1294
|
+
def get_channel_partner_order(
|
|
1295
|
+
self,
|
|
1296
|
+
order_id,
|
|
1297
|
+
**kwargs
|
|
1298
|
+
):
|
|
1299
|
+
"""Retrieve a channel partner order # noqa: E501
|
|
1300
|
+
|
|
1301
|
+
Retrieves a single order using the specified order id. Only orders belonging to this channel partner may be retrieved. # noqa: E501
|
|
1302
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1303
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1304
|
+
|
|
1305
|
+
>>> thread = api.get_channel_partner_order(order_id, async_req=True)
|
|
1306
|
+
>>> result = thread.get()
|
|
1307
|
+
|
|
1308
|
+
Args:
|
|
1309
|
+
order_id (str): The order id to retrieve.
|
|
1310
|
+
|
|
1311
|
+
Keyword Args:
|
|
1312
|
+
expand (str): The object expansion to perform on the result. See OrderApi.getOrder documentation for examples. [optional]
|
|
1313
|
+
_return_http_data_only (bool): response data without head status
|
|
1314
|
+
code and headers. Default is True.
|
|
1315
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1316
|
+
will be returned without reading/decoding response data.
|
|
1317
|
+
Default is True.
|
|
1318
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1319
|
+
one number provided, it will be total request timeout. It can also
|
|
1320
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1321
|
+
Default is None.
|
|
1322
|
+
_check_input_type (bool): specifies if type checking
|
|
1323
|
+
should be done one the data sent to the server.
|
|
1324
|
+
Default is True.
|
|
1325
|
+
_check_return_type (bool): specifies if type checking
|
|
1326
|
+
should be done one the data received from the server.
|
|
1327
|
+
Default is True.
|
|
1328
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1329
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1330
|
+
False if the variable names in the input data
|
|
1331
|
+
are pythonic names, e.g. snake case (default)
|
|
1332
|
+
_content_type (str/None): force body content-type.
|
|
1333
|
+
Default is None and content-type will be predicted by allowed
|
|
1334
|
+
content-types and body.
|
|
1335
|
+
_host_index (int/None): specifies the index of the server
|
|
1336
|
+
that we want to use.
|
|
1337
|
+
Default is read from the configuration.
|
|
1338
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1339
|
+
request; this effectively ignores the authentication
|
|
1340
|
+
in the spec for a single request.
|
|
1341
|
+
Default is None
|
|
1342
|
+
async_req (bool): execute request asynchronously
|
|
1343
|
+
|
|
1344
|
+
Returns:
|
|
1345
|
+
OrderResponse
|
|
1346
|
+
If the method is called asynchronously, returns the request
|
|
1347
|
+
thread.
|
|
1348
|
+
"""
|
|
1349
|
+
kwargs['async_req'] = kwargs.get(
|
|
1350
|
+
'async_req', False
|
|
1351
|
+
)
|
|
1352
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1353
|
+
'_return_http_data_only', True
|
|
1354
|
+
)
|
|
1355
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1356
|
+
'_preload_content', True
|
|
1357
|
+
)
|
|
1358
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1359
|
+
'_request_timeout', None
|
|
1360
|
+
)
|
|
1361
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1362
|
+
'_check_input_type', True
|
|
1363
|
+
)
|
|
1364
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1365
|
+
'_check_return_type', True
|
|
1366
|
+
)
|
|
1367
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1368
|
+
'_spec_property_naming', False
|
|
1369
|
+
)
|
|
1370
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1371
|
+
'_content_type')
|
|
1372
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1373
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1374
|
+
kwargs['order_id'] = \
|
|
1375
|
+
order_id
|
|
1376
|
+
return self.get_channel_partner_order_endpoint.call_with_http_info(**kwargs)
|
|
1377
|
+
|
|
1378
|
+
def get_channel_partner_order_by_channel_partner_order_id(
|
|
1379
|
+
self,
|
|
1380
|
+
order_id,
|
|
1381
|
+
**kwargs
|
|
1382
|
+
):
|
|
1383
|
+
"""Retrieve a channel partner order by the channel partner order id # noqa: E501
|
|
1384
|
+
|
|
1385
|
+
Retrieves a single order using the channel partner order id, not the ultracart order id. Only orders belonging to this channel partner may be retrieved. # noqa: E501
|
|
1386
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1387
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1388
|
+
|
|
1389
|
+
>>> thread = api.get_channel_partner_order_by_channel_partner_order_id(order_id, async_req=True)
|
|
1390
|
+
>>> result = thread.get()
|
|
1391
|
+
|
|
1392
|
+
Args:
|
|
1393
|
+
order_id (str): The channel partner order id to retrieve.
|
|
1394
|
+
|
|
1395
|
+
Keyword Args:
|
|
1396
|
+
expand (str): The object expansion to perform on the result. See OrderApi.getOrder documentation for examples. [optional]
|
|
1397
|
+
_return_http_data_only (bool): response data without head status
|
|
1398
|
+
code and headers. Default is True.
|
|
1399
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1400
|
+
will be returned without reading/decoding response data.
|
|
1401
|
+
Default is True.
|
|
1402
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1403
|
+
one number provided, it will be total request timeout. It can also
|
|
1404
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1405
|
+
Default is None.
|
|
1406
|
+
_check_input_type (bool): specifies if type checking
|
|
1407
|
+
should be done one the data sent to the server.
|
|
1408
|
+
Default is True.
|
|
1409
|
+
_check_return_type (bool): specifies if type checking
|
|
1410
|
+
should be done one the data received from the server.
|
|
1411
|
+
Default is True.
|
|
1412
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1413
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1414
|
+
False if the variable names in the input data
|
|
1415
|
+
are pythonic names, e.g. snake case (default)
|
|
1416
|
+
_content_type (str/None): force body content-type.
|
|
1417
|
+
Default is None and content-type will be predicted by allowed
|
|
1418
|
+
content-types and body.
|
|
1419
|
+
_host_index (int/None): specifies the index of the server
|
|
1420
|
+
that we want to use.
|
|
1421
|
+
Default is read from the configuration.
|
|
1422
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1423
|
+
request; this effectively ignores the authentication
|
|
1424
|
+
in the spec for a single request.
|
|
1425
|
+
Default is None
|
|
1426
|
+
async_req (bool): execute request asynchronously
|
|
1427
|
+
|
|
1428
|
+
Returns:
|
|
1429
|
+
OrderResponse
|
|
1430
|
+
If the method is called asynchronously, returns the request
|
|
1431
|
+
thread.
|
|
1432
|
+
"""
|
|
1433
|
+
kwargs['async_req'] = kwargs.get(
|
|
1434
|
+
'async_req', False
|
|
1435
|
+
)
|
|
1436
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1437
|
+
'_return_http_data_only', True
|
|
1438
|
+
)
|
|
1439
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1440
|
+
'_preload_content', True
|
|
1441
|
+
)
|
|
1442
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1443
|
+
'_request_timeout', None
|
|
1444
|
+
)
|
|
1445
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1446
|
+
'_check_input_type', True
|
|
1447
|
+
)
|
|
1448
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1449
|
+
'_check_return_type', True
|
|
1450
|
+
)
|
|
1451
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1452
|
+
'_spec_property_naming', False
|
|
1453
|
+
)
|
|
1454
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1455
|
+
'_content_type')
|
|
1456
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1457
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1458
|
+
kwargs['order_id'] = \
|
|
1459
|
+
order_id
|
|
1460
|
+
return self.get_channel_partner_order_by_channel_partner_order_id_endpoint.call_with_http_info(**kwargs)
|
|
1461
|
+
|
|
1079
1462
|
def get_channel_partner_ship_to_preference(
|
|
1080
1463
|
self,
|
|
1081
1464
|
channel_partner_oid,
|
|
@@ -1494,6 +1877,101 @@ class ChannelPartnerApi(object):
|
|
|
1494
1877
|
ship_to_preference
|
|
1495
1878
|
return self.insert_channel_partner_ship_to_preference_endpoint.call_with_http_info(**kwargs)
|
|
1496
1879
|
|
|
1880
|
+
def refund_channel_partner_order(
|
|
1881
|
+
self,
|
|
1882
|
+
order_id,
|
|
1883
|
+
order,
|
|
1884
|
+
**kwargs
|
|
1885
|
+
):
|
|
1886
|
+
"""Refund a channel partner order # noqa: E501
|
|
1887
|
+
|
|
1888
|
+
Perform a refund operation on a channel partner order and then update the order if successful. All of the object properties ending in _refunded should be the TOTAL amount that should end up being refunded. UltraCart will calculate the actual amount to refund based upon the prior refunds. # noqa: E501
|
|
1889
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1890
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1891
|
+
|
|
1892
|
+
>>> thread = api.refund_channel_partner_order(order_id, order, async_req=True)
|
|
1893
|
+
>>> result = thread.get()
|
|
1894
|
+
|
|
1895
|
+
Args:
|
|
1896
|
+
order_id (str): The order id to refund.
|
|
1897
|
+
order (Order): Order to refund
|
|
1898
|
+
|
|
1899
|
+
Keyword Args:
|
|
1900
|
+
reject_after_refund (bool): Reject order after refund. [optional] if omitted the server will use the default value of False
|
|
1901
|
+
skip_customer_notification (bool): Skip customer email notification. [optional] if omitted the server will use the default value of False
|
|
1902
|
+
auto_order_cancel (bool): Cancel associated auto orders. [optional] if omitted the server will use the default value of False
|
|
1903
|
+
manual_refund (bool): Consider a manual refund done externally. [optional] if omitted the server will use the default value of False
|
|
1904
|
+
reverse_affiliate_transactions (bool): Reverse affiliate transactions. [optional] if omitted the server will use the default value of True
|
|
1905
|
+
issue_store_credit (bool): Issue a store credit instead of refunding the original payment method, loyalty must be configured on merchant account. [optional] if omitted the server will use the default value of False
|
|
1906
|
+
auto_order_cancel_reason (str): Reason for auto orders cancellation. [optional]
|
|
1907
|
+
expand (str): The object expansion to perform on the result. See OrderApi.refundOrder documentation for examples. [optional]
|
|
1908
|
+
_return_http_data_only (bool): response data without head status
|
|
1909
|
+
code and headers. Default is True.
|
|
1910
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
1911
|
+
will be returned without reading/decoding response data.
|
|
1912
|
+
Default is True.
|
|
1913
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
1914
|
+
one number provided, it will be total request timeout. It can also
|
|
1915
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
1916
|
+
Default is None.
|
|
1917
|
+
_check_input_type (bool): specifies if type checking
|
|
1918
|
+
should be done one the data sent to the server.
|
|
1919
|
+
Default is True.
|
|
1920
|
+
_check_return_type (bool): specifies if type checking
|
|
1921
|
+
should be done one the data received from the server.
|
|
1922
|
+
Default is True.
|
|
1923
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
1924
|
+
are serialized names, as specified in the OpenAPI document.
|
|
1925
|
+
False if the variable names in the input data
|
|
1926
|
+
are pythonic names, e.g. snake case (default)
|
|
1927
|
+
_content_type (str/None): force body content-type.
|
|
1928
|
+
Default is None and content-type will be predicted by allowed
|
|
1929
|
+
content-types and body.
|
|
1930
|
+
_host_index (int/None): specifies the index of the server
|
|
1931
|
+
that we want to use.
|
|
1932
|
+
Default is read from the configuration.
|
|
1933
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
1934
|
+
request; this effectively ignores the authentication
|
|
1935
|
+
in the spec for a single request.
|
|
1936
|
+
Default is None
|
|
1937
|
+
async_req (bool): execute request asynchronously
|
|
1938
|
+
|
|
1939
|
+
Returns:
|
|
1940
|
+
OrderResponse
|
|
1941
|
+
If the method is called asynchronously, returns the request
|
|
1942
|
+
thread.
|
|
1943
|
+
"""
|
|
1944
|
+
kwargs['async_req'] = kwargs.get(
|
|
1945
|
+
'async_req', False
|
|
1946
|
+
)
|
|
1947
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
1948
|
+
'_return_http_data_only', True
|
|
1949
|
+
)
|
|
1950
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
1951
|
+
'_preload_content', True
|
|
1952
|
+
)
|
|
1953
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
1954
|
+
'_request_timeout', None
|
|
1955
|
+
)
|
|
1956
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
1957
|
+
'_check_input_type', True
|
|
1958
|
+
)
|
|
1959
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
1960
|
+
'_check_return_type', True
|
|
1961
|
+
)
|
|
1962
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
1963
|
+
'_spec_property_naming', False
|
|
1964
|
+
)
|
|
1965
|
+
kwargs['_content_type'] = kwargs.get(
|
|
1966
|
+
'_content_type')
|
|
1967
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
1968
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
1969
|
+
kwargs['order_id'] = \
|
|
1970
|
+
order_id
|
|
1971
|
+
kwargs['order'] = \
|
|
1972
|
+
order
|
|
1973
|
+
return self.refund_channel_partner_order_endpoint.call_with_http_info(**kwargs)
|
|
1974
|
+
|
|
1497
1975
|
def update_channel_partner_ship_to_preference(
|
|
1498
1976
|
self,
|
|
1499
1977
|
channel_partner_oid,
|
ultracart/api_client.py
CHANGED
|
@@ -77,7 +77,7 @@ class ApiClient(object):
|
|
|
77
77
|
self.default_headers[header_name] = header_value
|
|
78
78
|
self.cookie = cookie
|
|
79
79
|
# Set default User-Agent.
|
|
80
|
-
self.user_agent = 'OpenAPI-Generator/4.0.
|
|
80
|
+
self.user_agent = 'OpenAPI-Generator/4.0.240/python'
|
|
81
81
|
|
|
82
82
|
def __enter__(self):
|
|
83
83
|
return self
|
ultracart/configuration.py
CHANGED
|
@@ -422,7 +422,7 @@ conf = ultracart.Configuration(
|
|
|
422
422
|
"OS: {env}\n"\
|
|
423
423
|
"Python Version: {pyversion}\n"\
|
|
424
424
|
"Version of the API: 2.0.0\n"\
|
|
425
|
-
"SDK Package Version: 4.0.
|
|
425
|
+
"SDK Package Version: 4.0.240".\
|
|
426
426
|
format(env=sys.platform, pyversion=sys.version)
|
|
427
427
|
|
|
428
428
|
def get_host_settings(self):
|
|
@@ -151,6 +151,7 @@ class CustomerQuery(ModelNormal):
|
|
|
151
151
|
'billing_postal_code': (str,), # noqa: E501
|
|
152
152
|
'billing_state': (str,), # noqa: E501
|
|
153
153
|
'email': (str,), # noqa: E501
|
|
154
|
+
'emails': ([str],), # noqa: E501
|
|
154
155
|
'last_modified_dts_end': (str,), # noqa: E501
|
|
155
156
|
'last_modified_dts_start': (str,), # noqa: E501
|
|
156
157
|
'pricing_tier_name': (str,), # noqa: E501
|
|
@@ -188,6 +189,7 @@ class CustomerQuery(ModelNormal):
|
|
|
188
189
|
'billing_postal_code': 'billing_postal_code', # noqa: E501
|
|
189
190
|
'billing_state': 'billing_state', # noqa: E501
|
|
190
191
|
'email': 'email', # noqa: E501
|
|
192
|
+
'emails': 'emails', # noqa: E501
|
|
191
193
|
'last_modified_dts_end': 'last_modified_dts_end', # noqa: E501
|
|
192
194
|
'last_modified_dts_start': 'last_modified_dts_start', # noqa: E501
|
|
193
195
|
'pricing_tier_name': 'pricing_tier_name', # noqa: E501
|
|
@@ -260,6 +262,7 @@ class CustomerQuery(ModelNormal):
|
|
|
260
262
|
billing_postal_code (str): Billing postal code. [optional] # noqa: E501
|
|
261
263
|
billing_state (str): Billing state. [optional] # noqa: E501
|
|
262
264
|
email (str): Email address of this customer profile. [optional] # noqa: E501
|
|
265
|
+
emails ([str]): Emails allows for searching on multiple email addresses and work with our without the single email variable. You may specify a single email address here or use the email property.. [optional] # noqa: E501
|
|
263
266
|
last_modified_dts_end (str): Last modified date end. [optional] # noqa: E501
|
|
264
267
|
last_modified_dts_start (str): Last modified date start. [optional] # noqa: E501
|
|
265
268
|
pricing_tier_name (str): Pricing tier name. [optional] # noqa: E501
|
|
@@ -374,6 +377,7 @@ class CustomerQuery(ModelNormal):
|
|
|
374
377
|
billing_postal_code (str): Billing postal code. [optional] # noqa: E501
|
|
375
378
|
billing_state (str): Billing state. [optional] # noqa: E501
|
|
376
379
|
email (str): Email address of this customer profile. [optional] # noqa: E501
|
|
380
|
+
emails ([str]): Emails allows for searching on multiple email addresses and work with our without the single email variable. You may specify a single email address here or use the email property.. [optional] # noqa: E501
|
|
377
381
|
last_modified_dts_end (str): Last modified date end. [optional] # noqa: E501
|
|
378
382
|
last_modified_dts_start (str): Last modified date start. [optional] # noqa: E501
|
|
379
383
|
pricing_tier_name (str): Pricing tier name. [optional] # noqa: E501
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
ultracart/__init__.py,sha256=
|
|
2
|
-
ultracart/api_client.py,sha256=
|
|
3
|
-
ultracart/configuration.py,sha256=
|
|
1
|
+
ultracart/__init__.py,sha256=D42QYtxgGnjOATfIW4eqqzlRB1uIGH2nfXyHyc_P6Tc,699
|
|
2
|
+
ultracart/api_client.py,sha256=6LG_Vk6qIRXgWN-kkjXv48v2Wl2a4TBpqxoGaeNJFzA,39072
|
|
3
|
+
ultracart/configuration.py,sha256=mwnb5gZJbNMrZQ7JzBuLePmodpkDes-zJsIiGP1LR0M,17842
|
|
4
4
|
ultracart/exceptions.py,sha256=dwRtrWJsW4H_jKk3B1w2chykcQ7E2FSlhftUByD9e9E,5069
|
|
5
5
|
ultracart/model_utils.py,sha256=X_RAfA-TlvDKBICnIve7PPVDM34Nl58aV1bqCrVmoTo,82574
|
|
6
6
|
ultracart/rest.py,sha256=2lM6zwrjGp_SjkddamoKdpk3jFuc8Ow7fKIXRdKNp24,14268
|
|
7
7
|
ultracart/api/__init__.py,sha256=M5v24jKFBCCBje15G0udcVQwqNCZsFU_-JgIf55tAP8,215
|
|
8
8
|
ultracart/api/affiliate_api.py,sha256=Rq7y9AAmN2gOT57qTulnMkr-W4SBboMrzKyM2SXT6R8,14519
|
|
9
9
|
ultracart/api/auto_order_api.py,sha256=PrBsBkt6uneTf07QHlF5kipjzGlbT44LMOP5pthc61w,66174
|
|
10
|
-
ultracart/api/channel_partner_api.py,sha256=
|
|
10
|
+
ultracart/api/channel_partner_api.py,sha256=CGEcolptRq79Wvkrd9FFe5Cp5ekHV0mLITHYLMVkOnE,84137
|
|
11
11
|
ultracart/api/chargeback_api.py,sha256=bC5LfbV1DuVMZhfCvkkog33VACDVk7W74JvlaXy5Nuc,32295
|
|
12
12
|
ultracart/api/checkout_api.py,sha256=KLZAsTMiY55AHDhubbNZYipBPGwihQbEsLDjIDzkLkQ,105889
|
|
13
13
|
ultracart/api/conversation_api.py,sha256=fwFvhCeMBGguLqXHZQF1UsKxIzgsCfrKPGDDOKl-llM,442575
|
|
@@ -344,7 +344,7 @@ ultracart/model/customer_orders_summary.py,sha256=lCGButYc-CuFiKJShZdpgAyBGk2cWg
|
|
|
344
344
|
ultracart/model/customer_pricing_tier.py,sha256=iHMlH4x9u02X_zMZHQNzF6FiQC094jThoDWz_a6dDuA,11754
|
|
345
345
|
ultracart/model/customer_privacy.py,sha256=wCID3fURf7_nVWvYWh2iqsH0vS95IVZKJogGnR9HPSo,12397
|
|
346
346
|
ultracart/model/customer_property.py,sha256=ZT8YgxeRD2rqnGrDdpXQISpqSws1V92t75hK4GUxjY8,12439
|
|
347
|
-
ultracart/model/customer_query.py,sha256=
|
|
347
|
+
ultracart/model/customer_query.py,sha256=Fbpz_Yiut4_merv5bJ7XzPgSQDBYJPxEw_MG96clE1s,21446
|
|
348
348
|
ultracart/model/customer_quotes_summary.py,sha256=XcNeyk9XrmmBMozA3oFaS1dL6puYmfw-YOt0jUhPSH8,12295
|
|
349
349
|
ultracart/model/customer_response.py,sha256=rU7LByz28p9-jpKZ2SmugUDiTr0ap5nUECIxfoU0rg8,12764
|
|
350
350
|
ultracart/model/customer_reviewer.py,sha256=V16VIlylgzyV1AWalalbwWj_0d4cq42e2Ur11QZb2sE,14096
|
|
@@ -883,8 +883,8 @@ ultracart/model/workflow_user.py,sha256=gkQIeMSIhawpz5wtpTJ8Lof_Td0IrwG0KZF6catE
|
|
|
883
883
|
ultracart/model/workflow_user_response.py,sha256=TKfMu5vF1fXlV8mvxRFhvk6WNdGce2T8a4vFycQvuhQ,12785
|
|
884
884
|
ultracart/model/workflow_users_response.py,sha256=3Y7L1oHc2-HOvl1pDdcnl9xHKYLGblKpKdbkPBh2u68,13059
|
|
885
885
|
ultracart/models/__init__.py,sha256=5w0sm-4hP3O2vuflMmlb19tOWigMwoSgdhRPItFqPAQ,65888
|
|
886
|
-
ultracart_rest_sdk-4.0.
|
|
887
|
-
ultracart_rest_sdk-4.0.
|
|
888
|
-
ultracart_rest_sdk-4.0.
|
|
889
|
-
ultracart_rest_sdk-4.0.
|
|
890
|
-
ultracart_rest_sdk-4.0.
|
|
886
|
+
ultracart_rest_sdk-4.0.240.dist-info/LICENSE,sha256=4DukHX-rIHAHaf5BGLq1DYAMt0-ZA1OgXS9f_xwig2M,11558
|
|
887
|
+
ultracart_rest_sdk-4.0.240.dist-info/METADATA,sha256=D8yUGqbkkxZ-L0rmM_TyBT8zqse0jK57bzr6BwZP-E4,403
|
|
888
|
+
ultracart_rest_sdk-4.0.240.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
|
|
889
|
+
ultracart_rest_sdk-4.0.240.dist-info/top_level.txt,sha256=90IoRqV6KX58jTyx9MwEBqh4j38_10hWrrvqsmXWZYo,10
|
|
890
|
+
ultracart_rest_sdk-4.0.240.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|