#TonyS
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Do you mean list of subscriptions that are subscribing to the same product?
Mmmm unsure to understand what you mean
I have customers that pay a subscription for a price of a product every month
I would like to fetch those
Ah gotcha, sorry!
You can list the subscriptions by price and expand the customer
https://stripe.com/docs/api/subscriptions/list#list_subscriptions-price
https://stripe.com/docs/api/subscriptions/object#subscription_object-customer
NP ๐ Good luck
That seem to be working thank you very much!
I have an additional question however
I expand the subscriptions with data.customer
do you know if it's possible to also expand the subscription query to get the customer tax id
something like expand: ["data.customer","data.customer.taxid"]?
Yes it doesn't work
what error are you getting?
This property cannot be expanded (data.tax_id)
also tried different methods
I don't know if that the correct usage
I just want to have access to the VAT number of the customer
the field is actually plural tax_ids
NP! ๐ Happy to help