#icra - Customer Subscriptions

1 messages · Page 1 of 1 (latest)

balmy pumice
#

As i see Customer.retrieve has no 'subscription' object.

#

Hello! To clarify, are you trying to make a single API call to fetch both a Customer and a Subscription?

tulip dune
#

Kind of. Listing customer subscription ids would be enough

#

This way i can avoid storing subscription ids on my database, and i'll need to keep track only of customer ids

balmy pumice
tulip dune
#

I see. Do i have to manually expand it then?

#

Because when i'm calling Customer.retrieve ENDPOINT i am getting no subscription field in the result JSON

balmy pumice
#

You have to specify what you want expanded, yes.