Does Wix Stores has auto sell/auto buy feature?

Hello, I run a store exactly like g2a.com and cdkey.com which I sell games and digital products like gifts cards keys, with different redeem codes for each buyer, instead of sending the redeem codes or keys for every customer, can I just create a database or something and then I put all the redeem codes on it, and whenever someone buys from my store a redeem code Wix automatically sends them the redeem code ( different redeem code for each buyer, So for example, if I put 10 redeem codes in the database for a specific game or product and 10 different people bought the product, each of them gets a different redeem code automatically,

Thank you.

Suggestion from another forum post on creating unique codes for users:

For example:

  • Create a random six-digit number:
console.log(Math.trunc(Math.random() * 1000000));
// expected output: a random six digit number
  • Save that discount number with the client’s record in your client collection. (Add a field “Discount10” in your client collection for this randomly generated 10% discount code.)

  • Send the client a triggered email with the discount code.

When the client tries to collect that discount, you can confirm the code provided by the client with the unique code saved in the collection.

Of course, this is not the exact same example but it can give you an idea of how you can implement something like the functionality you are describing.