Happy Business Starts Here

Highlighted
Tutor

Including product information in subscriptions ZOQL query

We use the following request to query a list of subscriptions via ZOQL:

 

curl -X POST \
-H "apiAccessKeyId: api+testdrive@company.com" \
-H "apiSecretAccessKey: XXXXXX" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
     "queryString": "select AccountId, AutoRenew, CancelledDate, CreatedDate, CurrentTerm, CurrentTermPeriodType, Id, Name, Notes, OriginalId, Status, TermEndDate, TermStartDate from Subscription"
}' "https://rest.apisandbox.zuora.com/v1/action/query"

 

But this does not returns product data related to the subscription. How can we get product IDs associated with the subscriptions?

2 REPLIES 2
Zuora Staff

Re: Including product information in subscriptions ZOQL query

Hello,

 

Could you please send me a private message with the query for the account/subscription and your tenant # so we can review all of your data to provide you an answer.

 

Thank you



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Tutor

Re: Including product information in subscriptions ZOQL query

Monique, I've sent you more details via private message