title: Creating a shorten URL for products using Amazon advertising API
body: <p>I'm using Amazon's API to browse for some products and I would like to generate an affiliate link for some of them.</p>
  
  <p>I know I can get a normal affiliate link from the <code>DetailPageURL</code> field in the response (and that I can create one manually following the affiliate link format) but I would like to find an automated way to create a <em>shorten</em> URL for a product that contains my tag.</p>
  
  <p>2 technical notes:</p>
  
  <ul>
  <li>Shorten URLs are the ones Amazon provides that look like amzn.to/12345</li>
  <li>I know I create these manually via the associates panel, but I'm looking for a way to get them using an API.</li>
  </ul>
  
  <p>Thanks!</p>