Jump to content

Generate Promotion Code through API


Recommended Posts

Hello,

I'm looking for a way to generate a new promotion code when a user types a command in discord, so I will be able to add the discount code to a database and tie it to their username. I can't find any documentation that would allow me to do this, and I don't know how to create my own API endpoint to do this.

If anyone has a link to documentation, or this has been done before somewhere else.

In my head it seems like such a simple task, but I can't find anywhere that supports this idea?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated