ultracart_api 4.1.83 → 4.1.85

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.
@@ -0,0 +1,259 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module UltracartClient
17
+ class ItemGatedCodesResponse
18
+ attr_accessor :error
19
+
20
+ # gated_codes
21
+ attr_accessor :gated_codes
22
+
23
+ attr_accessor :metadata
24
+
25
+ # Indicates if API call was successful
26
+ attr_accessor :success
27
+
28
+ attr_accessor :warning
29
+
30
+ # Attribute mapping from ruby-style variable name to JSON key.
31
+ def self.attribute_map
32
+ {
33
+ :'error' => :'error',
34
+ :'gated_codes' => :'gatedCodes',
35
+ :'metadata' => :'metadata',
36
+ :'success' => :'success',
37
+ :'warning' => :'warning'
38
+ }
39
+ end
40
+
41
+ # Returns all the JSON keys this model knows about
42
+ def self.acceptable_attributes
43
+ attribute_map.values
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.openapi_types
48
+ {
49
+ :'error' => :'Error',
50
+ :'gated_codes' => :'Array<ItemGatedCode>',
51
+ :'metadata' => :'ResponseMetadata',
52
+ :'success' => :'Boolean',
53
+ :'warning' => :'Warning'
54
+ }
55
+ end
56
+
57
+ # List of attributes with nullable: true
58
+ def self.openapi_nullable
59
+ Set.new([
60
+ ])
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ if (!attributes.is_a?(Hash))
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ItemGatedCodesResponse` initialize method"
68
+ end
69
+
70
+ # check to see if the attribute exists and convert string to symbol for hash key
71
+ attributes = attributes.each_with_object({}) { |(k, v), h|
72
+ if (!self.class.attribute_map.key?(k.to_sym))
73
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ItemGatedCodesResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
74
+ end
75
+ h[k.to_sym] = v
76
+ }
77
+
78
+ if attributes.key?(:'error')
79
+ self.error = attributes[:'error']
80
+ end
81
+
82
+ if attributes.key?(:'gated_codes')
83
+ if (value = attributes[:'gated_codes']).is_a?(Array)
84
+ self.gated_codes = value
85
+ end
86
+ end
87
+
88
+ if attributes.key?(:'metadata')
89
+ self.metadata = attributes[:'metadata']
90
+ end
91
+
92
+ if attributes.key?(:'success')
93
+ self.success = attributes[:'success']
94
+ end
95
+
96
+ if attributes.key?(:'warning')
97
+ self.warning = attributes[:'warning']
98
+ end
99
+ end
100
+
101
+ # Show invalid properties with the reasons. Usually used together with valid?
102
+ # @return Array for valid properties with the reasons
103
+ def list_invalid_properties
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ true
112
+ end
113
+
114
+ # Checks equality by comparing each attribute.
115
+ # @param [Object] Object to be compared
116
+ def ==(o)
117
+ return true if self.equal?(o)
118
+ self.class == o.class &&
119
+ error == o.error &&
120
+ gated_codes == o.gated_codes &&
121
+ metadata == o.metadata &&
122
+ success == o.success &&
123
+ warning == o.warning
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Integer] Hash code
134
+ def hash
135
+ [error, gated_codes, metadata, success, warning].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def self.build_from_hash(attributes)
142
+ new.build_from_hash(attributes)
143
+ end
144
+
145
+ # Builds the object from hash
146
+ # @param [Hash] attributes Model attributes in the form of hash
147
+ # @return [Object] Returns the model itself
148
+ def build_from_hash(attributes)
149
+ return nil unless attributes.is_a?(Hash)
150
+ attributes = attributes.transform_keys(&:to_sym)
151
+ self.class.openapi_types.each_pair do |key, type|
152
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
153
+ self.send("#{key}=", nil)
154
+ elsif type =~ /\AArray<(.*)>/i
155
+ # check to ensure the input is an array given that the attribute
156
+ # is documented as an array but the input is not
157
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
158
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
159
+ end
160
+ elsif !attributes[self.class.attribute_map[key]].nil?
161
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
162
+ end
163
+ end
164
+
165
+ self
166
+ end
167
+
168
+ # Deserializes the data based on type
169
+ # @param string type Data type
170
+ # @param string value Value to be deserialized
171
+ # @return [Object] Deserialized data
172
+ def _deserialize(type, value)
173
+ case type.to_sym
174
+ when :Time
175
+ Time.parse(value)
176
+ when :Date
177
+ Date.parse(value)
178
+ when :String
179
+ value.to_s
180
+ when :Integer
181
+ value.to_i
182
+ when :Float
183
+ value.to_f
184
+ when :Boolean
185
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
186
+ true
187
+ else
188
+ false
189
+ end
190
+ when :Object
191
+ # generic object (usually a Hash), return directly
192
+ value
193
+ when /\AArray<(?<inner_type>.+)>\z/
194
+ inner_type = Regexp.last_match[:inner_type]
195
+ value.map { |v| _deserialize(inner_type, v) }
196
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
197
+ k_type = Regexp.last_match[:k_type]
198
+ v_type = Regexp.last_match[:v_type]
199
+ {}.tap do |hash|
200
+ value.each do |k, v|
201
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
202
+ end
203
+ end
204
+ else # model
205
+ # models (e.g. Pet) or oneOf
206
+ klass = UltracartClient.const_get(type)
207
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
208
+ end
209
+ end
210
+
211
+ # Returns the string representation of the object
212
+ # @return [String] String presentation of the object
213
+ def to_s
214
+ to_hash.to_s
215
+ end
216
+
217
+ # to_body is an alias to to_hash (backward compatibility)
218
+ # @return [Hash] Returns the object in the form of hash
219
+ def to_body
220
+ to_hash
221
+ end
222
+
223
+ # Returns the object in the form of hash
224
+ # @return [Hash] Returns the object in the form of hash
225
+ def to_hash
226
+ hash = {}
227
+ self.class.attribute_map.each_pair do |attr, param|
228
+ value = self.send(attr)
229
+ if value.nil?
230
+ is_nullable = self.class.openapi_nullable.include?(attr)
231
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
232
+ end
233
+
234
+ hash[param] = _to_hash(value)
235
+ end
236
+ hash
237
+ end
238
+
239
+ # Outputs non-array value in the form of hash
240
+ # For object, use to_hash. Otherwise, just return the value
241
+ # @param [Object] value Any valid value
242
+ # @return [Hash] Returns the value in the form of hash
243
+ def _to_hash(value)
244
+ if value.is_a?(Array)
245
+ value.compact.map { |v| _to_hash(v) }
246
+ elsif value.is_a?(Hash)
247
+ {}.tap do |hash|
248
+ value.each { |k, v| hash[k] = _to_hash(v) }
249
+ end
250
+ elsif value.respond_to? :to_hash
251
+ value.to_hash
252
+ else
253
+ value
254
+ end
255
+ end
256
+
257
+ end
258
+
259
+ end
@@ -14,22 +14,22 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module UltracartClient
17
- class ItemInventoryUpdate
18
- # Distribution center code
19
- attr_accessor :distribution_center_code
17
+ class ItemGenerateGatedCodesRequest
18
+ # Optional codes to also dedupe against (e.g. an in-progress draft).
19
+ attr_accessor :additional_existing_codes
20
20
 
21
- # Inventory level
22
- attr_accessor :inventory_level
21
+ # Number of codes to generate (1-1000).
22
+ attr_accessor :count
23
23
 
24
- # Merchant Item ID
25
- attr_accessor :merchant_item_id
24
+ # Length of each code (8-32).
25
+ attr_accessor :length
26
26
 
27
27
  # Attribute mapping from ruby-style variable name to JSON key.
28
28
  def self.attribute_map
29
29
  {
30
- :'distribution_center_code' => :'distribution_center_code',
31
- :'inventory_level' => :'inventory_level',
32
- :'merchant_item_id' => :'merchant_item_id'
30
+ :'additional_existing_codes' => :'additionalExistingCodes',
31
+ :'count' => :'count',
32
+ :'length' => :'length'
33
33
  }
34
34
  end
35
35
 
@@ -41,9 +41,9 @@ module UltracartClient
41
41
  # Attribute type mapping.
42
42
  def self.openapi_types
43
43
  {
44
- :'distribution_center_code' => :'String',
45
- :'inventory_level' => :'Float',
46
- :'merchant_item_id' => :'String'
44
+ :'additional_existing_codes' => :'Array<String>',
45
+ :'count' => :'Integer',
46
+ :'length' => :'Integer'
47
47
  }
48
48
  end
49
49
 
@@ -57,27 +57,29 @@ module UltracartClient
57
57
  # @param [Hash] attributes Model attributes in the form of hash
58
58
  def initialize(attributes = {})
59
59
  if (!attributes.is_a?(Hash))
60
- fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ItemInventoryUpdate` initialize method"
60
+ fail ArgumentError, "The input argument (attributes) must be a hash in `UltracartClient::ItemGenerateGatedCodesRequest` initialize method"
61
61
  end
62
62
 
63
63
  # check to see if the attribute exists and convert string to symbol for hash key
64
64
  attributes = attributes.each_with_object({}) { |(k, v), h|
65
65
  if (!self.class.attribute_map.key?(k.to_sym))
66
- fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ItemInventoryUpdate`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
66
+ fail ArgumentError, "`#{k}` is not a valid attribute in `UltracartClient::ItemGenerateGatedCodesRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
67
67
  end
68
68
  h[k.to_sym] = v
69
69
  }
70
70
 
71
- if attributes.key?(:'distribution_center_code')
72
- self.distribution_center_code = attributes[:'distribution_center_code']
71
+ if attributes.key?(:'additional_existing_codes')
72
+ if (value = attributes[:'additional_existing_codes']).is_a?(Array)
73
+ self.additional_existing_codes = value
74
+ end
73
75
  end
74
76
 
75
- if attributes.key?(:'inventory_level')
76
- self.inventory_level = attributes[:'inventory_level']
77
+ if attributes.key?(:'count')
78
+ self.count = attributes[:'count']
77
79
  end
78
80
 
79
- if attributes.key?(:'merchant_item_id')
80
- self.merchant_item_id = attributes[:'merchant_item_id']
81
+ if attributes.key?(:'length')
82
+ self.length = attributes[:'length']
81
83
  end
