Method: Retailcrm#order_types_edit
- Defined in:
- lib/retailcrm.rb
#order_types_edit(order_type) ⇒ Object
Edit order type
510 511 512 513 514 515 |
# File 'lib/retailcrm.rb', line 510 def order_types_edit(order_type) code = order_type[:code] url = "#{@url}reference/order-types/#{code}/edit" @params[:orderType] = order_type.to_json make_request(url, 'post') end |