diff --git a/lib/bigcommerce/api.rb b/lib/bigcommerce/api.rb index a96e5a4..9305b5e 100644 --- a/lib/bigcommerce/api.rb +++ b/lib/bigcommerce/api.rb @@ -245,6 +245,10 @@ def update_order(id,options={}) @connection.put("/orders/#{id}", options) end + def orders_count(options={}) + @connection.get("/orders/count", options) + end + def orders_coupons(id,options={}) @connection.get("/orders/#{id}/coupons", options) end @@ -297,8 +301,8 @@ def products(options={}) @connection.get("/products", options) end - def products_count - @connection.get '/products/count' + def products_count(options={}) + @connection.get('/products/count', options) end def product(id,options={})