#tgalanis_api

1 messages ¡ Page 1 of 1 (latest)

split cedarBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1268111150378254386

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

cedar roostBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

lean sparrow
#

Hmm are you trying to add a coupon to a Product, or add a product to a Coupon? (Which specific Dashboard URL?)

merry ivy
#

I use the coupon.applies_to in the create coupon

#

api

#

on creation of the coupon

lean sparrow
#

I see. And when you pass your list of products id there, the API errored?

#

I think it's a limitation, but can you share the errored request? req_xxx

merry ivy
#

req_UF19ULneAmFcfG

#

it is clear that the api doesnt allow it

lean sparrow
#

Yeah

#

Thanks, will record your feedback. Sorry for the inconvenience

#

You could create another coupon, with same setup and use for the next 100 batch

#

Although I agree it's not clean

merry ivy
#

its not about clarity

#

it is impossible

#

we will hand out 2000 promo codes or so

#

for this coupon

#

if the customer tries to buy 3 products

#

each from differnt ocupons

#

he sohould receive the discount for all 3 products

#

but he would need somehow to insert 3 promo codes

lean sparrow
#

Hmm okie, by openning 3 separated URLs? How is it blocked by this error?

merry ivy
#

no i mean we hand out physical promo codes that can be insesrted i nthe chekout

#

I cant have a promo code apply to 2 or 3 coupons

lean sparrow
#

I mean you could split the total of promocodes into x numbers of coupons. no? ie. you have 3 coupons with 600, 700 and 700 promocodes.

merry ivy
#

yea but a customer can only insert one at a time

#

himselft on checkout

lean sparrow
#

Sure, that doesn't change if you have 1 or multiple coupons, does it?

split cedarBOT
merry ivy
#

wait I dont seem to understand you. A promo code links to one coupon

#

if I have an order of 3 products and those 3 products are linked each with a different coupon. Can I have a single promo code for each 3 coupons

mighty stratus
#

I'm not really sure what you mean or what an "order" is(an Invoice in_xxx , a CheckoutSession cs_test_xxx?) or what it means for a product to be linked to a coupon. Maybe it's easier to try out your scenario in test mode?

merry ivy
#

product checkout with 3 products that allows for a promotion code

#

if I have 3 coupons each linked to a different product with the same discount

#

i can only put one promo code in the checkout that will discount one of the three