Method: Printful::OrdersResource#estimate

Defined in:
lib/printful/resources/orders.rb

#estimate(**params) ⇒ Object



10
11
12
13
# File 'lib/printful/resources/orders.rb', line 10

def estimate(**params)
  response = post_request("orders/estimate-costs", body: params)
  Cost.new(response.body["result"])
end