backend sale and api called in service