module ShopifyClient::API::Order

Public Instance Methods

order(id, params = {}) click to toggle source
# File lib/shopify_client/api/order.rb, line 13
def order(id, params = {})
  response = get("orders/#{id}.json", params)
  ShopifyClient::Order.from_response(response)
end
orders(params = {}) click to toggle source
# File lib/shopify_client/api/order.rb, line 8
def orders(params = {})
  response = get("orders.json", params)
  ShopifyClient::Order.array_from_response(response)
end