ruby/siteflow_api.rb
def cancel_order(source_account, order_id)
	puts "Canceling order: " + order_id + " from: " + source_account
	response = request_put("/api/order/" + source_account + "/" + order_id + "/cancel")
	puts response.body
end
# Cancels an order in Site Flow.
#
# Param: 
#   source_account - name of the source account
#   order_id - source order id of the order (user generated)
Cancels an order in Site Flow.
Param:
source_account - name of the source account
order_id - source order id of the order (user generated)
Cancels an order in Site Flow . Param : source_account - name of the source account order_id - source order id of the order ( user generated )
def cancel_order(source_account, order_id)
	puts "Canceling order: " + order_id + " from: " + source_account
	response = request_put("/api/order/" + source_account + "/" + order_id + "/cancel")
	puts response.body
end
def cancel_order ( source_account , order_id ) puts "Canceling order: " + order_id + " from: " + source_account response = request_put ( "/api/order/" + source_account + "/" + order_id + "/cancel" ) puts response . body end
Cancels an order in Site Flow.
Cancels an order in Site Flow .
source_account
order_id