#prakharwp

1 messages · Page 1 of 1 (latest)

loud yachtBOT
tight bone
#

Ok, and what are you having trouble with exactly?

obsidian fox
#

in Api response I am not getting applies product list , and when sends promo to create subscription there no error is getting

tight bone
#

Can you share an example request that doesnt have the expected result?

obsidian fox
#

check this

tight bone
obsidian fox
#

req_4OB9aGJCr3mhNs

tight bone
#

OK so it looks like the promo code you supplied is limited to a different product that the one for the price on the subscription

#

What part of the the result here is unexpected to you?

obsidian fox
#

it is not giving any error even promo code is limited

tight bone
#

It's not expected to error, it's expected to provide no discount

#

If you want to perform validation for your integration, you'll need to inspect those restrictions yourself

obsidian fox
#

how will I inspect these such type of validation if API doesn't provide these detaisl?

tight bone
#

You can look at the coupon applies_to to validation those limitations

#

note that this is expandable meaning it is not included by default, you need to request it