#SafanM-quotes

1 messages ยท Page 1 of 1 (latest)

smoky vine
#

Hello! Give me a few minutes to check

smoky vine
#

I don't believe there's a way to use a promotion code with quotes right now, but I can flag that to the team as a future improvement

remote crypt
#

we use Quotes to draft initial data from our Shopping Cart page and would like to apply the discount, get the total price and later convert it to subscription as it is in the quotes

smoky vine
#

๐Ÿ‘ I'll be sure to let them know

remote crypt
#

do you know if there's a api that can validate the promo_code rules and get's us the discount price?

smoky vine
#

No, there isn't an API like this right now

remote crypt
#

so we need to manually do that in our quotes page, if we want to use the promo code and all its rule?

#

also can you link me to the flag request to add these feature?

smoky vine
#

There isn't anything external I can link you to - it's just something I'm flagging internally

#

How complicated are the promotion codes you're using currently?

remote crypt
#

๐Ÿ‘

#

not that complicated, we might end up using only 1 or 2 rules: like customer specific and limited

smoky vine
#

Because you could look into workarounds like the upcoming invoices API + using the associated coupon to give your customers a preview, and then you could create the Subscription with the actual promotion code

remote crypt
#

using the associated coupon to give your customers a preview ==> only if it's allowed for that customer?

#

I mean if the customer falls in our promo_code criteria?

smoky vine
#

Correct - that's why I asked how complicated your promotion codes were. If the restrictions are fairly limited you could do that checking on your end

small pulsar
#

Exactly what i was going to say ๐Ÿ˜„ stepping in for karbi, who needs to step away

#

( the coupon alone doesn't know about those rules)

#

So while there is no API to do what you ask regarding the rules you can get a preview of the price/subscription other ways, if that helps (it might not for your use case)

remote crypt
#

that's what we plan now, to calculate manually on the quotes preview and later apply to the subscription

#

can get a preview of the price/subscription other ways ???

#

applies to only subscription?

small pulsar
#

This endpoint can be used to preview the first invoice for a subscription that doesn't yet exist

remote crypt
#

Thank You