When an affiliate creates first creates their account, a custom discount code/link will be generated for them to share automatically. However, there are certain scenarios where an affiliate may want to change their code/link. This article will be going over how to edit a code/link after its been generated.
Editing the code
From either the Payouts or Affiliates tab in your merchant dashboard, click on the affiliate's name you would like to edit.
Once you've opened an affiliate's profile, you can then edit their discount code by clicking the blue pencil icon.
Type in the new code and click the Save button. If the code you typed is not currently an active code in Shopify, then you will see a success message in the top right corner of your screen. If the code already exists, you'll see an error message telling you to change the code to a unique one.
Viewing the new code in Shopify
To view the new code, head over to the discounts tab in your Shopify admin, and search the name of the original code. Select the code, and then click the "View all codes" button.
Here you'll see the new code you created for the affiliate.