135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
|
# File 'lib/shopify_api/rest/resources/2022_04/inventory_level.rb', line 135
def connect(
inventory_item_id: nil,
location_id: nil,
relocate_if_necessary: nil,
body: nil,
**kwargs
)
self.class.request(
http_method: :post,
operation: :connect,
session: @session,
ids: {},
params: {inventory_item_id: inventory_item_id, location_id: location_id, relocate_if_necessary: relocate_if_necessary}.merge(kwargs).compact,
body: body,
entity: self,
)
end
|