#eoghanobrien

1 messages · Page 1 of 1 (latest)

frozen spruceBOT
arctic sluice
#

so you would have to loop and create one for each customer

split olive
#

Yeah, if you don't have a customer ID you're hosed - if I knew the email addresses, I'd have to create the customer object beforehand via the API or something and then programmatically add slightly separate promo codes per customer?

#

The only problem I'm really trying to solve is that I don't want the same customer to use the same promo code twice

#

But I don't think the "Eligible for first-time orders only" covers that, that's literally their first order ever, right?

arctic sluice
#

if I knew the email addresses, I'd have to create the customer object beforehand via the API or something and then programmatically add slightly separate promo codes per customer?

Sounds about right

#

yes, that's for their first order ever

split olive
#

💩 so no option to limit to max one use per customer?

arctic sluice
#

only via the way i mentioned afaik

#

if you really want to, you can create X number of promo codes, and then email one to each customer

split olive
#

It's not quite the same thing though, since that's limit to one customer, rather than no limit but single use

arctic sluice
#

it wouldn't prevent customer A from emailing customer B their promo code

#

but i think the possibility of a leak would be pretty low

split olive
#

yeah, that we could handle with expiration date though

#

the biggest risk to us is the same customer re-using the same code over and over, which would be easy with the types of products we have

arctic sluice
#

ah, then you can create one promo code with redemption as max one time for each promo code

#

would that work?

split olive
#

technically yes, but we just push the burden on our customer support to create those promo codes, these often happen ad-hoc in groups of 25-50 people

arctic sluice
#

i would suggest writing a script then, we don't really have any batch feature for coupon creation unfortunately

split olive
#

There's no webhook sent out when a customer attempts to use a promo code to allow for dynamic verification I assume

arctic sluice
#

nope, no webhook sent out

split olive
#

okay, thanks for your help