module PlentyClient::Warehouse::Management

Constants

WM_FIND_RACKS
WM_FIND_STORAGE_LOCATIONS
WM_LIST_RACKS
WM_LIST_STORAGE_LOCATIONS
WM_STORAGE_LOCATION_BASE_PATH

Public Class Methods

find_location(warehouse_id, storage_location_id, headers = {}, &block) click to toggle source
# File lib/plenty_client/warehouse/management.rb, line 22
def find_location(warehouse_id, storage_location_id, headers = {}, &block)
  get(build_endpoint("#{WM_STORAGE_LOCATION_BASE_PATH}#{WM_FIND_STORAGE_LOCATIONS}",
                     warehouse: warehouse_id,
                     storage_location: storage_location_id),
      headers, &block)
end
find_racks(warehouse_id, headers = {}, &block) click to toggle source
# File lib/plenty_client/warehouse/management.rb, line 35
def find_racks(warehouse_id, headers = {}, &block)
  get(build_endpoint("#{WM_STORAGE_LOCATION_BASE_PATH}#{WM_FIND_RACKS}",
                     warehouse: warehouse_id),
      headers, &block)
end
list_locations(warehouse_id, headers = {}, &block) click to toggle source
# File lib/plenty_client/warehouse/management.rb, line 16
def list_locations(warehouse_id, headers = {}, &block)
  get(build_endpoint("#{WM_STORAGE_LOCATION_BASE_PATH}#{WM_LIST_STORAGE_LOCATIONS}",
                     warehouse: warehouse_id),
      headers, &block)
end
list_racks(warehouse_id, headers = {}, &block) click to toggle source
# File lib/plenty_client/warehouse/management.rb, line 29
def list_racks(warehouse_id, headers = {}, &block)
  get(build_endpoint("#{WM_STORAGE_LOCATION_BASE_PATH}#{WM_LIST_RACKS}",
                     warehouse: warehouse_id),
      headers, &block)
end