ultracart_api 3.10.14 → 3.10.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +53 -97
- data/docs/ChannelPartnerApi.md +51 -0
- data/docs/{DelayAutoOrdersResponse.md → ChannelPartnerEstimateTaxResponse.md} +2 -2
- data/docs/ChargebackApi.md +1 -1
- data/docs/CustomerActivity.md +4 -0
- data/docs/CustomerApi.md +58 -1
- data/docs/CustomerMergeRequest.md +9 -0
- data/docs/OrderApi.md +1 -1
- data/docs/SsoApi.md +2 -2
- data/docs/UserApi.md +2 -2
- data/docs/WebhookApi.md +1 -1
- data/lib/ultracart_api/api/channel_partner_api.rb +55 -0
- data/lib/ultracart_api/api/chargeback_api.rb +1 -1
- data/lib/ultracart_api/api/customer_api.rb +64 -1
- data/lib/ultracart_api/api/order_api.rb +1 -1
- data/lib/ultracart_api/api/sso_api.rb +2 -2
- data/lib/ultracart_api/api/user_api.rb +2 -2
- data/lib/ultracart_api/api/webhook_api.rb +1 -1
- data/lib/ultracart_api/models/{stripe_connect_response.rb → channel_partner_estimate_tax_response.rb} +8 -8
- data/lib/ultracart_api/models/customer_activity.rb +40 -4
- data/lib/ultracart_api/models/{payments_configuration_cash.rb → customer_merge_request.rb} +16 -15
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +2 -39
- metadata +6 -80
- data/docs/ConfigurationApi.md +0 -756
- data/docs/PaymentsConfiguration.md +0 -24
- data/docs/PaymentsConfigurationAffirm.md +0 -15
- data/docs/PaymentsConfigurationAmazon.md +0 -15
- data/docs/PaymentsConfigurationCOD.md +0 -13
- data/docs/PaymentsConfigurationCash.md +0 -9
- data/docs/PaymentsConfigurationCheck.md +0 -19
- data/docs/PaymentsConfigurationCreditCard.md +0 -17
- data/docs/PaymentsConfigurationCreditCardType.md +0 -18
- data/docs/PaymentsConfigurationEcheck.md +0 -12
- data/docs/PaymentsConfigurationInsurance.md +0 -9
- data/docs/PaymentsConfigurationLoanHero.md +0 -12
- data/docs/PaymentsConfigurationMoneyOrder.md +0 -11
- data/docs/PaymentsConfigurationPayPal.md +0 -36
- data/docs/PaymentsConfigurationPurchaseOrder.md +0 -11
- data/docs/PaymentsConfigurationQuoteRequest.md +0 -10
- data/docs/PaymentsConfigurationResponse.md +0 -12
- data/docs/PaymentsConfigurationRestrictions.md +0 -21
- data/docs/PaymentsConfigurationRestrictionsTheme.md +0 -10
- data/docs/PaymentsConfigurationSezzle.md +0 -15
- data/docs/PaymentsConfigurationTestMethod.md +0 -18
- data/docs/PaymentsConfigurationWePay.md +0 -35
- data/docs/PaymentsConfigurationWireTransfer.md +0 -18
- data/docs/PaymentsThemeTransactionType.md +0 -10
- data/docs/PaymentsWepayEnroll.md +0 -22
- data/docs/RotatingTransactionGateway.md +0 -51
- data/docs/RotatingTransactionGatewayResponse.md +0 -12
- data/docs/RotatingTransactionGatewaysResponse.md +0 -12
- data/docs/RtgCurrency.md +0 -10
- data/docs/RtgDayOfMonthRestriction.md +0 -9
- data/docs/RtgDayOfWeekRestriction.md +0 -10
- data/docs/RtgSummaryGateway.md +0 -24
- data/docs/RtgSummaryResponse.md +0 -14
- data/docs/RtgThemeRestriction.md +0 -10
- data/docs/StripeConnectResponse.md +0 -12
- data/docs/TransactionGateway.md +0 -71
- data/docs/TransactionGatewaysRequest.md +0 -10
- data/docs/TransactionGatewaysResponse.md +0 -12
- data/lib/ultracart_api/api/configuration_api.rb +0 -843
- data/lib/ultracart_api/models/delay_auto_orders_response.rb +0 -221
- data/lib/ultracart_api/models/payments_configuration.rb +0 -329
- data/lib/ultracart_api/models/payments_configuration_affirm.rb +0 -288
- data/lib/ultracart_api/models/payments_configuration_amazon.rb +0 -288
- data/lib/ultracart_api/models/payments_configuration_check.rb +0 -294
- data/lib/ultracart_api/models/payments_configuration_cod.rb +0 -234
- data/lib/ultracart_api/models/payments_configuration_credit_card.rb +0 -279
- data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +0 -318
- data/lib/ultracart_api/models/payments_configuration_echeck.rb +0 -226
- data/lib/ultracart_api/models/payments_configuration_insurance.rb +0 -194
- data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +0 -224
- data/lib/ultracart_api/models/payments_configuration_money_order.rb +0 -214
- data/lib/ultracart_api/models/payments_configuration_pay_pal.rb +0 -534
- data/lib/ultracart_api/models/payments_configuration_purchase_order.rb +0 -214
- data/lib/ultracart_api/models/payments_configuration_quote_request.rb +0 -204
- data/lib/ultracart_api/models/payments_configuration_response.rb +0 -221
- data/lib/ultracart_api/models/payments_configuration_restrictions.rb +0 -447
- data/lib/ultracart_api/models/payments_configuration_restrictions_theme.rb +0 -202
- data/lib/ultracart_api/models/payments_configuration_sezzle.rb +0 -288
- data/lib/ultracart_api/models/payments_configuration_test_method.rb +0 -319
- data/lib/ultracart_api/models/payments_configuration_we_pay.rb +0 -454
- data/lib/ultracart_api/models/payments_configuration_wire_transfer.rb +0 -284
- data/lib/ultracart_api/models/payments_theme_transaction_type.rb +0 -239
- data/lib/ultracart_api/models/payments_wepay_enroll.rb +0 -310
- data/lib/ultracart_api/models/rotating_transaction_gateway.rb +0 -675
- data/lib/ultracart_api/models/rotating_transaction_gateway_response.rb +0 -221
- data/lib/ultracart_api/models/rotating_transaction_gateways_response.rb +0 -223
- data/lib/ultracart_api/models/rtg_currency.rb +0 -205
- data/lib/ultracart_api/models/rtg_day_of_month_restriction.rb +0 -195
- data/lib/ultracart_api/models/rtg_day_of_week_restriction.rb +0 -205
- data/lib/ultracart_api/models/rtg_summary_gateway.rb +0 -329
- data/lib/ultracart_api/models/rtg_summary_response.rb +0 -240
- data/lib/ultracart_api/models/rtg_theme_restriction.rb +0 -239
- data/lib/ultracart_api/models/transaction_gateway.rb +0 -823
- data/lib/ultracart_api/models/transaction_gateways_request.rb +0 -242
- data/lib/ultracart_api/models/transaction_gateways_response.rb +0 -223
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78041697c0613ab2caadfefb31ad7a5ed74ef26b644376b2c07d3d737ba32308
|
4
|
+
data.tar.gz: 87082c912aed8bece9e24491980059f8b6485d33b11ec69fdf923619c7313899
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cdfd1a35882a63c43116c799cd4a2e2329dd13d4292796d67e85467fbfa027e245e589dd51a8ee991e9e170f02c66ed413e0e30a19827bf802f9192ca522561
|
7
|
+
data.tar.gz: 5ae21465d11beda5648a6b3363b671d671303ab5802d6f2709eee2411e4b2a42b67a1640ca20633daca5484e61207c8592e2c6a3325ff966b0fe9cfd209582ba
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 3.10.
|
10
|
+
- Package version: 3.10.19
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-3.10.
|
27
|
+
gem install ./ultracart_api-3.10.19.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.19.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ultracart_api', '~> 3.10.
|
35
|
+
gem 'ultracart_api', '~> 3.10.19'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -99,6 +99,7 @@ Class | Method | HTTP request | Description
|
|
99
99
|
*UltracartClient::ChannelPartnerApi* | [**cancel_order_by_channel_partner_order_id**](docs/ChannelPartnerApi.md#cancel_order_by_channel_partner_order_id) | **DELETE** /channel_partner/cancel/by_channel_partner_order_id/{order_id} | Cancel channel partner order by channel partner order id
|
100
100
|
*UltracartClient::ChannelPartnerApi* | [**cancel_order_by_ultra_cart_order_id**](docs/ChannelPartnerApi.md#cancel_order_by_ultra_cart_order_id) | **DELETE** /channel_partner/cancel/by_ultracart_order_id/{order_id} | Cancel channel partner order by UltraCart order id
|
101
101
|
*UltracartClient::ChannelPartnerApi* | [**estimate_shipping_for_channel_partner_order**](docs/ChannelPartnerApi.md#estimate_shipping_for_channel_partner_order) | **POST** /channel_partner/estimate_shipping | Estimate shipping for channel partner order
|
102
|
+
*UltracartClient::ChannelPartnerApi* | [**estimate_tax_for_channel_partner_order**](docs/ChannelPartnerApi.md#estimate_tax_for_channel_partner_order) | **POST** /channel_partner/estimate_tax | Estimate tax for channel partner order
|
102
103
|
*UltracartClient::ChannelPartnerApi* | [**import_channel_partner_order**](docs/ChannelPartnerApi.md#import_channel_partner_order) | **POST** /channel_partner/import | Insert channel partner order
|
103
104
|
*UltracartClient::ChargebackApi* | [**delete_chargeback**](docs/ChargebackApi.md#delete_chargeback) | **DELETE** /chargeback/chargebacks/{chargeback_dispute_oid} | Delete a chargeback
|
104
105
|
*UltracartClient::ChargebackApi* | [**get_chargeback_dispute**](docs/ChargebackApi.md#get_chargeback_dispute) | **GET** /chargeback/chargebacks/{chargeback_dispute_oid} | Retrieve a chargeback
|
@@ -124,21 +125,6 @@ Class | Method | HTTP request | Description
|
|
124
125
|
*UltracartClient::CheckoutApi* | [**setup_browser_key**](docs/CheckoutApi.md#setup_browser_key) | **PUT** /checkout/browser_key | Setup Browser Application
|
125
126
|
*UltracartClient::CheckoutApi* | [**update_cart**](docs/CheckoutApi.md#update_cart) | **PUT** /checkout/cart | Update cart
|
126
127
|
*UltracartClient::CheckoutApi* | [**validate_cart**](docs/CheckoutApi.md#validate_cart) | **POST** /checkout/cart/validate | Validate
|
127
|
-
*UltracartClient::ConfigurationApi* | [**delay_auto_orders**](docs/ConfigurationApi.md#delay_auto_orders) | **POST** /configuration/checkout/payments/rtg/{rtg_oid}/delayAutoOrders | Delay auto order processing for a day for this rotating transaction gateway
|
128
|
-
*UltracartClient::ConfigurationApi* | [**delete_rotating_transaction_gateway**](docs/ConfigurationApi.md#delete_rotating_transaction_gateway) | **DELETE** /configuration/checkout/payments/rtg/{rtg_oid} | Delete a rotating transaction gateway
|
129
|
-
*UltracartClient::ConfigurationApi* | [**get_payments_configuration**](docs/ConfigurationApi.md#get_payments_configuration) | **GET** /configuration/checkout/payments | Retrieve payments configuration
|
130
|
-
*UltracartClient::ConfigurationApi* | [**get_payments_rotating_gateway**](docs/ConfigurationApi.md#get_payments_rotating_gateway) | **GET** /configuration/checkout/payments/rtg/{rtg_oid} | Retrieve a rotating transaction gateway
|
131
|
-
*UltracartClient::ConfigurationApi* | [**get_payments_rotating_gateway_by_code**](docs/ConfigurationApi.md#get_payments_rotating_gateway_by_code) | **GET** /configuration/checkout/payments/rtg/byCode/{code} | Retrieve a rotating transaction gateway by code
|
132
|
-
*UltracartClient::ConfigurationApi* | [**get_payments_rotating_transaction_gateways**](docs/ConfigurationApi.md#get_payments_rotating_transaction_gateways) | **GET** /configuration/checkout/payments/rtg | Retrieve a list of rotating transaction gateways
|
133
|
-
*UltracartClient::ConfigurationApi* | [**get_payments_rtg_summaries**](docs/ConfigurationApi.md#get_payments_rtg_summaries) | **GET** /configuration/checkout/payments/rtg/summaries | Retrieve a summary of rotating transaction gateways
|
134
|
-
*UltracartClient::ConfigurationApi* | [**get_payments_transaction_gateways**](docs/ConfigurationApi.md#get_payments_transaction_gateways) | **GET** /configuration/checkout/payments/tg | Retrieve a list of transaction gateways
|
135
|
-
*UltracartClient::ConfigurationApi* | [**insert_rotating_transaction_gateway**](docs/ConfigurationApi.md#insert_rotating_transaction_gateway) | **POST** /configuration/checkout/payments/rtg/ | Insert a rotating transaction gateway
|
136
|
-
*UltracartClient::ConfigurationApi* | [**migrate_to_rotating_transaction_gateway**](docs/ConfigurationApi.md#migrate_to_rotating_transaction_gateway) | **POST** /configuration/checkout/payments/tg/migrateToRtgWithCodeOf/{code} | Migrate a normal transaction gateway to a rotating transaction gateway
|
137
|
-
*UltracartClient::ConfigurationApi* | [**stripe_connect**](docs/ConfigurationApi.md#stripe_connect) | **POST** /configuration/checkout/payments/rtg/{rtg_oid}/stripeConnect | Begin the processing of connecting with Stripe
|
138
|
-
*UltracartClient::ConfigurationApi* | [**update_payments_configuration**](docs/ConfigurationApi.md#update_payments_configuration) | **PUT** /configuration/checkout/payments | Updates payments configuration
|
139
|
-
*UltracartClient::ConfigurationApi* | [**update_payments_transaction_gateway**](docs/ConfigurationApi.md#update_payments_transaction_gateway) | **PUT** /configuration/checkout/payments/tg | Updates payments transaction gateway
|
140
|
-
*UltracartClient::ConfigurationApi* | [**update_rotating_transaction_gateway**](docs/ConfigurationApi.md#update_rotating_transaction_gateway) | **PUT** /configuration/checkout/payments/rtg/{rtg_oid} | Update a rotating transaction gateway
|
141
|
-
*UltracartClient::ConfigurationApi* | [**wepay_enroll**](docs/ConfigurationApi.md#wepay_enroll) | **PUT** /configuration/checkout/wepayEnroll | Enroll with WePay
|
142
128
|
*UltracartClient::CouponApi* | [**delete_coupon**](docs/CouponApi.md#delete_coupon) | **DELETE** /coupon/coupons/{coupon_oid} | Delete a coupon
|
143
129
|
*UltracartClient::CouponApi* | [**delete_coupons_by_code**](docs/CouponApi.md#delete_coupons_by_code) | **DELETE** /coupon/coupons/by_code | Deletes multiple coupons
|
144
130
|
*UltracartClient::CouponApi* | [**delete_coupons_by_oid**](docs/CouponApi.md#delete_coupons_by_oid) | **DELETE** /coupon/coupons/by_oid | Deletes multiple coupons
|
@@ -171,6 +157,7 @@ Class | Method | HTTP request | Description
|
|
171
157
|
*UltracartClient::CustomerApi* | [**get_customers_for_data_tables**](docs/CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
|
172
158
|
*UltracartClient::CustomerApi* | [**get_email_verification_token**](docs/CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address
|
173
159
|
*UltracartClient::CustomerApi* | [**insert_customer**](docs/CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
|
160
|
+
*UltracartClient::CustomerApi* | [**merge_customer**](docs/CustomerApi.md#merge_customer) | **PUT** /customer/customers/{customer_profile_oid}/merge | Merge customer into this customer
|
174
161
|
*UltracartClient::CustomerApi* | [**search_customer_profile_values**](docs/CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
|
175
162
|
*UltracartClient::CustomerApi* | [**update_customer**](docs/CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer
|
176
163
|
*UltracartClient::CustomerApi* | [**update_customer_email_lists**](docs/CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer
|
@@ -543,6 +530,7 @@ Class | Method | HTTP request | Description
|
|
543
530
|
- [UltracartClient::CartValidationResponse](docs/CartValidationResponse.md)
|
544
531
|
- [UltracartClient::ChannelPartnerCancelResponse](docs/ChannelPartnerCancelResponse.md)
|
545
532
|
- [UltracartClient::ChannelPartnerEstimateShippingResponse](docs/ChannelPartnerEstimateShippingResponse.md)
|
533
|
+
- [UltracartClient::ChannelPartnerEstimateTaxResponse](docs/ChannelPartnerEstimateTaxResponse.md)
|
546
534
|
- [UltracartClient::ChannelPartnerImportResponse](docs/ChannelPartnerImportResponse.md)
|
547
535
|
- [UltracartClient::ChannelPartnerOrder](docs/ChannelPartnerOrder.md)
|
548
536
|
- [UltracartClient::ChannelPartnerOrderItem](docs/ChannelPartnerOrderItem.md)
|
@@ -638,6 +626,7 @@ Class | Method | HTTP request | Description
|
|
638
626
|
- [UltracartClient::CustomerLoyalty](docs/CustomerLoyalty.md)
|
639
627
|
- [UltracartClient::CustomerLoyaltyLedger](docs/CustomerLoyaltyLedger.md)
|
640
628
|
- [UltracartClient::CustomerLoyaltyRedemption](docs/CustomerLoyaltyRedemption.md)
|
629
|
+
- [UltracartClient::CustomerMergeRequest](docs/CustomerMergeRequest.md)
|
641
630
|
- [UltracartClient::CustomerOrdersSummary](docs/CustomerOrdersSummary.md)
|
642
631
|
- [UltracartClient::CustomerPricingTier](docs/CustomerPricingTier.md)
|
643
632
|
- [UltracartClient::CustomerPrivacy](docs/CustomerPrivacy.md)
|
@@ -655,7 +644,6 @@ Class | Method | HTTP request | Description
|
|
655
644
|
- [UltracartClient::CustomerTaxCodes](docs/CustomerTaxCodes.md)
|
656
645
|
- [UltracartClient::CustomersResponse](docs/CustomersResponse.md)
|
657
646
|
- [UltracartClient::DataTablesServerSideResponse](docs/DataTablesServerSideResponse.md)
|
658
|
-
- [UltracartClient::DelayAutoOrdersResponse](docs/DelayAutoOrdersResponse.md)
|
659
647
|
- [UltracartClient::Distance](docs/Distance.md)
|
660
648
|
- [UltracartClient::DistributionCenter](docs/DistributionCenter.md)
|
661
649
|
- [UltracartClient::DistributionCentersResponse](docs/DistributionCentersResponse.md)
|
@@ -955,30 +943,6 @@ Class | Method | HTTP request | Description
|
|
955
943
|
- [UltracartClient::OrderTrackingNumberDetail](docs/OrderTrackingNumberDetail.md)
|
956
944
|
- [UltracartClient::OrderTrackingNumberDetails](docs/OrderTrackingNumberDetails.md)
|
957
945
|
- [UltracartClient::OrdersResponse](docs/OrdersResponse.md)
|
958
|
-
- [UltracartClient::PaymentsConfiguration](docs/PaymentsConfiguration.md)
|
959
|
-
- [UltracartClient::PaymentsConfigurationAffirm](docs/PaymentsConfigurationAffirm.md)
|
960
|
-
- [UltracartClient::PaymentsConfigurationAmazon](docs/PaymentsConfigurationAmazon.md)
|
961
|
-
- [UltracartClient::PaymentsConfigurationCOD](docs/PaymentsConfigurationCOD.md)
|
962
|
-
- [UltracartClient::PaymentsConfigurationCash](docs/PaymentsConfigurationCash.md)
|
963
|
-
- [UltracartClient::PaymentsConfigurationCheck](docs/PaymentsConfigurationCheck.md)
|
964
|
-
- [UltracartClient::PaymentsConfigurationCreditCard](docs/PaymentsConfigurationCreditCard.md)
|
965
|
-
- [UltracartClient::PaymentsConfigurationCreditCardType](docs/PaymentsConfigurationCreditCardType.md)
|
966
|
-
- [UltracartClient::PaymentsConfigurationEcheck](docs/PaymentsConfigurationEcheck.md)
|
967
|
-
- [UltracartClient::PaymentsConfigurationInsurance](docs/PaymentsConfigurationInsurance.md)
|
968
|
-
- [UltracartClient::PaymentsConfigurationLoanHero](docs/PaymentsConfigurationLoanHero.md)
|
969
|
-
- [UltracartClient::PaymentsConfigurationMoneyOrder](docs/PaymentsConfigurationMoneyOrder.md)
|
970
|
-
- [UltracartClient::PaymentsConfigurationPayPal](docs/PaymentsConfigurationPayPal.md)
|
971
|
-
- [UltracartClient::PaymentsConfigurationPurchaseOrder](docs/PaymentsConfigurationPurchaseOrder.md)
|
972
|
-
- [UltracartClient::PaymentsConfigurationQuoteRequest](docs/PaymentsConfigurationQuoteRequest.md)
|
973
|
-
- [UltracartClient::PaymentsConfigurationResponse](docs/PaymentsConfigurationResponse.md)
|
974
|
-
- [UltracartClient::PaymentsConfigurationRestrictions](docs/PaymentsConfigurationRestrictions.md)
|
975
|
-
- [UltracartClient::PaymentsConfigurationRestrictionsTheme](docs/PaymentsConfigurationRestrictionsTheme.md)
|
976
|
-
- [UltracartClient::PaymentsConfigurationSezzle](docs/PaymentsConfigurationSezzle.md)
|
977
|
-
- [UltracartClient::PaymentsConfigurationTestMethod](docs/PaymentsConfigurationTestMethod.md)
|
978
|
-
- [UltracartClient::PaymentsConfigurationWePay](docs/PaymentsConfigurationWePay.md)
|
979
|
-
- [UltracartClient::PaymentsConfigurationWireTransfer](docs/PaymentsConfigurationWireTransfer.md)
|
980
|
-
- [UltracartClient::PaymentsThemeTransactionType](docs/PaymentsThemeTransactionType.md)
|
981
|
-
- [UltracartClient::PaymentsWepayEnroll](docs/PaymentsWepayEnroll.md)
|
982
946
|
- [UltracartClient::Permission](docs/Permission.md)
|
983
947
|
- [UltracartClient::PricingTier](docs/PricingTier.md)
|
984
948
|
- [UltracartClient::PricingTierNotification](docs/PricingTierNotification.md)
|
@@ -989,15 +953,6 @@ Class | Method | HTTP request | Description
|
|
989
953
|
- [UltracartClient::RegisterAffiliateClickResponse](docs/RegisterAffiliateClickResponse.md)
|
990
954
|
- [UltracartClient::ResponseMetadata](docs/ResponseMetadata.md)
|
991
955
|
- [UltracartClient::ResultSet](docs/ResultSet.md)
|
992
|
-
- [UltracartClient::RotatingTransactionGateway](docs/RotatingTransactionGateway.md)
|
993
|
-
- [UltracartClient::RotatingTransactionGatewayResponse](docs/RotatingTransactionGatewayResponse.md)
|
994
|
-
- [UltracartClient::RotatingTransactionGatewaysResponse](docs/RotatingTransactionGatewaysResponse.md)
|
995
|
-
- [UltracartClient::RtgCurrency](docs/RtgCurrency.md)
|
996
|
-
- [UltracartClient::RtgDayOfMonthRestriction](docs/RtgDayOfMonthRestriction.md)
|
997
|
-
- [UltracartClient::RtgDayOfWeekRestriction](docs/RtgDayOfWeekRestriction.md)
|
998
|
-
- [UltracartClient::RtgSummaryGateway](docs/RtgSummaryGateway.md)
|
999
|
-
- [UltracartClient::RtgSummaryResponse](docs/RtgSummaryResponse.md)
|
1000
|
-
- [UltracartClient::RtgThemeRestriction](docs/RtgThemeRestriction.md)
|
1001
956
|
- [UltracartClient::ScreenRecording](docs/ScreenRecording.md)
|
1002
957
|
- [UltracartClient::ScreenRecordingAdPlatform](docs/ScreenRecordingAdPlatform.md)
|
1003
958
|
- [UltracartClient::ScreenRecordingFilter](docs/ScreenRecordingFilter.md)
|
@@ -1056,7 +1011,6 @@ Class | Method | HTTP request | Description
|
|
1056
1011
|
- [UltracartClient::SovosConfig](docs/SovosConfig.md)
|
1057
1012
|
- [UltracartClient::StateProvince](docs/StateProvince.md)
|
1058
1013
|
- [UltracartClient::StepWaiting](docs/StepWaiting.md)
|
1059
|
-
- [UltracartClient::StripeConnectResponse](docs/StripeConnectResponse.md)
|
1060
1014
|
- [UltracartClient::TaxCity](docs/TaxCity.md)
|
1061
1015
|
- [UltracartClient::TaxCountry](docs/TaxCountry.md)
|
1062
1016
|
- [UltracartClient::TaxCountryCode](docs/TaxCountryCode.md)
|
@@ -1086,9 +1040,6 @@ Class | Method | HTTP request | Description
|
|
1086
1040
|
- [UltracartClient::TransactionEmailListResponse](docs/TransactionEmailListResponse.md)
|
1087
1041
|
- [UltracartClient::TransactionEmailOption](docs/TransactionEmailOption.md)
|
1088
1042
|
- [UltracartClient::TransactionEmailResponse](docs/TransactionEmailResponse.md)
|
1089
|
-
- [UltracartClient::TransactionGateway](docs/TransactionGateway.md)
|
1090
|
-
- [UltracartClient::TransactionGatewaysRequest](docs/TransactionGatewaysRequest.md)
|
1091
|
-
- [UltracartClient::TransactionGatewaysResponse](docs/TransactionGatewaysResponse.md)
|
1092
1043
|
- [UltracartClient::Twilio](docs/Twilio.md)
|
1093
1044
|
- [UltracartClient::TwilioResponse](docs/TwilioResponse.md)
|
1094
1045
|
- [UltracartClient::TwiliosResponse](docs/TwiliosResponse.md)
|
@@ -1182,46 +1133,51 @@ Class | Method | HTTP request | Description
|
|
1182
1133
|
Not every change is committed to every SDK.
|
1183
1134
|
|
1184
1135
|
| Version | Date | Comments |
|
1185
|
-
| --: | :-: | --- |
|
1186
|
-
| 3.10.
|
1187
|
-
| 3.10.
|
1188
|
-
| 3.10.
|
1189
|
-
| 3.10.
|
1190
|
-
| 3.10.
|
1191
|
-
| 3.10.
|
1192
|
-
| 3.10.
|
1193
|
-
| 3.10.
|
1194
|
-
| 3.10.
|
1195
|
-
| 3.10.
|
1196
|
-
| 3.10.
|
1197
|
-
| 3.10.
|
1198
|
-
| 3.10.
|
1199
|
-
| 3.10.
|
1200
|
-
| 3.10.
|
1201
|
-
| 3.
|
1202
|
-
| 3.
|
1203
|
-
| 3.
|
1204
|
-
| 3.
|
1205
|
-
| 3.
|
1206
|
-
| 3.9.
|
1207
|
-
| 3.9.
|
1208
|
-
| 3.9.
|
1209
|
-
| 3.9.
|
1210
|
-
| 3.
|
1211
|
-
| 3.
|
1212
|
-
| 3.
|
1213
|
-
| 3.
|
1214
|
-
| 3.
|
1215
|
-
| 3.8.
|
1216
|
-
| 3.8.
|
1217
|
-
| 3.
|
1218
|
-
| 3.
|
1219
|
-
| 3.
|
1220
|
-
| 3.
|
1221
|
-
| 3.
|
1222
|
-
| 3.
|
1223
|
-
| 3.6.
|
1224
|
-
| 3.6.
|
1136
|
+
| --: | :-: | --- |
|
1137
|
+
| 3.10.19 | 07/11/2022 | Customer API - mergeCustomer method |
|
1138
|
+
| 3.10.18 | 06/23/2022 | removed unneeded consumes declarations on several api calls (yaml fix) |
|
1139
|
+
| 3.10.17 | 06/23/2022 | automation test |
|
1140
|
+
| 3.10.16 | 06/23/2022 | automation test |
|
1141
|
+
| 3.10.15 | 06/21/2022 | ChannelPartnerApi.estimateShipping |
|
1142
|
+
| 3.10.14 | 06/16/2022 | added createEmailSendingDomain2 to support additional MTAs |
|
1143
|
+
| 3.10.13 | 06/16/2022 | renamed latest method to avoid conflict between customer profile search and storefront search |
|
1144
|
+
| 3.10.12 | 06/16/2022 | Customer profile search method to look up tags |
|
1145
|
+
| 3.10.11 | 06/10/2022 | esp segment 3rd party sync add/remove tag fields |
|
1146
|
+
| 3.10.10 | 06/06/2022 | storefront communication options for syncing to third party provider list |
|
1147
|
+
| 3.10.9 | 06/01/2022 | bug fixes for customer profile store credit |
|
1148
|
+
| 3.10.8 | 05/27/2022 | customer store credit |
|
1149
|
+
| 3.10.7 | 05/23/2022 | add internal gift cert to order summary, addl provider info for storefront comm |
|
1150
|
+
| 3.10.6 | 05/23/2022 | add internal gift cert to order summary, addl provider info for storefront comm |
|
1151
|
+
| 3.10.5 | 05/20/2022 | dependabot on java gson version |
|
1152
|
+
| 3.10.4 | 05/20/2022 | dependabot on java gson |
|
1153
|
+
| 3.10.3 | 05/20/2022 | OrderApi.generatePackingSkip calls had wrong return type |
|
1154
|
+
| 3.10.2 | 05/12/2022 | ChannelPartnerApi renamed one of the delete methods |
|
1155
|
+
| 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
|
1156
|
+
| 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
|
1157
|
+
| 3.9.8 | 04/26/2022 | OrderApi.duplicateOrder |
|
1158
|
+
| 3.9.7 | 04/25/2022 | integration logs method for zpl to pdf conversion |
|
1159
|
+
| 3.9.6 | 04/25/2022 | storefront communications email magic link setting |
|
1160
|
+
| 3.9.5 | 04/14/2022 | postcard screenshot bug fixes |
|
1161
|
+
| 3.9.4 | 04/13/2022 | Added spf DNS record to the sending domain object |
|
1162
|
+
| 3.9.3 | 04/06/2022 | fix return object on send webhook test method |
|
1163
|
+
| 3.9.2 | 04/04/2022 | user.email field extended and postcard screenshot fields |
|
1164
|
+
| 3.9.1 | 03/03/2022 | javascript sdk package.json bug fix |
|
1165
|
+
| 3.9.0 | 03/03/2022 | removed ultra_cart_rest_api_v2.d.ts from javascript sdk because typescript sdk exists now |
|
1166
|
+
| 3.8.8 | 03/02/2022 | bug fix for ruby sdk, uri.escape deprecated in 3.x |
|
1167
|
+
| 3.8.7 | 03/02/2022 | bug fix for ruby sdk, uri.escape deprecated in 3.x |
|
1168
|
+
| 3.8.6 | 03/02/2022 | bug fix for ruby sdk, uri.escape deprecated in 3.x |
|
1169
|
+
| 3.8.5 | 02/25/2022 | new coupon for fixed cost shipping method |
|
1170
|
+
| 3.8.2 | 02/16/2022 | create gift certificate method was missing email |
|
1171
|
+
| 3.8.1 | 02/16/2022 | auto order item level pause flag |
|
1172
|
+
| 3.8.0 | 02/16/2022 | gift certificate api (testing) |
|
1173
|
+
| 3.7.38 | 02/15/2022 | gift certificate api (currently in testing) |
|
1174
|
+
| 3.6.38 | 02/07/2022 | Exposed auto order logs |
|
1175
|
+
| 3.6.37 | 02/04/2022 | insurance type for insurance payments |
|
1176
|
+
| 3.6.36 | 12/29/2021 | Mail actual post card flag added to test method |
|
1177
|
+
| 3.6.35 | 12/14/2021 | Add cancel_auto_order option to the accounts receivable retry configuration |
|
1178
|
+
| 3.6.34 | 12/14/2021 | add evening phone E.164 fields to order billing/shipping objects |
|
1179
|
+
| 3.6.33 | 12/13/2021 | automation testing |
|
1180
|
+
| 3.6.32 | 12/10/2021 | testing automation - message 4 |
|
1225
1181
|
| 3.6.25 | 12/06/2021 | sdk automation testing. no changes to actual sdk |
|
1226
1182
|
| 3.6.24 | 11/30/2021 | return items_invalid_for_coupons for CouponResponse object to drive UI warnings |
|
1227
1183
|
| 3.6.23 | 11/29/2021 | Item auto order prohibit cards that expire in months setting. |
|
data/docs/ChannelPartnerApi.md
CHANGED
@@ -7,6 +7,7 @@ Method | HTTP request | Description
|
|
7
7
|
[**cancel_order_by_channel_partner_order_id**](ChannelPartnerApi.md#cancel_order_by_channel_partner_order_id) | **DELETE** /channel_partner/cancel/by_channel_partner_order_id/{order_id} | Cancel channel partner order by channel partner order id
|
8
8
|
[**cancel_order_by_ultra_cart_order_id**](ChannelPartnerApi.md#cancel_order_by_ultra_cart_order_id) | **DELETE** /channel_partner/cancel/by_ultracart_order_id/{order_id} | Cancel channel partner order by UltraCart order id
|
9
9
|
[**estimate_shipping_for_channel_partner_order**](ChannelPartnerApi.md#estimate_shipping_for_channel_partner_order) | **POST** /channel_partner/estimate_shipping | Estimate shipping for channel partner order
|
10
|
+
[**estimate_tax_for_channel_partner_order**](ChannelPartnerApi.md#estimate_tax_for_channel_partner_order) | **POST** /channel_partner/estimate_tax | Estimate tax for channel partner order
|
10
11
|
[**import_channel_partner_order**](ChannelPartnerApi.md#import_channel_partner_order) | **POST** /channel_partner/import | Insert channel partner order
|
11
12
|
|
12
13
|
|
@@ -160,6 +161,56 @@ Name | Type | Description | Notes
|
|
160
161
|
|
161
162
|
|
162
163
|
|
164
|
+
# **estimate_tax_for_channel_partner_order**
|
165
|
+
> ChannelPartnerEstimateTaxResponse estimate_tax_for_channel_partner_order(channel_partner_order)
|
166
|
+
|
167
|
+
Estimate tax for channel partner order
|
168
|
+
|
169
|
+
Estimate tax for order from a channel partner.
|
170
|
+
|
171
|
+
### Example
|
172
|
+
```ruby
|
173
|
+
# load the gem
|
174
|
+
require 'ultracart_api'
|
175
|
+
|
176
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
177
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
178
|
+
api_instance = UltracartClient::ChannelPartnerApi.new_using_api_key(simple_key, false, false)
|
179
|
+
|
180
|
+
|
181
|
+
channel_partner_order = UltracartClient::ChannelPartnerOrder.new # ChannelPartnerOrder | Order needing tax estimate
|
182
|
+
|
183
|
+
|
184
|
+
begin
|
185
|
+
#Estimate tax for channel partner order
|
186
|
+
result = api_instance.estimate_tax_for_channel_partner_order(channel_partner_order)
|
187
|
+
p result
|
188
|
+
rescue UltracartClient::ApiError => e
|
189
|
+
puts "Exception when calling ChannelPartnerApi->estimate_tax_for_channel_partner_order: #{e}"
|
190
|
+
end
|
191
|
+
```
|
192
|
+
|
193
|
+
### Parameters
|
194
|
+
|
195
|
+
Name | Type | Description | Notes
|
196
|
+
------------- | ------------- | ------------- | -------------
|
197
|
+
**channel_partner_order** | [**ChannelPartnerOrder**](ChannelPartnerOrder.md)| Order needing tax estimate |
|
198
|
+
|
199
|
+
### Return type
|
200
|
+
|
201
|
+
[**ChannelPartnerEstimateTaxResponse**](ChannelPartnerEstimateTaxResponse.md)
|
202
|
+
|
203
|
+
### Authorization
|
204
|
+
|
205
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
206
|
+
|
207
|
+
### HTTP request headers
|
208
|
+
|
209
|
+
- **Content-Type**: application/json; charset=UTF-8
|
210
|
+
- **Accept**: application/json
|
211
|
+
|
212
|
+
|
213
|
+
|
163
214
|
# **import_channel_partner_order**
|
164
215
|
> ChannelPartnerImportResponse import_channel_partner_order(channel_partner_order)
|
165
216
|
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# UltracartClient::
|
1
|
+
# UltracartClient::ChannelPartnerEstimateTaxResponse
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**arbitrary_tax** | **Float** | | [optional]
|
6
7
|
**error** | [**Error**](Error.md) | | [optional]
|
7
|
-
**message** | **String** | | [optional]
|
8
8
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
9
9
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
10
10
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
data/docs/ChargebackApi.md
CHANGED
data/docs/CustomerActivity.md
CHANGED
@@ -4,8 +4,12 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**activities** | [**Array<Activity>**](Activity.md) | | [optional]
|
7
|
+
**global_unsubscribed** | **BOOLEAN** | | [optional]
|
8
|
+
**global_unsubscribed_dts** | **String** | | [optional]
|
7
9
|
**memberships** | [**Array<ListSegmentMembership>**](ListSegmentMembership.md) | | [optional]
|
8
10
|
**metrics** | [**Array<Metric>**](Metric.md) | | [optional]
|
9
11
|
**properties_list** | [**Array<Property>**](Property.md) | | [optional]
|
12
|
+
**spam_complaint** | **BOOLEAN** | | [optional]
|
13
|
+
**spam_complaint_dts** | **String** | | [optional]
|
10
14
|
|
11
15
|
|
data/docs/CustomerApi.md
CHANGED
@@ -17,6 +17,7 @@ Method | HTTP request | Description
|
|
17
17
|
[**get_customers_for_data_tables**](CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
|
18
18
|
[**get_email_verification_token**](CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address
|
19
19
|
[**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
|
20
|
+
[**merge_customer**](CustomerApi.md#merge_customer) | **PUT** /customer/customers/{customer_profile_oid}/merge | Merge customer into this customer
|
20
21
|
[**search_customer_profile_values**](CustomerApi.md#search_customer_profile_values) | **POST** /customer/search | Searches for all matching values (using POST)
|
21
22
|
[**update_customer**](CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer
|
22
23
|
[**update_customer_email_lists**](CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer
|
@@ -173,7 +174,7 @@ nil (empty response body)
|
|
173
174
|
|
174
175
|
### HTTP request headers
|
175
176
|
|
176
|
-
- **Content-Type**: application/json
|
177
|
+
- **Content-Type**: application/json
|
177
178
|
- **Accept**: application/json
|
178
179
|
|
179
180
|
|
@@ -756,6 +757,62 @@ Name | Type | Description | Notes
|
|
756
757
|
|
757
758
|
|
758
759
|
|
760
|
+
# **merge_customer**
|
761
|
+
> merge_customer(customer, customer_profile_oid, opts)
|
762
|
+
|
763
|
+
Merge customer into this customer
|
764
|
+
|
765
|
+
Merge customer into this customer.
|
766
|
+
|
767
|
+
### Example
|
768
|
+
```ruby
|
769
|
+
# load the gem
|
770
|
+
require 'ultracart_api'
|
771
|
+
|
772
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
773
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
774
|
+
api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false)
|
775
|
+
|
776
|
+
|
777
|
+
customer = UltracartClient::CustomerMergeRequest.new # CustomerMergeRequest | Customer to merge into this profile.
|
778
|
+
|
779
|
+
customer_profile_oid = 56 # Integer | The customer_profile_oid to update.
|
780
|
+
|
781
|
+
opts = {
|
782
|
+
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
783
|
+
}
|
784
|
+
|
785
|
+
begin
|
786
|
+
#Merge customer into this customer
|
787
|
+
api_instance.merge_customer(customer, customer_profile_oid, opts)
|
788
|
+
rescue UltracartClient::ApiError => e
|
789
|
+
puts "Exception when calling CustomerApi->merge_customer: #{e}"
|
790
|
+
end
|
791
|
+
```
|
792
|
+
|
793
|
+
### Parameters
|
794
|
+
|
795
|
+
Name | Type | Description | Notes
|
796
|
+
------------- | ------------- | ------------- | -------------
|
797
|
+
**customer** | [**CustomerMergeRequest**](CustomerMergeRequest.md)| Customer to merge into this profile. |
|
798
|
+
**customer_profile_oid** | **Integer**| The customer_profile_oid to update. |
|
799
|
+
**_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
|
800
|
+
|
801
|
+
### Return type
|
802
|
+
|
803
|
+
nil (empty response body)
|
804
|
+
|
805
|
+
### Authorization
|
806
|
+
|
807
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
808
|
+
|
809
|
+
### HTTP request headers
|
810
|
+
|
811
|
+
- **Content-Type**: application/json; charset=UTF-8
|
812
|
+
- **Accept**: application/json
|
813
|
+
|
814
|
+
|
815
|
+
|
759
816
|
# **search_customer_profile_values**
|
760
817
|
> LookupResponse search_customer_profile_values(lookup_request)
|
761
818
|
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# UltracartClient::CustomerMergeRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**customer_profile_oid** | **Integer** | Customer profile oid to merge | [optional]
|
7
|
+
**email** | **String** | Email of the customer profile to merge | [optional]
|
8
|
+
|
9
|
+
|
data/docs/OrderApi.md
CHANGED
data/docs/SsoApi.md
CHANGED
@@ -50,7 +50,7 @@ This endpoint does not need any parameter.
|
|
50
50
|
|
51
51
|
### HTTP request headers
|
52
52
|
|
53
|
-
- **Content-Type**: application/json
|
53
|
+
- **Content-Type**: application/json
|
54
54
|
- **Accept**: application/json
|
55
55
|
|
56
56
|
|
@@ -144,7 +144,7 @@ nil (empty response body)
|
|
144
144
|
|
145
145
|
### HTTP request headers
|
146
146
|
|
147
|
-
- **Content-Type**: application/json
|
147
|
+
- **Content-Type**: application/json
|
148
148
|
- **Accept**: application/json
|
149
149
|
|
150
150
|
|
data/docs/UserApi.md
CHANGED
@@ -61,7 +61,7 @@ nil (empty response body)
|
|
61
61
|
|
62
62
|
### HTTP request headers
|
63
63
|
|
64
|
-
- **Content-Type**: application/json
|
64
|
+
- **Content-Type**: application/json
|
65
65
|
- **Accept**: application/json
|
66
66
|
|
67
67
|
|
@@ -110,7 +110,7 @@ nil (empty response body)
|
|
110
110
|
|
111
111
|
### HTTP request headers
|
112
112
|
|
113
|
-
- **Content-Type**: application/json
|
113
|
+
- **Content-Type**: application/json
|
114
114
|
- **Accept**: application/json
|
115
115
|
|
116
116
|
|
data/docs/WebhookApi.md
CHANGED
@@ -197,6 +197,61 @@ module UltracartClient
|
|
197
197
|
end
|
198
198
|
return data, status_code, headers
|
199
199
|
end
|
200
|
+
# Estimate tax for channel partner order
|
201
|
+
# Estimate tax for order from a channel partner.
|
202
|
+
# @param channel_partner_order Order needing tax estimate
|
203
|
+
# @param [Hash] opts the optional parameters
|
204
|
+
# @return [ChannelPartnerEstimateTaxResponse]
|
205
|
+
def estimate_tax_for_channel_partner_order(channel_partner_order, opts = {})
|
206
|
+
data, _status_code, _headers = estimate_tax_for_channel_partner_order_with_http_info(channel_partner_order, opts)
|
207
|
+
data
|
208
|
+
end
|
209
|
+
|
210
|
+
# Estimate tax for channel partner order
|
211
|
+
# Estimate tax for order from a channel partner.
|
212
|
+
# @param channel_partner_order Order needing tax estimate
|
213
|
+
# @param [Hash] opts the optional parameters
|
214
|
+
# @return [Array<(ChannelPartnerEstimateTaxResponse, Fixnum, Hash)>] ChannelPartnerEstimateTaxResponse data, response status code and response headers
|
215
|
+
def estimate_tax_for_channel_partner_order_with_http_info(channel_partner_order, opts = {})
|
216
|
+
if @api_client.config.debugging
|
217
|
+
@api_client.config.logger.debug 'Calling API: ChannelPartnerApi.estimate_tax_for_channel_partner_order ...'
|
218
|
+
end
|
219
|
+
# verify the required parameter 'channel_partner_order' is set
|
220
|
+
if @api_client.config.client_side_validation && channel_partner_order.nil?
|
221
|
+
fail ArgumentError, "Missing the required parameter 'channel_partner_order' when calling ChannelPartnerApi.estimate_tax_for_channel_partner_order"
|
222
|
+
end
|
223
|
+
# resource path
|
224
|
+
local_var_path = '/channel_partner/estimate_tax'
|
225
|
+
|
226
|
+
# query parameters
|
227
|
+
query_params = {}
|
228
|
+
|
229
|
+
# header parameters
|
230
|
+
header_params = {}
|
231
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
232
|
+
# HTTP header 'Accept' (if needed)
|
233
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
234
|
+
# HTTP header 'Content-Type'
|
235
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
|
236
|
+
|
237
|
+
# form parameters
|
238
|
+
form_params = {}
|
239
|
+
|
240
|
+
# http body (model)
|
241
|
+
post_body = @api_client.object_to_http_body(channel_partner_order)
|
242
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
243
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
244
|
+
:header_params => header_params,
|
245
|
+
:query_params => query_params,
|
246
|
+
:form_params => form_params,
|
247
|
+
:body => post_body,
|
248
|
+
:auth_names => auth_names,
|
249
|
+
:return_type => 'ChannelPartnerEstimateTaxResponse')
|
250
|
+
if @api_client.config.debugging
|
251
|
+
@api_client.config.logger.debug "API called: ChannelPartnerApi#estimate_tax_for_channel_partner_order\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
252
|
+
end
|
253
|
+
return data, status_code, headers
|
254
|
+
end
|
200
255
|
# Insert channel partner order
|
201
256
|
# Insert order from a channel partner.
|
202
257
|
# @param channel_partner_order Order to insert
|
@@ -67,7 +67,7 @@ module UltracartClient
|
|
67
67
|
# HTTP header 'Accept' (if needed)
|
68
68
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
69
69
|
# HTTP header 'Content-Type'
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json
|
70
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
71
71
|
|
72
72
|
# form parameters
|
73
73
|
form_params = {}
|