lib/muffin_man/orders/v0.rb in muffin_man-2.0.5 vs lib/muffin_man/orders/v0.rb in muffin_man-2.0.6
- old
+ new
@@ -36,9 +36,15 @@
@query_params["MarketplaceIds"] = marketplace_ids
@request_type = "GET"
call_api
end
+ def get_order(order_id)
+ @local_var_path = "/orders/v0/orders/#{order_id}"
+ @request_type = "GET"
+ call_api
+ end
+
def get_order_items(order_id, params = {})
@query_params = params.slice(*GET_ORDER_ITEMS_PARAMS)
@local_var_path = "/orders/v0/orders/#{order_id}/orderItems"
@request_type = "GET"
call_api