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.
Discounts and coupons are not exactly the same thing, to be clear. You can definitely still create discounts in V2 using the Catalog API. With the Catalog API, you can upsert all catalog types (items, variations, modifiers, etc including discounts). For example, if you’re wanting to create one, single discount, you can use the UpsertCatalogObject endpoint, and use type = DISCOUNT.
Please let me know if you have any additional questions or concerns, I’m happy to help!
I should have been more clear. I was hoping to create coupons/promo codes. Something like "Use Code: HappyBirthday1234 at checkout.
We are looking to allow our current users to create referrals, and we want to track those referrals when customers make purchases on our online store.
So really I don’t need Coupons or Discounts as much as a way to attribute a purchase to one of our users. When a user signs up we will create a code for them, and I would like to use the Square API to register these codes with our Square Online Store.
Hi @sjosey and @markmcspadden. I’m looking for the same functionality. That is, to be able to validate and redeem reward codes (the 6-digit codes generated by Square Marketing) through the API. Is this possible, or planned for the future?
I am trying to set up the same thing here in my project. Would be cool to utilize squares platform to create coupon codes and apply discounts to orders.
Hi folks, apologies for the confusion here. Please message me directly so I can track this easier. Click on my name (sjosey) then click “Message” (blue button). I will follow up there!
Hi there, I’m also interested in learning more about the new solution to generate promo codes via a v2+ API. Also my apologies but I don’t have a DM button for you @sjosey either.