Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 5.13 KB

DiscountUpdate.md

File metadata and controls

22 lines (18 loc) · 5.13 KB

DiscountUpdate

Schema to update a discount.

Fields

Field Type Required Description
metadata array<string, string|int|bool> N/A
name ?string N/A
code ?string N/A
startsAt \DateTime N/A
endsAt \DateTime N/A
maxRedemptions ?int N/A
duration ?Components\DiscountDuration N/A
durationInMonths ?int N/A
type ?Components\DiscountType N/A
amount ?int N/A
currency ?string N/A
basisPoints ?int N/A
products array<string> N/A