82
84
  end
83
85
 
@@ -99,9 +101,9 @@ module UltracartClient
99
101
  def ==(o)
100
102
  return true if self.equal?(o)
101
103
  self.class == o.class &&
102
- distribution_center_code == o.distribution_center_code &&
103
- inventory_level == o.inventory_level &&
104
- merchant_item_id == o.merchant_item_id
104
+ additional_existing_codes == o.additional_existing_codes &&
105
+ count == o.count &&
106
+ length == o.length
105
107
  end
106
108
 
107
109
  # @see the `==` method
@@ -113,7 +115,7 @@ module UltracartClient
113
115
  # Calculates hash code according to all attributes.
114
116
  # @return [Integer] Hash code
115
117
  def hash
116
- [distribution_center_code, inventory_level, merchant_item_id].hash
118
+ [additional_existing_codes, count, length].hash
117
119
  end
118
120
 
119
121
  # Builds the object from hash
@@ -525,7 +525,7 @@ module UltracartClient
525
525
  return false if !@city.nil? && @city.to_s.length > 32
526
526
  return false if !@company.nil? && @company.to_s.length > 50
527
527
  return false if !@country_code.nil? && @country_code.to_s.length > 2
528
- current_stage_validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown"])
528
+ current_stage_validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown", "Hold"])
529
529
  return false unless current_stage_validator.valid?(@current_stage)
530
530
  return false if !@email.nil? && @email.to_s.length > 100
531
531
  return false if !@first_name.nil? && @first_name.to_s.length > 30
@@ -585,7 +585,7 @@ module UltracartClient
585
585
  # Custom attribute writer method checking allowed values (enum).
586
586
  # @param [Object] current_stage Object to be assigned
587
587
  def current_stage=(current_stage)
588
- validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown"])
588
+ validator = EnumAttributeValidator.new('String', ["Accounts Receivable", "Pending Clearance", "Fraud Review", "Rejected", "Shipping Department", "Completed Order", "Quote Request", "Quote Sent", "Least Cost Routing", "Unknown", "Hold"])
589
589
  unless validator.valid?(current_stage)
590
590
  fail ArgumentError, "invalid value for \"current_stage\", must be one of #{validator.allowable_values}."
591
591
  end
@@ -18,6 +18,9 @@ module UltracartClient
18
18
  # Additional information often a link to additional documentation
19
19
  attr_accessor :more_info
20
20
 
21
+ # A stable machine-readable code identifying the warning. See API docs for known values.
22
+ attr_accessor :warning_code
23
+
21
24
  # A technical message meant to be read by a developer
22
25
  attr_accessor :warning_message
23
26
 
