Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 4.89 KB

discountupdate.md

File metadata and controls

22 lines (18 loc) · 4.89 KB

DiscountUpdate

Schema to update a discount.

Fields

Field Type Required Description
metadata Dict[str, models.DiscountUpdateMetadata] N/A
name OptionalNullable[str] N/A
code OptionalNullable[str] N/A
starts_at date N/A
ends_at date N/A
max_redemptions OptionalNullable[int] N/A
duration OptionalNullable[models.DiscountDuration] N/A
duration_in_months OptionalNullable[int] N/A
type OptionalNullable[models.DiscountType] N/A
amount OptionalNullable[int] N/A
currency OptionalNullable[str] N/A
basis_points OptionalNullable[int] N/A
products List[str] N/A