spree/spree — pull request #5609 by HoyaBoya (2014-11-13 23:13:15+00:00)
Title: Include classification position with taxons, slight undo of #5569

Spree has really useful classification position scores that are adjustable in the Admin. Let's expose this over the Product payload in the API and nest taxons under there.

I've broken the JSON contract that I provided in this PR below; it feels more logical to have classifications -> taxon, rather than two peer nodes of classifications and taxons, and certainly better than duplicating taxons as full payloads. I think this is ok since I'm the idiot that introduced taxons to begin with.

Willing to keep the contract and have them both as peers.

https://github.com/spree/spree/pull/5569