The Digistore24 API uses its own special values for data types.
Boolean
Boolean Values can be specified like this:
- Values for TRUE:
1,Y,yes,T,true - Values for FALSE:
0,N,no,F,false
Point of time
Points of time can be stated like that:
2014-02-28 23:11:24-
nowfor now -
24hfor the point of time in exactly 24 hours -
-24hfor the point of time exactly before 24 hours -
-3dfor the point of time exactly before 3 days -
-6hfor the point of time exactly before 6 hours -
-10mfor the point of time exactly before 10 minutes -
-30sfor the point of time exactly before 30 seconds -
6Mfor the point of time in 6 months -
2Yfor the point of time in 2 years -
2009-06-30T18:30:00+02:00for the given date and time. Use any ISO 8601 formatted date, time and timezone. Digistore transforms date and time into the server timezone.
Date
Dates can be stated like that:
- `2014-02-28″
-
nowor "today" for today -
-3dfor the date before 3 days -
-6hfor the date before 6 hours -
-10mfor the date before 10 minutes -
-30sfor the date before 30 seconds -
6Mfor the date in 6 months -
2Yfor the date in 2 years -
2009-06-30T18:30:00+02:00for the given date. Use any ISO 8601 formatted date incl. time and timezone. Digistore transforms the date into the server timezone.