#nadia_0

1 messages ยท Page 1 of 1 (latest)

fallen plinthBOT
inland thistle
#

when you say ws , what do you mean exactly?

gilded hearth
#

sorry webservice

inland thistle
#

Gotcha. I believe that's a dashboard feature only

#

the workaround would be to update invoice/customer metadata with the coupon info and then using metadata to search for those objects

gilded hearth
#

thanks !
so when a create a subscription i should add the coupon used on the sub metadata right ?

#

and the retrieve all the invoice, expanding the subscription & check if the coupon exists ?

inland thistle
#

correct

gilded hearth
#

thanks for your response
is there a way to handle the previous subscriptions ?

#

the solution will work for the new subs, but the old ones wont have the coupon id in the metadata

inland thistle
#

The only option I can think of is to,

list all subscriptions > look at the invoices each subscription has generated > update the subscription metadata with the coupon info

#

Depending on how many subscriptions you have, this might be quite a lift

gilded hearth
#

thanks !
a lot ๐Ÿ˜…

inland thistle
#

๐Ÿ‘