ultracart_api 3.2.11 → 3.2.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab4a9230408e849839ffa05f1388f126d79ea05461e32435e17fc36cc368442d
4
- data.tar.gz: d7860c7728fe67f723b1c5b156f8922ec4d502c0953dc139000fa8eb4be8c062
3
+ metadata.gz: a4492cfba82bba9af892da320a4a2516637e3d266247475fc34b1ea0df4fc672
4
+ data.tar.gz: 10fe7be089f7dd67ea14c9888f1cb9f688eb6a8ce723950f2597f11f812b49f0
5
5
  SHA512:
6
- metadata.gz: ee1653e846c97444c43922ac2580c468987f99fcd0baf2614f02f413fa0b50200db1f982dc51d8caf62390f9592c2eccd9d09d6c2d931fd701cbb9205d555152
7
- data.tar.gz: a251dfca7836f01f542b193ab791a1b00cb4f07f5068aa243190df00e040067251350939e6d23b7f5aa338cd43047d3aabc773bc9f8418c40fe6c8312407391a
6
+ metadata.gz: 310966e472290ca5de80185a1df26d1191a94708d9cf8777d4e9ed8b14b8781949e0f26e5e4703cb8f9e5be49080f7716640dc2bd62a64a0dcd969c2a89d664d
7
+ data.tar.gz: bef6c03d1a710fc9a6bf503d49702e7eedd2613d8a334ff895499421b422832a881090b8317bc8b564989ddb55f748cd750ac2cc74558ed3b256aa7a8fad7cef
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.2.11
10
+ - Package version: 3.2.12
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.2.11.gem
27
+ gem install ./ultracart_api-3.2.12.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.2.11.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.2.12.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.2.11'
35
+ gem 'ultracart_api', '~> 3.2.12'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -153,6 +153,7 @@ Class | Method | HTTP request | Description
153
153
  *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
