Skip to main content
Answer

Inconsistent Field Populations When Using API

  • September 21, 2021
  • 1 reply
  • 57 views

Forum|alt.badge.img+4

When using the API to pull subscriber data prior to the 15th valid trials had is_trial_period field as “true” and is_an_intro_offer_period “false”. The sandbox data also matched. Now, both fields for new trials are “null” across sandbox and non sandbox data.

Whenever we export data directly from RevenueCat customer lists directly, there are no nulls.

Does anyone know what may have caused / how to solve this problem?

Best answer by ryan

Hey @Novo can you clarify the REST API call where you’re checking is_trial_period from? The GET /subscriber endpoint would have a period_type field set to trial, not a boolean.

This post has been closed for comments

1 reply

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • Answer
  • September 22, 2021

Hey @Novo can you clarify the REST API call where you’re checking is_trial_period from? The GET /subscriber endpoint would have a period_type field set to trial, not a boolean.