The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Creating coupon codes via API?


I'd like to know how, if possible, to create coupon codes automatically. For example, if a customer completes a survey on my site, I'd like to generate a unique coupon code for them.

Thank you
  • fc_adamfc_adam FoxyCart Team

    Good question. To be able to add coupons dynamically via code, you'd need to make use of our new hypermedia API. You can see details on that here: - that will give you access to all aspects of the store including working with coupons.

    If you have any questions, let us know!
Sign In or Register to comment.