Class: Bigcommerce::OrderProduct

Inherits:
Resource
  • Object
show all
Defined in:
lib/bigcommerce/resources/orders/order_product.rb

Class Method Summary collapse

Class Method Details

.count(order_id, params = {}) ⇒ Object


57
58
59
# File 'lib/bigcommerce/resources/orders/order_product.rb', line 57

def self.count(order_id, params = {})
  get "orders/#{order_id}/products/count", params
end

.count_all(params = {}) ⇒ Object


61
62
63
# File 'lib/bigcommerce/resources/orders/order_product.rb', line 61

def self.count_all(params = {})
  get 'orders/products/count', params
end