@@ -25,6 +28,7 @@ module UltracartClient
25
28
  def self.attribute_map
26
29
  {
27
30
  :'more_info' => :'more_info',
31
+ :'warning_code' => :'warning_code',
28
32
  :'warning_message' => :'warning_message'
29
33
  }
30
34
  end
@@ -38,6 +42,7 @@ module UltracartClient
38
42
  def self.openapi_types
39
43
  {
40
44
  :'more_info' => :'String',
45
+ :'warning_code' => :'String',
41
46
  :'warning_message' => :'String'
42
47
  }
43
48
  end
@@ -67,6 +72,10 @@ module UltracartClient
67
72
  self.more_info = attributes[:'more_info']
68
73
  end
69
74
 
75
+ if attributes.key?(:'warning_code')
76
+ self.warning_code = attributes[:'warning_code']
77
+ end
78
+
70
79
  if attributes.key?(:'warning_message')
71
80
  self.warning_message = attributes[:'warning_message']
72
81
  end
@@ -91,6 +100,7 @@ module UltracartClient
91
100
  return true if self.equal?(o)
92
101
  self.class == o.class &&
93
102
  more_info == o.more_info &&
103
+ warning_code == o.warning_code &&
94
104
  warning_message == o.warning_message
95
105
  end
96
106
 
@@ -103,7 +113,7 @@ module UltracartClient
103
113
  # Calculates hash code according to all attributes.
104
114
  # @return [Integer] Hash code
105
115
  def hash
106
- [more_info, warning_message].hash
116
+ [more_info, warning_code, warning_message].hash
107
117
  end
108
118
 
109
119
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.1.83'
14
+ VERSION = '4.1.85'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -657,6 +657,11 @@ require 'ultracart_api/models/item_ebay_market_place_analysis'
657
657
  require 'ultracart_api/models/item_email_notifications'
658
658
  require 'ultracart_api/models/item_enrollment123'
659
659
  require 'ultracart_api/models/item_fulfillment_addon'
660
+ require 'ultracart_api/models/item_gated_code'
661
+ require 'ultracart_api/models/item_gated_code_response'
662
+ require 'ultracart_api/models/item_gated_codes_request'
663
+ require 'ultracart_api/models/item_gated_codes_response'
664
+ require 'ultracart_api/models/item_generate_gated_codes_request'
660
665
  require 'ultracart_api/models/item_gift_certificate'
661
666
  require 'ultracart_api/models/item_google_product_search'
662
667
  require 'ultracart_api/models/item_identifiers'
@@ -666,8 +671,6 @@ require 'ultracart_api/models/item_internal'
666
671
  require 'ultracart_api/models/item_inventory_snapshot'
667
672
  require 'ultracart_api/models/item_inventory_snapshot_distribution_center'
668
673
  require 'ultracart_api/models/item_inventory_snapshot_response'
669
- require 'ultracart_api/models/item_inventory_update'
670
- require 'ultracart_api/models/item_inventory_update_request'
671
674
  require 'ultracart_api/models/item_kit_component'
672
675
  require 'ultracart_api/models/item_kit_definition'
673
676
  require 'ultracart_api/models/item_option'
@@ -699,7 +702,6 @@ require 'ultracart_api/models/item_shipping_case'
699
702
  require 'ultracart_api/models/item_shipping_destination_markup'
700
703
  require 'ultracart_api/models/item_shipping_destination_restriction'
701
704
  require 'ultracart_api/models/item_shipping_distribution_center'
702
- require 'ultracart_api/models/item_shipping_distribution_center_response'
703
705
  require 'ultracart_api/models/item_shipping_method'
704
706
  require 'ultracart_api/models/item_shipping_package_requirement'
705
707
  require 'ultracart_api/models/item_tag'
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: 4.1.83
4
+ version: 4.1.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-29 00:00:00.000000000 Z
11
+ date: 2026-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -714,6 +714,11 @@ files:
714
714
  - docs/ItemEmailNotifications.md
715
715
  - docs/ItemEnrollment123.md
716
716
  - docs/ItemFulfillmentAddon.md
717
+ - docs/ItemGatedCode.md
718
+ - docs/ItemGatedCodeResponse.md
719
+ - docs/ItemGatedCodesRequest.md
720
+ - docs/ItemGatedCodesResponse.md
721
+ - docs/ItemGenerateGatedCodesRequest.md
717
722
  - docs/ItemGiftCertificate.md
718
723
  - docs/ItemGoogleProductSearch.md
719
724
  - docs/ItemIdentifiers.md
@@ -723,8 +728,6 @@ files:
723
728
  - docs/ItemInventorySnapshot.md
724
729
  - docs/ItemInventorySnapshotDistributionCenter.md
725
730
  - docs/ItemInventorySnapshotResponse.md
726
- - docs/ItemInventoryUpdate.md
727
- - docs/ItemInventoryUpdateRequest.md
728
731
  - docs/ItemKitComponent.md
729
732
  - docs/ItemKitDefinition.md
730
733
  - docs/ItemOption.md
@@ -756,7 +759,6 @@ files:
756
759
  - docs/ItemShippingDestinationMarkup.md
757
760
  - docs/ItemShippingDestinationRestriction.md
758
761
  - docs/ItemShippingDistributionCenter.md
759
- - docs/ItemShippingDistributionCenterResponse.md
760
762
  - docs/ItemShippingMethod.md
761
763
  - docs/ItemShippingPackageRequirement.md
762
764
  - docs/ItemTag.md
@@ -1722,6 +1724,11 @@ files:
1722
1724
  - lib/ultracart_api/models/item_email_notifications.rb
1723
1725
  - lib/ultracart_api/models/item_enrollment123.rb
1724
1726
  - lib/ultracart_api/models/item_fulfillment_addon.rb
1727
+ - lib/ultracart_api/models/item_gated_code.rb
1728
+ - lib/ultracart_api/models/item_gated_code_response.rb
1729
+ - lib/ultracart_api/models/item_gated_codes_request.rb
1730
+ - lib/ultracart_api/models/item_gated_codes_response.rb
1731
+ - lib/ultracart_api/models/item_generate_gated_codes_request.rb
1725
1732
  - lib/ultracart_api/models/item_gift_certificate.rb
1726
1733
  - lib/ultracart_api/models/item_google_product_search.rb
1727
1734
  - lib/ultracart_api/models/item_identifiers.rb
@@ -1731,8 +1738,6 @@ files:
1731
1738
  - lib/ultracart_api/models/item_inventory_snapshot.rb
1732
1739
  - lib/ultracart_api/models/item_inventory_snapshot_distribution_center.rb
1733
1740
  - lib/ultracart_api/models/item_inventory_snapshot_response.rb
1734
- - lib/ultracart_api/models/item_inventory_update.rb
1735
- - lib/ultracart_api/models/item_inventory_update_request.rb
1736
1741
  - lib/ultracart_api/models/item_kit_component.rb
1737
1742
  - lib/ultracart_api/models/item_kit_definition.rb
1738
1743
  - lib/ultracart_api/models/item_option.rb
@@ -1764,7 +1769,6 @@ files:
1764
1769
  - lib/ultracart_api/models/item_shipping_destination_markup.rb
1765
1770
  - lib/ultracart_api/models/item_shipping_destination_restriction.rb
1766
1771
  - lib/ultracart_api/models/item_shipping_distribution_center.rb
1767
- - lib/ultracart_api/models/item_shipping_distribution_center_response.rb
1768
1772
  - lib/ultracart_api/models/item_shipping_method.rb
1769
1773
  - lib/ultracart_api/models/item_shipping_package_requirement.rb
1770
1774
  - lib/ultracart_api/models/item_tag.rb
@@ -1,22 +0,0 @@
1
- # UltracartClient::ItemInventoryUpdate
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **distribution_center_code** | **String** | Distribution center code | [optional] |
8
- | **inventory_level** | **Float** | Inventory level | [optional] |
9
- | **merchant_item_id** | **String** | Merchant Item ID | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'ultracart_api'
15
-
16
- instance = UltracartClient::ItemInventoryUpdate.new(
17
- distribution_center_code: null,
18
- inventory_level: null,
19
- merchant_item_id: null
20
- )
21
- ```
22
-
@@ -1,18 +0,0 @@
1
- # UltracartClient::ItemInventoryUpdateRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **inventory_updates** | [**Array&lt;ItemInventoryUpdate&gt;**](ItemInventoryUpdate.md) | Inventory updates array | [optional] |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'ultracart_api'
13
-
14
- instance = UltracartClient::ItemInventoryUpdateRequest.new(
15
- inventory_updates: null
16
- )
17
- ```
18
-