#sung - ask

1 messages · Page 1 of 1 (latest)

viscid vigil
#

Hi, how can we help?

#

@magic remnant - can we keep all communication in this thread? Thank you!

magic remnant
#

Ohhh... I will thanks

viscid vigil
#

To accomplish this, you'd need pass the subscription_data.metadata in the subscription level.

magic remnant
#

please clarify "subscription level"?

viscid vigil
#

Let me provide an example code block in a minute

magic remnant
#

Thanks

viscid vigil
#

So the subscription data is a hash and you'd need to code pass the metadata within the subscription like so:

    'metadata': {
      'restaurant_id': restaurant.id,
    },
 }```