orders api now returns its variants product id #2561 #2565

Fixes #2587