Email Marketing allows you to send codes and keys to your buyers when they purchase your digital goods product on eBay. You can send the same code every time, or your can send from a database and have sent codes automatically deleted.

Let's set up a code database to send to buyers for a digital good product:


Step 1 - In the Digital Goods tab, click "Add New Codes"

You can control all of your digital goods setting in the Digital Goods tab. Go to Digital Goods.


Step 2 - Name for your digital goods 'Database' & 'Dynamic Field'

a) Name your Database for easy organization
b) Name your 'Dynamic Field'

The dynamic field name will be used to insert the code in your message.
(Be sure you can recognize it easily!)


Step 3 - Insert your codes. 

Option A) Select "Repeat Sending Same Key" to send the same key to all buyers
Option B) Select "Use Key Database" to paste or input as many separate codes as you'd like on separate lines.

  • If you choose to use a database, after clicking "Add digital code," your codes will be logged and editable (see screenshot below)
    Each time a code is sent, it will be automatically deleted from the database and a new key code will be sent to the next buyer.
  • After saving, your code bank will appear in your list of eBay digital good products.


Step 6 - Edit or create a new message with these settings:

a) Under General Settings, set message to send 'immediately' after 'item sold'

b) Scroll to Message Service section
and choose "Send message using eBay messaging system" 

This ensures reliable and fast delivery.

c) Scroll down to Sending Rules and set a rule to match the Item ID of the Digital Goods listing. Learn more about sending rules.

This ensure that message will only send for the item that needs codes delivered.

Note: you can find the item ID of your Digital Good in your listing's URL, or with the listing designer/ listing software:


Step 7 - Install the Dynamic Field in your message

Scroll down the bottom of your message settings and find the Email Content section.

The dynamic field you set earlier will appear with your Email Content editor under "Dynamic Fields" > "Digital goods available"

a) click "Choose digital product,"
b) choose your Dynamic Field
and it will be inserted it into your message:


After saving your message, every time a buyer purchase this item from you, the code from your database will be send inside a message!

Other articles that may help:


If you have any questions, feel free to reach out to us anytime at

Did this answer your question?