154
154
  *UltracartClient::CustomerApi* | [**validate_email_verification_token**](docs/CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address
155
155
  *UltracartClient::FulfillmentApi* | [**acknowledge_orders**](docs/FulfillmentApi.md#acknowledge_orders) | **PUT** /fulfillment/distribution_centers/{distribution_center_code}/acknowledgements | Acknowledge receipt of orders.
156
+ *UltracartClient::FulfillmentApi* | [**generate_packing_slip**](docs/FulfillmentApi.md#generate_packing_slip) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id} | Generate a packing slip for this order for the given distribution center.
156
157
  *UltracartClient::FulfillmentApi* | [**get_distribution_center_orders**](docs/FulfillmentApi.md#get_distribution_center_orders) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders | Retrieve orders queued up for this distribution center.
157
158
  *UltracartClient::FulfillmentApi* | [**get_distribution_centers**](docs/FulfillmentApi.md#get_distribution_centers) | **GET** /fulfillment/distribution_centers | Retrieve distribution centers
158
159
  *UltracartClient::FulfillmentApi* | [**ship_orders**](docs/FulfillmentApi.md#ship_orders) | **POST** /fulfillment/distribution_centers/{distribution_center_code}/shipments | Mark orders as shipped
@@ -176,6 +177,8 @@ Class | Method | HTTP request | Description
176
177
  *UltracartClient::OrderApi* | [**delete_order**](docs/OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order
177
178
  *UltracartClient::OrderApi* | [**format**](docs/OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order
178
179
  *UltracartClient::OrderApi* | [**generate_order_token**](docs/OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id
180
+ *UltracartClient::OrderApi* | [**generate_packing_slip_all_dc**](docs/OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order for the given distribution center.
181
+ *UltracartClient::OrderApi* | [**generate_packing_slip_specific_dc**](docs/OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center.
179
182
  *UltracartClient::OrderApi* | [**get_accounts_receivable_retry_config**](docs/OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
180
183
  *UltracartClient::OrderApi* | [**get_accounts_receivable_retry_stats**](docs/OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics
181
184
  *UltracartClient::OrderApi* | [**get_order**](docs/OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order
@@ -1032,6 +1035,7 @@ Not every change is committed to every SDK.
1032
1035
 
1033
1036
  | Version | Date | Comments |
1034
1037
  | --: | :-: | --- |
1038
+ | 3.2.12 | 07/09/2021 | new fulfillment and order methods for generation of packing slips |
1035
1039
  | 3.2.11 | 07/08/2021 | screen recording - missing external tracking flag added |
1036
1040
  | 3.2.10 | 07/08/2021 | customer profile - allow drop shipping options |
1037
1041
  | 3.2.9 | 07/07/2021 | screen recording - provide cost per thousand and retention interval |
@@ -5,6 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**acknowledge_orders**](FulfillmentApi.md#acknowledge_orders) | **PUT** /fulfillment/distribution_centers/{distribution_center_code}/acknowledgements | Acknowledge receipt of orders.
8
+ [**generate_packing_slip**](FulfillmentApi.md#generate_packing_slip) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id} | Generate a packing slip for this order for the given distribution center.
8
9
  [**get_distribution_center_orders**](FulfillmentApi.md#get_distribution_center_orders) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders | Retrieve orders queued up for this distribution center.
9
10
  [**get_distribution_centers**](FulfillmentApi.md#get_distribution_centers) | **GET** /fulfillment/distribution_centers | Retrieve distribution centers
10
11
  [**ship_orders**](FulfillmentApi.md#ship_orders) | **POST** /fulfillment/distribution_centers/{distribution_center_code}/shipments | Mark orders as shipped
@@ -63,6 +64,59 @@ nil (empty response body)
63
64
 
64
65
 
65
66
 
67
+ # **generate_packing_slip**
68
+ > OrdersResponse generate_packing_slip(distribution_center_code, order_id)
69
+
70
+ Generate a packing slip for this order for the given distribution center.
71
+
72
+ The packing slip PDF that is returned is base 64 encoded
73
+
74
+ ### Example
75
+ ```ruby
76
+ # load the gem
77
+ require 'ultracart_api'
78
+
79
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
80
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
81
+ api_instance = UltracartClient::FulfillmentApi.new_using_api_key(simple_key, false, false)
82
+
83
+
84
+ distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
85
+
86
+ order_id = 'order_id_example' # String | Order ID
87
+
88
+
89
+ begin
90
+ #Generate a packing slip for this order for the given distribution center.
91
+ result = api_instance.generate_packing_slip(distribution_center_code, order_id)
92
+ p result
93
+ rescue UltracartClient::ApiError => e
94
+ puts "Exception when calling FulfillmentApi->generate_packing_slip: #{e}"
95
+ end
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ Name | Type | Description | Notes
101
+ ------------- | ------------- | ------------- | -------------
102
+ **distribution_center_code** | **String**| Distribution center code |
103
+ **order_id** | **String**| Order ID |
104
+
105
+ ### Return type
106
+
107
+ [**OrdersResponse**](OrdersResponse.md)
108
+
109
+ ### Authorization
110
+
111
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
112
+
113
+ ### HTTP request headers
114
+
115
+ - **Content-Type**: application/json
116
+ - **Accept**: application/json
117
+
118
+
119
+
66
120
  # **get_distribution_center_orders**
67
121
  > OrdersResponse get_distribution_center_orders(distribution_center_code)
68
122
 
data/docs/OrderApi.md CHANGED
@@ -9,6 +9,8 @@ Method | HTTP request | Description
9
9
  [**delete_order**](OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order
10
10
  [**format**](OrderApi.md#format) | **POST** /order/orders/{order_id}/format | Format order
11
11
  [**generate_order_token**](OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id
12
+ [**generate_packing_slip_all_dc**](OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order for the given distribution center.
13
+ [**generate_packing_slip_specific_dc**](OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center.
12
14
  [**get_accounts_receivable_retry_config**](OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration
13
15
  [**get_accounts_receivable_retry_stats**](OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics
14
16
  [**get_order**](OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order
@@ -281,6 +283,109 @@ Name | Type | Description | Notes
281
283
 
282
284
 
283
285
 
286
+ # **generate_packing_slip_all_dc**
287
+ > OrdersResponse generate_packing_slip_all_dc(order_id)
288
+
289
+ Generate a packing slip for this order for the given distribution center.
290
+
291
+ The packing slip PDF that is returned is base 64 encoded
292
+
293
+ ### Example
294
+ ```ruby
295
+ # load the gem
296
+ require 'ultracart_api'
297
+
298
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
299
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
300
+ api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
301
+
302
+
303
+ order_id = 'order_id_example' # String | Order ID
304
+
305
+
306
+ begin
307
+ #Generate a packing slip for this order for the given distribution center.
308
+ result = api_instance.generate_packing_slip_all_dc(order_id)
309
+ p result
310
+ rescue UltracartClient::ApiError => e
311
+ puts "Exception when calling OrderApi->generate_packing_slip_all_dc: #{e}"
312
+ end
313
+ ```
314
+
315
+ ### Parameters
316
+
317
+ Name | Type | Description | Notes
318
+ ------------- | ------------- | ------------- | -------------
319
+ **order_id** | **String**| Order ID |
320
+
321
+ ### Return type
322
+
323
+ [**OrdersResponse**](OrdersResponse.md)
324
+
325
+ ### Authorization
326
+
327
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
328
+
329
+ ### HTTP request headers
330
+
331
+ - **Content-Type**: application/json
332
+ - **Accept**: application/json
333
+
334
+
335
+
336
+ # **generate_packing_slip_specific_dc**
337
+ > OrdersResponse generate_packing_slip_specific_dc(distribution_center_code, order_id)
338
+
339
+ Generate a packing slip for this order for the given distribution center.
340
+
341
+ The packing slip PDF that is returned is base 64 encoded
342
+
343
+ ### Example
344
+ ```ruby
345
+ # load the gem
346
+ require 'ultracart_api'
347
+
348
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
349
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
350
+ api_instance = UltracartClient::OrderApi.new_using_api_key(simple_key, false, false)
351
+
352
+
353
+ distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
354
+
355
+ order_id = 'order_id_example' # String | Order ID
356
+
357
+
358
+ begin
359
+ #Generate a packing slip for this order for the given distribution center.
360
+ result = api_instance.generate_packing_slip_specific_dc(distribution_center_code, order_id)
361
+ p result
362
+ rescue UltracartClient::ApiError => e
363
+ puts "Exception when calling OrderApi->generate_packing_slip_specific_dc: #{e}"
364
+ end
365
+ ```
366
+
367
+ ### Parameters
368
+
369
+ Name | Type | Description | Notes
370
+ ------------- | ------------- | ------------- | -------------
371
+ **distribution_center_code** | **String**| Distribution center code |
372
+ **order_id** | **String**| Order ID |
373
+
374
+ ### Return type
375
+
376
+ [**OrdersResponse**](OrdersResponse.md)
377
+
378
+ ### Authorization
379
+
380
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
381
+
382
+ ### HTTP request headers
383
+
384
+ - **Content-Type**: application/json
385
+ - **Accept**: application/json
386
+
387
+
388
+
284
389
  # **get_accounts_receivable_retry_config**
285
390
  > AccountsReceivableRetryConfigResponse get_accounts_receivable_retry_config
286
391
 
@@ -92,6 +92,67 @@ module UltracartClient
92
92
  end
93
93
  return data, status_code, headers
94
94
  end
95
+ # Generate a packing slip for this order for the given distribution center.
96
+ # The packing slip PDF that is returned is base 64 encoded
97
+ # @param distribution_center_code Distribution center code
98
+ # @param order_id Order ID
99
+ # @param [Hash] opts the optional parameters
100
+ # @return [OrdersResponse]
101
+ def generate_packing_slip(distribution_center_code, order_id, opts = {})
102
+ data, _status_code, _headers = generate_packing_slip_with_http_info(distribution_center_code, order_id, opts)
103
+ data
104
+ end
105
+
106
+ # Generate a packing slip for this order for the given distribution center.
107
+ # The packing slip PDF that is returned is base 64 encoded
108
+ # @param distribution_center_code Distribution center code
109
+ # @param order_id Order ID
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
112
+ def generate_packing_slip_with_http_info(distribution_center_code, order_id, opts = {})
113
+ if @api_client.config.debugging
114
+ @api_client.config.logger.debug 'Calling API: FulfillmentApi.generate_packing_slip ...'
115
+ end
116
+ # verify the required parameter 'distribution_center_code' is set
117
+ if @api_client.config.client_side_validation && distribution_center_code.nil?
118
+ fail ArgumentError, "Missing the required parameter 'distribution_center_code' when calling FulfillmentApi.generate_packing_slip"
119
+ end
120
+ # verify the required parameter 'order_id' is set
121
+ if @api_client.config.client_side_validation && order_id.nil?
122
+ fail ArgumentError, "Missing the required parameter 'order_id' when calling FulfillmentApi.generate_packing_slip"
123
+ end
124
+ # resource path
125
+ local_var_path = '/fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id}'.sub('{' + 'distribution_center_code' + '}', distribution_center_code.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
126
+
127
+ # query parameters
128
+ query_params = {}
129
+
130
+ # header parameters
131
+ header_params = {}
132
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
133
+ # HTTP header 'Accept' (if needed)
134
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
135
+ # HTTP header 'Content-Type'
136
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
137
+
138
+ # form parameters
139
+ form_params = {}
140
+
141
+ # http body (model)
142
+ post_body = nil
143
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
144
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
145
+ :header_params => header_params,
146
+ :query_params => query_params,
147
+ :form_params => form_params,
148
+ :body => post_body,
149
+ :auth_names => auth_names,
150
+ :return_type => 'OrdersResponse')
151
+ if @api_client.config.debugging
152
+ @api_client.config.logger.debug "API called: FulfillmentApi#generate_packing_slip\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
153
+ end
154
+ return data, status_code, headers
155
+ end
95
156
  # Retrieve orders queued up for this distribution center.
96
157
  # Retrieves up to 100 orders that are queued up in this distribution center. You must acknowledge them before additional new orders will be returned. There is NO record chunking. You'll get the same 100 records again and again until you acknowledge orders. The orders that are returned contain only items for this distribution center and are by default completely expanded with billing, buysafe, channel_partner, checkout, coupons, customer_profile, edi, gift, gift_certificate, internal, items, payment, shipping, summary, taxes.
97
158
  # @param distribution_center_code Distribution center code
@@ -318,6 +318,122 @@ module UltracartClient
318
318
  end
319
319
  return data, status_code, headers
320
320
  end
321
+ # Generate a packing slip for this order for the given distribution center.
322
+ # The packing slip PDF that is returned is base 64 encoded
323
+ # @param order_id Order ID
324
+ # @param [Hash] opts the optional parameters
325
+ # @return [OrdersResponse]
326
+ def generate_packing_slip_all_dc(order_id, opts = {})
327
+ data, _status_code, _headers = generate_packing_slip_all_dc_with_http_info(order_id, opts)
328
+ data
329
+ end
330
+
331
+ # Generate a packing slip for this order for the given distribution center.
332
+ # The packing slip PDF that is returned is base 64 encoded
333
+ # @param order_id Order ID
334
+ # @param [Hash] opts the optional parameters
335
+ # @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
336
+ def generate_packing_slip_all_dc_with_http_info(order_id, opts = {})
337
+ if @api_client.config.debugging
338
+ @api_client.config.logger.debug 'Calling API: OrderApi.generate_packing_slip_all_dc ...'
339
+ end
340
+ # verify the required parameter 'order_id' is set
341
+ if @api_client.config.client_side_validation && order_id.nil?
342
+ fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.generate_packing_slip_all_dc"
343
+ end
344
+ # resource path
345
+ local_var_path = '/order/orders/{order_id}/packing_slip'.sub('{' + 'order_id' + '}', order_id.to_s)
346
+
347
+ # query parameters
348
+ query_params = {}
349
+
350
+ # header parameters
351
+ header_params = {}
352
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
353
+ # HTTP header 'Accept' (if needed)
354
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
355
+ # HTTP header 'Content-Type'
356
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
357
+
358
+ # form parameters
359
+ form_params = {}
360
+
361
+ # http body (model)
362
+ post_body = nil
363
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
364
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
365
+ :header_params => header_params,
366
+ :query_params => query_params,
367
+ :form_params => form_params,
368
+ :body => post_body,
369
+ :auth_names => auth_names,
370
+ :return_type => 'OrdersResponse')
371
+ if @api_client.config.debugging
372
+ @api_client.config.logger.debug "API called: OrderApi#generate_packing_slip_all_dc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
373
+ end
374
+ return data, status_code, headers
375
+ end
376
+ # Generate a packing slip for this order for the given distribution center.
377
+ # The packing slip PDF that is returned is base 64 encoded
378
+ # @param distribution_center_code Distribution center code
379
+ # @param order_id Order ID
380
+ # @param [Hash] opts the optional parameters
381
+ # @return [OrdersResponse]
382
+ def generate_packing_slip_specific_dc(distribution_center_code, order_id, opts = {})
383
+ data, _status_code, _headers = generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id, opts)
384
+ data
385
+ end
386
+
387
+ # Generate a packing slip for this order for the given distribution center.
388
+ # The packing slip PDF that is returned is base 64 encoded
389
+ # @param distribution_center_code Distribution center code
390
+ # @param order_id Order ID
391
+ # @param [Hash] opts the optional parameters
392
+ # @return [Array<(OrdersResponse, Fixnum, Hash)>] OrdersResponse data, response status code and response headers
393
+ def generate_packing_slip_specific_dc_with_http_info(distribution_center_code, order_id, opts = {})
394
+ if @api_client.config.debugging
395
+ @api_client.config.logger.debug 'Calling API: OrderApi.generate_packing_slip_specific_dc ...'
396
+ end
397
+ # verify the required parameter 'distribution_center_code' is set
398
+ if @api_client.config.client_side_validation && distribution_center_code.nil?
399
+ fail ArgumentError, "Missing the required parameter 'distribution_center_code' when calling OrderApi.generate_packing_slip_specific_dc"
400
+ end
401
+ # verify the required parameter 'order_id' is set
402
+ if @api_client.config.client_side_validation && order_id.nil?
403
+ fail ArgumentError, "Missing the required parameter 'order_id' when calling OrderApi.generate_packing_slip_specific_dc"
404
+ end
405
+ # resource path
406
+ local_var_path = '/order/orders/{order_id}/packing_slip/{distribution_center_code}'.sub('{' + 'distribution_center_code' + '}', distribution_center_code.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
407
+
408
+ # query parameters
409
+ query_params = {}
410
+
411
+ # header parameters
412
+ header_params = {}
413
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
414
+ # HTTP header 'Accept' (if needed)
415
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
416
+ # HTTP header 'Content-Type'
417
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
418
+
419
+ # form parameters
420
+ form_params = {}
421
+
422
+ # http body (model)
423
+ post_body = nil
424
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
425
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
426
+ :header_params => header_params,
427
+ :query_params => query_params,
428
+ :form_params => form_params,
429
+ :body => post_body,
430
+ :auth_names => auth_names,
431
+ :return_type => 'OrdersResponse')
432
+ if @api_client.config.debugging
433
+ @api_client.config.logger.debug "API called: OrderApi#generate_packing_slip_specific_dc\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
434
+ end
435
+ return data, status_code, headers
436
+ end
321
437
  # Retrieve A/R Retry Configuration
322
438
  # Retrieve A/R Retry Configuration. This is primarily an internal API call. It is doubtful you would ever need to use it.
323
439
  # @param [Hash] opts the optional parameters
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.2.11'
14
+ VERSION = '3.2.12'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.11
4
+ version: 3.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-08 00:00:00.000000000 Z
11
+ date: 2021-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus