#withapain

1 messages · Page 1 of 1 (latest)

chilly owlBOT
blissful beacon
#

Hi there!

#

That's correct: when using the dashboard you cannot set metadata when creating the subscription. But:

  • You can set metadata when creating the subscription with the API
  • And you can set metadata in the dashboard when updating an existing subscription
tranquil sentinel
#

is there an event for metadata update?

blissful beacon
#

If you update metadata to an existing subscription, you will get a customer.subscription.updated event.

#

And you can check the previous_attributes object in the payload to check exactly what changed on the subscription.

tranquil sentinel
#

got it. Thank you!