Butyrate--CoA ligase that is active in vitro with medium-chain fatty acids, with a preference for hexanoate and octanoate. a medium chain fatty acid + ATP + CoA = a medium-chain fatty acyl-CoA + AMP + diphosphate Expressed in flowers. Belongs to the ATP-dependent AMP-binding enzyme family.