on sales api