Please explain the semantics of createdBeforeDate and
createdAfterDate as used in the API request:
https://cheddargetter.com/developers#all-customers
-
Do they only accept YYYY-MM-DD? Or are times allowed too (ISO8601?)?
-
Is the query interpreted as (>= createdAfterDate) and (<= createdBeforeDate)? If I provide the same date for each, it includes everything from that day, so that's what it seems like.
-
What TZ is being used?
-
If a user signed up on Monday and then changed plans on Friday, were they "created" Monday or Friday?
Thank you.

#1 Posted by Marc Guyer Support staff on 08 Jun, 2010 02:03 PM
Oops. I could have sworn there was more detail in the docs. We've just added some (excerpt follows).
The API only accepts whole dates.
A customer's createdDatetime will never change. A customer's createdDatetime and the createdDatetime of the customer's first subscription will be the same moment. If the customer changes plans, there will be a new subscription record (with a new createdDatetime).
Marc Guyer closed this discussion on 08 Jun, 2010 02:03 PM.
Dan Kamins re-opened this discussion on 08 Jun, 2010 05:55 PM
#2 Posted by Dan Kamins on 08 Jun, 2010 05:55 PM
Great, thank you for the clarification.
Related: Is there any way to query for customers who changed plans within a date range?
#3 Posted by Marc Guyer Support staff on 08 Jun, 2010 06:02 PM
Hmm... No, there isn't.
Marc Guyer closed this discussion on 08 Jun, 2010 06:02 PM.