Mayson Monorepo Documentation
    Preparing search index...
    interface Discount {
        coupon?: string;
        discount?: string;
        promotion_code?: string;
    }
    Index

    Properties

    coupon?: string

    ID of the coupon to create a new discount for.

    discount?: string

    ID of an existing discount on the object (or one of its ancestors) to reuse.

    promotion_code?: string

    ID of the promotion code to create a new discount for.