Method: Lightspeed::API::Sales#update

Defined in:
lib/lightspeed/api/sales.rb

#update(sale_id, attributes = {}) ⇒ Object



16
17
18
# File 'lib/lightspeed/api/sales.rb', line 16

def update(sale_id, attributes = {})
  client.put("Account/#{client.account_id}/Sale/#{sale_id}.json", body: attributes).body
end