8 API Reference‎ > ‎Resources‎ > ‎

Expiration

Expiration represents date of expiration for vouchers of the offer. It can be set either as relative or absolute date.

Common attributes:
  • on date.
  • in integer.
  • time_unit string. "day", "month" or "year".

Data Example

JSON

{
    "in": "1",
    "time_unit": "year",
    "on": "2011-09-30"
}

XML

<vouchers_expire>
    <in></in>
    <time_unit></time_unit>
    <on></on>
</vouchers_expire>

Actions

No actions supported.


Comments