Update api.rb

Added support for post order