title: Shopify API - get discount codes in the store with PHP
body: <p>With a Shopify API call I am able to get the product data, but I need a way to get the discount codes available in the store.</p>
  
  <p>I need the script in PHP. Does anyone have an idea of how I can achieve this?</p>