Create unique discount codes via API


I know this has been asked a few times but wondering if there are new updates to this:

I’d like to create short-lived discount codes that users can use at checkout for online ordering. Is it possible to do this via API?

Example: when a user has not ordered in a while we want to show them a code that is usable in the next 1h and is unique to her. They then put the discount code at checkout of the Square online ordering site.

thank you :slight_smile:

At this time the ability to create discount codes via the API aren’t available. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face: