wine_shipping 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +128 -0
  4. data/Rakefile +8 -0
  5. data/docs/Authentication.md +10 -0
  6. data/docs/BillingContactInfo.md +18 -0
  7. data/docs/DeliveryContactInfo.md +17 -0
  8. data/docs/Inventory.md +20 -0
  9. data/docs/InventoryApi.md +102 -0
  10. data/docs/InventoryMovementApi.md +100 -0
  11. data/docs/InventoryStatusRequest.md +13 -0
  12. data/docs/InventoryStatusResult.md +12 -0
  13. data/docs/ItemInfo.md +10 -0
  14. data/docs/OrderOnHold.md +19 -0
  15. data/docs/OrderOnHoldItem.md +11 -0
  16. data/docs/PackageItem.md +10 -0
  17. data/docs/PurchaseOrderDetails.md +10 -0
  18. data/docs/PurchaseOrderInfo.md +24 -0
  19. data/docs/PurchaseOrderItemInfo.md +10 -0
  20. data/docs/RecipientContactInfo.md +18 -0
  21. data/docs/RequestorInfo.md +11 -0
  22. data/docs/ReturnResult.md +12 -0
  23. data/docs/ReturnSalesOrderHeader.md +31 -0
  24. data/docs/ReturnSalesOrderLine.md +13 -0
  25. data/docs/ReturnsRequest.md +16 -0
  26. data/docs/SKUApi.md +54 -0
  27. data/docs/SKUDetails.md +10 -0
  28. data/docs/SKUInfo.md +20 -0
  29. data/docs/SalesOrderApi.md +240 -0
  30. data/docs/SalesOrderCancelRequest.md +9 -0
  31. data/docs/SalesOrderDetails.md +14 -0
  32. data/docs/SalesOrderInfo.md +20 -0
  33. data/docs/ShipmentInfo.md +13 -0
  34. data/docs/TrackingApi.md +55 -0
  35. data/docs/TrackingRequest.md +9 -0
  36. data/docs/TrackingResult.md +28 -0
  37. data/docs/TransferOrderDetails.md +10 -0
  38. data/docs/TransferOrderInfo.md +17 -0
  39. data/docs/TransferOrderItemInfo.md +10 -0
  40. data/docs/WarehouseInventoryStatus.md +19 -0
  41. data/git_push.sh +55 -0
  42. data/lib/.DS_Store +0 -0
  43. data/lib/wine_shipping.rb +75 -0
  44. data/lib/wine_shipping/api/inventory_api.rb +127 -0
  45. data/lib/wine_shipping/api/inventory_movement_api.rb +125 -0
  46. data/lib/wine_shipping/api/sales_order_api.rb +280 -0
  47. data/lib/wine_shipping/api/sku_api.rb +74 -0
  48. data/lib/wine_shipping/api/tracking_api.rb +75 -0
  49. data/lib/wine_shipping/api_client.rb +388 -0
  50. data/lib/wine_shipping/api_error.rb +38 -0
  51. data/lib/wine_shipping/configuration.rb +202 -0
  52. data/lib/wine_shipping/models/authentication.rb +201 -0
  53. data/lib/wine_shipping/models/billing_contact_info.rb +273 -0
  54. data/lib/wine_shipping/models/delivery_contact_info.rb +298 -0
  55. data/lib/wine_shipping/models/inventory.rb +291 -0
  56. data/lib/wine_shipping/models/inventory_status_request.rb +230 -0
  57. data/lib/wine_shipping/models/inventory_status_result.rb +221 -0
  58. data/lib/wine_shipping/models/item_info.rb +201 -0
  59. data/lib/wine_shipping/models/order_on_hold.rb +284 -0
  60. data/lib/wine_shipping/models/order_on_hold_item.rb +210 -0
  61. data/lib/wine_shipping/models/package_item.rb +201 -0
  62. data/lib/wine_shipping/models/purchase_order_details.rb +203 -0
  63. data/lib/wine_shipping/models/purchase_order_info.rb +361 -0
  64. data/lib/wine_shipping/models/purchase_order_item_info.rb +201 -0
  65. data/lib/wine_shipping/models/recipient_contact_info.rb +273 -0
  66. data/lib/wine_shipping/models/requestor_info.rb +210 -0
  67. data/lib/wine_shipping/models/return_result.rb +221 -0
  68. data/lib/wine_shipping/models/return_sales_order_header.rb +392 -0
  69. data/lib/wine_shipping/models/return_sales_order_line.rb +228 -0
  70. data/lib/wine_shipping/models/returns_request.rb +257 -0
  71. data/lib/wine_shipping/models/sales_order_cancel_request.rb +192 -0
  72. data/lib/wine_shipping/models/sales_order_details.rb +239 -0
  73. data/lib/wine_shipping/models/sales_order_info.rb +325 -0
  74. data/lib/wine_shipping/models/shipment_info.rb +274 -0
  75. data/lib/wine_shipping/models/sku_details.rb +201 -0
  76. data/lib/wine_shipping/models/sku_info.rb +325 -0
  77. data/lib/wine_shipping/models/tracking_request.rb +192 -0
  78. data/lib/wine_shipping/models/tracking_result.rb +365 -0
  79. data/lib/wine_shipping/models/transfer_order_details.rb +203 -0
  80. data/lib/wine_shipping/models/transfer_order_info.rb +264 -0
  81. data/lib/wine_shipping/models/transfer_order_item_info.rb +201 -0
  82. data/lib/wine_shipping/models/warehouse_inventory_status.rb +282 -0
  83. data/lib/wine_shipping/version.rb +15 -0
  84. data/spec/api/inventory_api_spec.rb +57 -0
  85. data/spec/api/inventory_movement_api_spec.rb +57 -0
  86. data/spec/api/sales_order_api_spec.rb +90 -0
  87. data/spec/api/sku_api_spec.rb +46 -0
  88. data/spec/api/tracking_api_spec.rb +46 -0
  89. data/spec/api_client_spec.rb +226 -0
  90. data/spec/configuration_spec.rb +42 -0
  91. data/spec/models/authentication_spec.rb +53 -0
  92. data/spec/models/billing_contact_info_spec.rb +101 -0
  93. data/spec/models/delivery_contact_info_spec.rb +99 -0
  94. data/spec/models/inventory_spec.rb +113 -0
  95. data/spec/models/inventory_status_request_spec.rb +71 -0
  96. data/spec/models/inventory_status_result_spec.rb +65 -0
  97. data/spec/models/item_info_spec.rb +53 -0
  98. data/spec/models/order_on_hold_item_spec.rb +59 -0
  99. data/spec/models/order_on_hold_spec.rb +107 -0
  100. data/spec/models/package_item_spec.rb +53 -0
  101. data/spec/models/purchase_order_details_spec.rb +53 -0
  102. data/spec/models/purchase_order_info_spec.rb +141 -0
  103. data/spec/models/purchase_order_item_info_spec.rb +53 -0
  104. data/spec/models/recipient_contact_info_spec.rb +101 -0
  105. data/spec/models/requestor_info_spec.rb +59 -0
  106. data/spec/models/return_result_spec.rb +65 -0
  107. data/spec/models/return_sales_order_header_spec.rb +179 -0
  108. data/spec/models/return_sales_order_line_spec.rb +71 -0
  109. data/spec/models/returns_request_spec.rb +89 -0
  110. data/spec/models/sales_order_cancel_request_spec.rb +47 -0
  111. data/spec/models/sales_order_details_spec.rb +77 -0
  112. data/spec/models/sales_order_info_spec.rb +117 -0
  113. data/spec/models/shipment_info_spec.rb +79 -0
  114. data/spec/models/sku_details_spec.rb +53 -0
  115. data/spec/models/sku_info_spec.rb +117 -0
  116. data/spec/models/tracking_request_spec.rb +47 -0
  117. data/spec/models/tracking_result_spec.rb +161 -0
  118. data/spec/models/transfer_order_details_spec.rb +53 -0
  119. data/spec/models/transfer_order_info_spec.rb +95 -0
  120. data/spec/models/transfer_order_item_info_spec.rb +53 -0
  121. data/spec/models/warehouse_inventory_status_spec.rb +107 -0
  122. data/spec/spec_helper.rb +111 -0
  123. data/wine_shipping.gemspec +45 -0
  124. metadata +390 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 468af68b215dad640e19094781538965307c00f9
4
+ data.tar.gz: a7f9ea3b26e0cbcd93f00b648bbb6371788735cb
5
+ SHA512:
6
+ metadata.gz: cb4a05a4150df4ef4f5a8bbea21153354d859b99b16222f571cfd5a29dc4e333ae90aca23a8ad73545384625203c3fe988e8bb07e9e3b67d5ff51144aa66954a
7
+ data.tar.gz: 74a5c7b97968b4e8e25d3d4df7bdf2bb84629f1a806c225c07f33aa447e3ebc155e7aa0ffe82f3a9295421d61aa25982fe8290deb36b50981bbd1b3f453f3893
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ end
@@ -0,0 +1,128 @@
1
+ # wine_shipping
2
+
3
+ WineShipping - the Ruby gem for the API from Wineshipping
4
+
5
+ Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.<br /><br />In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at <a href='mailto:IT-Help@wineshipping.com?Subject=API from Wineshipping'>IT-Help@wineshipping.com</a>.
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: V3
10
+ - Package version: 1.0.0
11
+ - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build wine_shipping.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./wine_shipping-1.0.0.gem
27
+ ```
28
+ (for development, run `gem install --dev ./wine_shipping-1.0.0.gem` to install the development dependencies)
29
+
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
31
+
32
+ Finally add this to the Gemfile:
33
+
34
+ gem 'wine_shipping', '~> 1.0.0'
35
+
36
+ ### Install from Git
37
+
38
+ If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
39
+
40
+ gem 'wine_shipping', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
41
+
42
+ ### Include the Ruby code directly
43
+
44
+ Include the Ruby code directly using `-I` as follows:
45
+
46
+ ```shell
47
+ ruby -Ilib script.rb
48
+ ```
49
+
50
+ ## Getting Started
51
+
52
+ Please follow the [installation](#installation) procedure and then run the following code:
53
+ ```ruby
54
+ # Load the gem
55
+ require 'wine_shipping'
56
+
57
+ api_instance = WineShipping::InventoryApi.new
58
+
59
+ authentication_details = WineShipping::Authentication.new # Authentication |
60
+
61
+
62
+ begin
63
+ result = api_instance.get_inventory_details(authentication_details)
64
+ p result
65
+ rescue WineShipping::ApiError => e
66
+ puts "Exception when calling InventoryApi->get_inventory_details: #{e}"
67
+ end
68
+
69
+ ```
70
+
71
+ ## Documentation for API Endpoints
72
+
73
+ All URIs are relative to *https://wsservices-test.azurewebsites.net*
74
+
75
+ Class | Method | HTTP request | Description
76
+ ------------ | ------------- | ------------- | -------------
77
+ *WineShipping::InventoryApi* | [**get_inventory_details**](docs/InventoryApi.md#get_inventory_details) | **POST** /api/Inventory/GetDetails |
78
+ *WineShipping::InventoryApi* | [**get_inventory_status**](docs/InventoryApi.md#get_inventory_status) | **POST** /api/Inventory/GetStatus |
79
+ *WineShipping::InventoryMovementApi* | [**create_purchase_order**](docs/InventoryMovementApi.md#create_purchase_order) | **POST** /api/InventoryMovement/CreatePurchaseOrder |
80
+ *WineShipping::InventoryMovementApi* | [**create_transfer_order**](docs/InventoryMovementApi.md#create_transfer_order) | **POST** /api/InventoryMovement/CreateTransferOrder |
81
+ *WineShipping::SKUApi* | [**create_sku**](docs/SKUApi.md#create_sku) | **POST** /api/SKU/CreateSKU |
82
+ *WineShipping::SalesOrderApi* | [**cancel_sales_order**](docs/SalesOrderApi.md#cancel_sales_order) | **POST** /api/SalesOrder/CancelSalesOrder |
83
+ *WineShipping::SalesOrderApi* | [**create_sales_order**](docs/SalesOrderApi.md#create_sales_order) | **POST** /api/SalesOrder/CreateSalesOrder |
84
+ *WineShipping::SalesOrderApi* | [**get_orders_on_hold**](docs/SalesOrderApi.md#get_orders_on_hold) | **POST** /api/SalesOrder/GetOrdersOnHold |
85
+ *WineShipping::SalesOrderApi* | [**get_returns**](docs/SalesOrderApi.md#get_returns) | **POST** /api/SalesOrder/GetReturns |
86
+ *WineShipping::SalesOrderApi* | [**replace_sales_order**](docs/SalesOrderApi.md#replace_sales_order) | **POST** /api/SalesOrder/ReplaceSalesOrder |
87
+ *WineShipping::TrackingApi* | [**get_details**](docs/TrackingApi.md#get_details) | **POST** /api/Tracking/GetDetails |
88
+
89
+
90
+ ## Documentation for Models
91
+
92
+ - [WineShipping::Authentication](docs/Authentication.md)
93
+ - [WineShipping::BillingContactInfo](docs/BillingContactInfo.md)
94
+ - [WineShipping::DeliveryContactInfo](docs/DeliveryContactInfo.md)
95
+ - [WineShipping::Inventory](docs/Inventory.md)
96
+ - [WineShipping::InventoryStatusRequest](docs/InventoryStatusRequest.md)
97
+ - [WineShipping::InventoryStatusResult](docs/InventoryStatusResult.md)
98
+ - [WineShipping::ItemInfo](docs/ItemInfo.md)
99
+ - [WineShipping::OrderOnHold](docs/OrderOnHold.md)
100
+ - [WineShipping::OrderOnHoldItem](docs/OrderOnHoldItem.md)
101
+ - [WineShipping::PackageItem](docs/PackageItem.md)
102
+ - [WineShipping::PurchaseOrderDetails](docs/PurchaseOrderDetails.md)
103
+ - [WineShipping::PurchaseOrderInfo](docs/PurchaseOrderInfo.md)
104
+ - [WineShipping::PurchaseOrderItemInfo](docs/PurchaseOrderItemInfo.md)
105
+ - [WineShipping::RecipientContactInfo](docs/RecipientContactInfo.md)
106
+ - [WineShipping::RequestorInfo](docs/RequestorInfo.md)
107
+ - [WineShipping::ReturnResult](docs/ReturnResult.md)
108
+ - [WineShipping::ReturnSalesOrderHeader](docs/ReturnSalesOrderHeader.md)
109
+ - [WineShipping::ReturnSalesOrderLine](docs/ReturnSalesOrderLine.md)
110
+ - [WineShipping::ReturnsRequest](docs/ReturnsRequest.md)
111
+ - [WineShipping::SKUDetails](docs/SKUDetails.md)
112
+ - [WineShipping::SKUInfo](docs/SKUInfo.md)
113
+ - [WineShipping::SalesOrderCancelRequest](docs/SalesOrderCancelRequest.md)
114
+ - [WineShipping::SalesOrderDetails](docs/SalesOrderDetails.md)
115
+ - [WineShipping::SalesOrderInfo](docs/SalesOrderInfo.md)
116
+ - [WineShipping::ShipmentInfo](docs/ShipmentInfo.md)
117
+ - [WineShipping::TrackingRequest](docs/TrackingRequest.md)
118
+ - [WineShipping::TrackingResult](docs/TrackingResult.md)
119
+ - [WineShipping::TransferOrderDetails](docs/TransferOrderDetails.md)
120
+ - [WineShipping::TransferOrderInfo](docs/TransferOrderInfo.md)
121
+ - [WineShipping::TransferOrderItemInfo](docs/TransferOrderItemInfo.md)
122
+ - [WineShipping::WarehouseInventoryStatus](docs/WarehouseInventoryStatus.md)
123
+
124
+
125
+ ## Documentation for Authorization
126
+
127
+ All endpoints do not require authorization.
128
+
@@ -0,0 +1,8 @@
1
+ begin
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+ task default: :spec
6
+ rescue LoadError
7
+ # no rspec available
8
+ end
@@ -0,0 +1,10 @@
1
+ # WineShipping::Authentication
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **user_key** | **String** | | [optional]
7
+ **password** | **String** | | [optional]
8
+ **customer_no** | **String** | | [optional]
9
+
10
+
@@ -0,0 +1,18 @@
1
+ # WineShipping::BillingContactInfo
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **first_name** | **String** | | [optional]
7
+ **last_name** | **String** | | [optional]
8
+ **company** | **String** | | [optional]
9
+ **address** | **String** | | [optional]
10
+ **address2** | **String** | | [optional]
11
+ **city** | **String** | | [optional]
12
+ **state** | **String** | | [optional]
13
+ **zip_code** | **String** | | [optional]
14
+ **country** | **String** | | [optional]
15
+ **phone_number** | **String** | | [optional]
16
+ **email_address** | **String** | | [optional]
17
+
18
+
@@ -0,0 +1,17 @@
1
+ # WineShipping::DeliveryContactInfo
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **hold_at_location** | **Integer** | | [optional]
7
+ **location_code** | **String** | | [optional]
8
+ **company** | **String** | | [optional]
9
+ **address** | **String** | | [optional]
10
+ **address2** | **String** | | [optional]
11
+ **city** | **String** | | [optional]
12
+ **state** | **String** | | [optional]
13
+ **zip_code** | **String** | | [optional]
14
+ **country** | **String** | | [optional]
15
+ **phone_number** | **String** | | [optional]
16
+
17
+
@@ -0,0 +1,20 @@
1
+ # WineShipping::Inventory
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **customer_no** | **String** | | [optional]
7
+ **customer_name** | **String** | | [optional]
8
+ **item_no** | **String** | | [optional]
9
+ **item_description** | **String** | | [optional]
10
+ **item_unit** | **String** | | [optional]
11
+ **inventory_site** | **String** | | [optional]
12
+ **inventory_warehouse** | **String** | | [optional]
13
+ **inventory_status** | **String** | | [optional]
14
+ **on_hand_quantity** | **String** | | [optional]
15
+ **reserved_quantity** | **String** | | [optional]
16
+ **available_quantity** | **String** | | [optional]
17
+ **back_order_quantity** | **String** | | [optional]
18
+ **open_po_quantity** | **String** | | [optional]
19
+
20
+
@@ -0,0 +1,102 @@
1
+ # WineShipping::InventoryApi
2
+
3
+ All URIs are relative to *https://wsservices-test.azurewebsites.net*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_inventory_details**](InventoryApi.md#get_inventory_details) | **POST** /api/Inventory/GetDetails |
8
+ [**get_inventory_status**](InventoryApi.md#get_inventory_status) | **POST** /api/Inventory/GetStatus |
9
+
10
+
11
+ # **get_inventory_details**
12
+ > Array&lt;Inventory&gt; get_inventory_details(authentication_details)
13
+
14
+
15
+
16
+ This operation provides inventory information with warehouse, status, quantity on hand, quantity reserved on orders, quantity on backorder, quantity available, and quantity on an inbound PO. This operation accepts a customer number to summarize inventory information within the Wineshipping system. This is a Legacy operation for backward compatibility. For new integration the recomended operation is GetInventoryStatus.
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'wine_shipping'
22
+
23
+ api_instance = WineShipping::InventoryApi.new
24
+
25
+ authentication_details = WineShipping::Authentication.new # Authentication |
26
+
27
+
28
+ begin
29
+ result = api_instance.get_inventory_details(authentication_details)
30
+ p result
31
+ rescue WineShipping::ApiError => e
32
+ puts "Exception when calling InventoryApi->get_inventory_details: #{e}"
33
+ end
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ Name | Type | Description | Notes
39
+ ------------- | ------------- | ------------- | -------------
40
+ **authentication_details** | [**Authentication**](Authentication.md)| |
41
+
42
+ ### Return type
43
+
44
+ [**Array&lt;Inventory&gt;**](Inventory.md)
45
+
46
+ ### Authorization
47
+
48
+ No authorization required
49
+
50
+ ### HTTP request headers
51
+
52
+ - **Content-Type**: application/json
53
+ - **Accept**: application/json
54
+
55
+
56
+
57
+ # **get_inventory_status**
58
+ > InventoryStatusResult get_inventory_status(invent_status_request)
59
+
60
+
61
+
62
+ This operation provides inventory information with warehouse, status, quantity on hand, quantity reserved on orders, quantity on backorder, quantity available, and quantity on an inbound PO. This operation optionally accepts a warehouse code to return related inventory records for a specific Wineshipping warehouse, if omitted the operation will return inventory records for all warehouses. The operation also accepts an array of items to query inventory records, if omitted returns inventory records for all items in the warehouse specified.
63
+
64
+ ### Example
65
+ ```ruby
66
+ # load the gem
67
+ require 'wine_shipping'
68
+
69
+ api_instance = WineShipping::InventoryApi.new
70
+
71
+ invent_status_request = WineShipping::InventoryStatusRequest.new # InventoryStatusRequest |
72
+
73
+
74
+ begin
75
+ result = api_instance.get_inventory_status(invent_status_request)
76
+ p result
77
+ rescue WineShipping::ApiError => e
78
+ puts "Exception when calling InventoryApi->get_inventory_status: #{e}"
79
+ end
80
+ ```
81
+
82
+ ### Parameters
83
+
84
+ Name | Type | Description | Notes
85
+ ------------- | ------------- | ------------- | -------------
86
+ **invent_status_request** | [**InventoryStatusRequest**](InventoryStatusRequest.md)| |
87
+
88
+ ### Return type
89
+
90
+ [**InventoryStatusResult**](InventoryStatusResult.md)
91
+
92
+ ### Authorization
93
+
94
+ No authorization required
95
+
96
+ ### HTTP request headers
97
+
98
+ - **Content-Type**: application/json
99
+ - **Accept**: application/json
100
+
101
+
102
+
@@ -0,0 +1,100 @@
1
+ # WineShipping::InventoryMovementApi
2
+
3
+ All URIs are relative to *https://wsservices-test.azurewebsites.net*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create_purchase_order**](InventoryMovementApi.md#create_purchase_order) | **POST** /api/InventoryMovement/CreatePurchaseOrder |
8
+ [**create_transfer_order**](InventoryMovementApi.md#create_transfer_order) | **POST** /api/InventoryMovement/CreateTransferOrder |
9
+
10
+
11
+ # **create_purchase_order**
12
+ > create_purchase_order(order_details_info)
13
+
14
+
15
+
16
+ Successful execution of this method will generate a new purchase order in Wineshipping's system and will return a transaction reference identifier. Store this identifier back into your system for reference later in the event there is an issue with the purchase order.
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'wine_shipping'
22
+
23
+ api_instance = WineShipping::InventoryMovementApi.new
24
+
25
+ order_details_info = WineShipping::PurchaseOrderDetails.new # PurchaseOrderDetails |
26
+
27
+
28
+ begin
29
+ api_instance.create_purchase_order(order_details_info)
30
+ rescue WineShipping::ApiError => e
31
+ puts "Exception when calling InventoryMovementApi->create_purchase_order: #{e}"
32
+ end
33
+ ```
34
+
35
+ ### Parameters
36
+
37
+ Name | Type | Description | Notes
38
+ ------------- | ------------- | ------------- | -------------
39
+ **order_details_info** | [**PurchaseOrderDetails**](PurchaseOrderDetails.md)| |
40
+
41
+ ### Return type
42
+
43
+ nil (empty response body)
44
+
45
+ ### Authorization
46
+
47
+ No authorization required
48
+
49
+ ### HTTP request headers
50
+
51
+ - **Content-Type**: application/json
52
+ - **Accept**: application/json
53
+
54
+
55
+
56
+ # **create_transfer_order**
57
+ > create_transfer_order(order_details_info)
58
+
59
+
60
+
61
+ Successful execution of this method will generate a new transfer order in Wineshipping's system and will return a transaction reference identifier. Store this identifier back into your system for reference later in the event there is an issue with the transfer order.
62
+
63
+ ### Example
64
+ ```ruby
65
+ # load the gem
66
+ require 'wine_shipping'
67
+
68
+ api_instance = WineShipping::InventoryMovementApi.new
69
+
70
+ order_details_info = WineShipping::TransferOrderDetails.new # TransferOrderDetails |
71
+
72
+
73
+ begin
74
+ api_instance.create_transfer_order(order_details_info)
75
+ rescue WineShipping::ApiError => e
76
+ puts "Exception when calling InventoryMovementApi->create_transfer_order: #{e}"
77
+ end
78
+ ```
79
+
80
+ ### Parameters
81
+
82
+ Name | Type | Description | Notes
83
+ ------------- | ------------- | ------------- | -------------
84
+ **order_details_info** | [**TransferOrderDetails**](TransferOrderDetails.md)| |
85
+
86
+ ### Return type
87
+
88
+ nil (empty response body)
89
+
90
+ ### Authorization
91
+
92
+ No authorization required
93
+
94
+ ### HTTP request headers
95
+
96
+ - **Content-Type**: application/json
97
+ - **Accept**: application/json
98
+
99
+
100
+
@@ -0,0 +1,13 @@
1
+ # WineShipping::InventoryStatusRequest
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **authentication** | [**Authentication**](Authentication.md) | | [optional]
7
+ **warehouse** | **String** | | [optional]
8
+ **item_numbers** | **Array&lt;String&gt;** | | [optional]
9
+ **include_total_record_count** | **BOOLEAN** | | [optional]
10
+ **skip** | **Integer** | | [optional]
11
+ **top** | **Integer** | | [optional]
12
+
13
+
@@ -0,0 +1,12 @@
1
+ # WineShipping::InventoryStatusResult
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **total_record_count** | **Integer** | | [optional]
7
+ **skip** | **Integer** | | [optional]
8
+ **top** | **Integer** | | [optional]
9
+ **more_records** | **BOOLEAN** | | [optional]
10
+ **warehouse_inventory_statuses** | [**Array&lt;WarehouseInventoryStatus&gt;**](WarehouseInventoryStatus.md) | | [optional]
11
+
12
+