Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
21 lines (17 loc) · 1.53 KB

Discount.md

File metadata and controls

executable file
·
21 lines (17 loc) · 1.53 KB

Discount

Properties

Name Type Description Notes
name str Name of discount. Will be used as order line text.
description str Optional description of discount [optional]
amount int Fixed amount discount deducted from order line amounts including VAT [optional]
percentage int Percentage discount applied to each applicable order line [optional]
handle str Per account unique handle for the discount
state str Discount state `active` or `deleted`.
deleted datetime Date when the discount was deleted if deleted. In ISO-8601 extended offset date-time format. [optional]
created datetime Date when the discount was created. In ISO-8601 extended offset date-time format.
apply_to list[str] Which order lines the discount is applicable to: `all`, `setup_fee`, `plan`, `additional_cost`, `add_on` and `ondemand`
fixed_count int Apply discount to a fixed number of invoices [optional]
fixed_period_unit str Time unit use for fixed valid period either `days` or `months` [optional]
fixed_period int Fixed period length e.g. 12 months or 14 days [optional]

[Back to Model list] [Back to API list] [Back to README]