In August, the companies announced a ten-year partnership, with Amazon getting a major source of desperately needed cash and some help with its balance-sheet problems. The companies agreed that Toys “R” Us inventory would be kept in Amazon’s distribution centers—the first step toward making the most expensive and complicated part of Amazon’s business a platform that other companies could use.

