Show / Hide Table of Contents

    Discounts

    Queryable, Introduced in version 24.8

    GET https://localhost:8001/sv/001.1/api/v1/Common/Discounts
    

    Represents a queryable discount.

    GUID

    15E9F1CA-E360-4CBD-8293-D7737FB74959
    

    Required permission

    Show discounts
    

    Properties

    Name Type Summary Introduced in
    Id Int64 The business key identifier of the discount.
    Code String The human readable identifier of the discount.

    • Max length is 20
    Name String The translated name of the discount.
    IsActive Boolean Specifies if the discount is active.
    IsDefault Boolean Specifies if this is the default discount for the discount type.
    DiscountForModule Int32 The sales or purchase module of the discount.

    • Sales: 0
    DiscountType Int32 The type of the discount.

    • Discount: 0
    • OrderDiscount: 1
    • TotalRowDiscount: 2
    • ProjectDiscount: 3
    • CustomerDiscountOnDiscount: 4 (Introduced in version 25.2)
    • OrderTypeDiscount: 5 (Introduced in version 25.3)
    Priority Int32 The priority of the discount.
    DiscountCalculationType Int32 The calculation type of the discount.

    • Percent: 1
    • Amount: 2

    Example

    {
      "Id": 0,
      "Code": null,
      "Name": null,
      "IsActive": false,
      "IsDefault": false,
      "DiscountForModule": 0,
      "DiscountType": 0,
      "Priority": 0,
      "DiscountCalculationType": 0
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB