Class: BigCommerce::ManagementAPI::Inventories::Items

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/big_commerce/management_api/inventories.rb

Constant Summary collapse

PATH =
"inventory/items"
RESULT_INSTANCE =
Inventory

Constants inherited from Endpoint

Endpoint::CONTENT_TYPE, Endpoint::CONTENT_TYPE_JSON, Endpoint::HOST, Endpoint::JSON_CONTENT_TYPES, Endpoint::PORT, Endpoint::RESULT_KEY, Endpoint::USER_AGENT

Instance Method Summary collapse

Methods inherited from Endpoint

#initialize

Constructor Details

This class inherits a constructor from BigCommerce::ManagementAPI::Endpoint

Instance Method Details

#get(options = {}) ⇒ Object



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/big_commerce/management_api/inventories.rb', line 12

def get(options = {})
  GET(
    PATH,
    with_in_param(
      options,
      :location_code,
      :location_id,
      :product_id,
      :sku,
      :variant_id
    )
  )
end