8 API Reference‎ > ‎Resources‎ > ‎

Discount

Represents a discount for an offer.

Attributes:
  • accuracy string. "exactly" or "up to". Currently not used.
  • type string. Can be "percentage" or "currency".
  • value integer or Currency
Data Examples

JSON

{
    "accuracy": "up to",
    "type": "percentage",
    "value": "62"
}

XML

<discount>
    <accuracy>up to</accuracy>
    <type>percentage</type>
    <value>62</value>
</discount>

Actions

No actions supported.

Comments