I found it surprisingly hard to generate valid JWT tokens per this documentation, and kept getting a 401. Here’s some working code.
It’s easy to create single In App Purchases via iTunes Connect – but if you want to add tens or hundreds, here’s how to upload them in bulk using Transporter v2.1.x on Mac.