ultracart_api 3.10.1 → 3.10.2
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/README.md +6 -5
- data/docs/ChannelPartnerApi.md +5 -5
- data/lib/ultracart_api/api/channel_partner_api.rb +6 -6
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34bbd70216e98daa2209f4b2cf85de0e9034482f9bc65ff00488f10435e72933
|
|
4
|
+
data.tar.gz: 36e28b94f0fde952b86e0e19e3f08831642fcb400a44affbe34ae06a4aa2b472
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40d48c0b1c0eea36f2dc5306aad00d997e4512be13fbe3474eaf019e018aa032dacf09aa77585639abcce0601f97201a645ae00e427a91d83f003e60810a9c83
|
|
7
|
+
data.tar.gz: c9cfe04c91bf887846eb29ecc3daff4ee461393f69366bf3d2b3b62b11e9e72a6e4dcbb3100bdd6be8981ac2dd78356e06b3adf01640a5ae692ebe617216af40
|
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.2
|
|
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.2.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.2.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.2'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -97,7 +97,7 @@ Class | Method | HTTP request | Description
|
|
|
97
97
|
*UltracartClient::AutoOrderApi* | [**update_auto_order**](docs/AutoOrderApi.md#update_auto_order) | **PUT** /auto_order/auto_orders/{auto_order_oid} | Update an auto order
|
|
98
98
|
*UltracartClient::AutoOrderApi* | [**update_auto_orders_batch**](docs/AutoOrderApi.md#update_auto_orders_batch) | **PUT** /auto_order/auto_orders/batch | Update multiple auto orders
|
|
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
|
-
*UltracartClient::ChannelPartnerApi* | [**
|
|
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
102
|
*UltracartClient::ChannelPartnerApi* | [**import_channel_partner_order**](docs/ChannelPartnerApi.md#import_channel_partner_order) | **POST** /channel_partner/import | Insert channel partner order
|
|
103
103
|
*UltracartClient::ChargebackApi* | [**delete_chargeback**](docs/ChargebackApi.md#delete_chargeback) | **DELETE** /chargeback/chargebacks/{chargeback_dispute_oid} | Delete a chargeback
|
|
@@ -1171,6 +1171,7 @@ Not every change is committed to every SDK.
|
|
|
1171
1171
|
|
|
1172
1172
|
| Version | Date | Comments |
|
|
1173
1173
|
| --: | :-: | --- |
|
|
1174
|
+
| 3.10.2 | 05/12/2022 | ChannelPartnerApi renamed one of the delete methods |
|
|
1174
1175
|
| 3.10.1 | 05/12/2022 | ChannelPartnerApi added orderId to import response obj |
|
|
1175
1176
|
| 3.10.0 | 05/10/2022 | beta release of ChannelPartnerApi |
|
|
1176
1177
|
| 3.9.8 | 04/26/2022 | OrderApi.duplicateOrder |
|
data/docs/ChannelPartnerApi.md
CHANGED
|
@@ -5,7 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
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
10
|
[**import_channel_partner_order**](ChannelPartnerApi.md#import_channel_partner_order) | **POST** /channel_partner/import | Insert channel partner order
|
|
11
11
|
|
|
@@ -60,8 +60,8 @@ Name | Type | Description | Notes
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
# **
|
|
64
|
-
> ChannelPartnerCancelResponse
|
|
63
|
+
# **cancel_order_by_ultra_cart_order_id**
|
|
64
|
+
> ChannelPartnerCancelResponse cancel_order_by_ultra_cart_order_id(order_id)
|
|
65
65
|
|
|
66
66
|
Cancel channel partner order by UltraCart order id
|
|
67
67
|
|
|
@@ -82,10 +82,10 @@ order_id = 'order_id_example' # String | The UltraCart order id to delete.
|
|
|
82
82
|
|
|
83
83
|
begin
|
|
84
84
|
#Cancel channel partner order by UltraCart order id
|
|
85
|
-
result = api_instance.
|
|
85
|
+
result = api_instance.cancel_order_by_ultra_cart_order_id(order_id)
|
|
86
86
|
p result
|
|
87
87
|
rescue UltracartClient::ApiError => e
|
|
88
|
-
puts "Exception when calling ChannelPartnerApi->
|
|
88
|
+
puts "Exception when calling ChannelPartnerApi->cancel_order_by_ultra_cart_order_id: #{e}"
|
|
89
89
|
end
|
|
90
90
|
```
|
|
91
91
|
|
|
@@ -92,8 +92,8 @@ module UltracartClient
|
|
|
92
92
|
# @param order_id The UltraCart order id to delete.
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [ChannelPartnerCancelResponse]
|
|
95
|
-
def
|
|
96
|
-
data, _status_code, _headers =
|
|
95
|
+
def cancel_order_by_ultra_cart_order_id(order_id, opts = {})
|
|
96
|
+
data, _status_code, _headers = cancel_order_by_ultra_cart_order_id_with_http_info(order_id, opts)
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -102,13 +102,13 @@ module UltracartClient
|
|
|
102
102
|
# @param order_id The UltraCart order id to delete.
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(ChannelPartnerCancelResponse, Fixnum, Hash)>] ChannelPartnerCancelResponse data, response status code and response headers
|
|
105
|
-
def
|
|
105
|
+
def cancel_order_by_ultra_cart_order_id_with_http_info(order_id, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API: ChannelPartnerApi.
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: ChannelPartnerApi.cancel_order_by_ultra_cart_order_id ...'
|
|
108
108
|
end
|
|
109
109
|
# verify the required parameter 'order_id' is set
|
|
110
110
|
if @api_client.config.client_side_validation && order_id.nil?
|
|
111
|
-
fail ArgumentError, "Missing the required parameter 'order_id' when calling ChannelPartnerApi.
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'order_id' when calling ChannelPartnerApi.cancel_order_by_ultra_cart_order_id"
|
|
112
112
|
end
|
|
113
113
|
# resource path
|
|
114
114
|
local_var_path = '/channel_partner/cancel/by_ultracart_order_id/{order_id}'.sub('{' + 'order_id' + '}', order_id.to_s)
|
|
@@ -138,7 +138,7 @@ module UltracartClient
|
|
|
138
138
|
:auth_names => auth_names,
|
|
139
139
|
:return_type => 'ChannelPartnerCancelResponse')
|
|
140
140
|
if @api_client.config.debugging
|
|
141
|
-
@api_client.config.logger.debug "API called: ChannelPartnerApi#
|
|
141
|
+
@api_client.config.logger.debug "API called: ChannelPartnerApi#cancel_order_by_ultra_cart_order_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
142
142
|
end
|
|
143
143
|
return data, status_code, headers
|
|
144
144
|
end
|