Method: Mints::Contact#update_order
- Defined in:
- lib/contact.rb
permalink #update_order(id, data) ⇒ Object
Update Order.
Update an order info.
Parameters
- id
-
(Integer) – Order Id
- data
-
(Hash) – Data to be submited.
FIXME: This method doesnt update an order.
620 621 622 |
# File 'lib/contact.rb', line 620 def update_order(id, data) return @client.raw("put", "/ecommerce/orders/#{id}", nil, data_transform(data), @contact_v1_url) end |