# Coupon code in custom tracking tools. Square Online

**URL:** <https://developer.squareup.com/forums/t/coupon-code-in-custom-tracking-tools-square-online/8551>\
**Category:** Feature Requests\
**Created:** [February 13, 2023, 8:38am UTC](https://developer.squareup.com/forums/t/coupon-code-in-custom-tracking-tools-square-online/8551 "2023-02-13T08:38:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![shufflenblues](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/shufflenblues/32/12124_2.png) [@shufflenblues](https://developer.squareup.com/forums/u/shufflenblues)\
**Post date:** [June 30, 2026, 5:31pm UTC](https://developer.squareup.com/forums/t/coupon-code-in-custom-tracking-tools-square-online/8551/3 "2026-06-30T17:31:50Z")

</div>

> [@V2 API Coupon Codes](https://developer.squareup.com/forums/t/v2-api-coupon-codes/1059):
>
> Hey everyone! Does anyone here know if it is still possible to create coupon codes via the V2 API? It used to be under v1/\<locaiton\_id\>/discounts, but there isn’t a path for that in V2. I’m looking to generate coupon codes for referrals and would like to automatically bring them into Square. Thanks in Advance.

---

_[View the full topic](https://developer.squareup.com/forums/t/coupon-code-in-custom-tracking-tools-square-online/8551)._
