#arrowcircle

1 messages · Page 1 of 1 (latest)

mellow glenBOT
visual minnow
ripe hawk
#

but how I can reference product?

visual minnow
#

You don't reference the product (prod_xxx) directly. Each subscription item in your subscription would be linked to a specific product. So when you create a record for a specific subscription item, it would mean you're reporting usage for that product.

ripe hawk
#

thanks, so connetion is usage_record -> subscription_item -> product?

visual minnow
#

Correct

#

Technically, connetion is usage_record -> subscription_item -> price -> product

ripe hawk
#

so for each subscription, I need to keep id of SI? or price as well?

visual minnow
#

You can just track subscription item ID and retrieve price if needed