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
  • now for now
  • 24h for the point of time in exactly 24 hours
  • -24h for the point of time exactly before 24 hours
  • -3d for the point of time exactly before 3 days
  • -6h for the point of time exactly before 6 hours
  • -10m for the point of time exactly before 10 minutes
  • -30s for the point of time exactly before 30 seconds
  • 6M for the point of time in 6 months
  • 2Y for the point of time in 2 years
  • 2009-06-30T18:30:00+02:00 for 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″
  • now or "today" for today
  • -3d for the date before 3 days
  • -6h for the date before 6 hours
  • -10m for the date before 10 minutes
  • -30s for the date before 30 seconds
  • 6M for the date in 6 months
  • 2Y for the date in 2 years
  • 2009-06-30T18:30:00+02:00 for the given date. Use any ISO 8601 formatted date incl. time and timezone. Digistore transforms the date into the server timezone.