The Norce Management API lets you manage configurations and metadata on a client.
The Norce Management API lets you manage configurations and metadata on a client.
https://{slug}.api-se.playground.norce.tech/commerce/
https://{slug}.api-se.stage.norce.tech/commerce/
https://{slug}.api-se.norce.tech/commerce/
PromotionRequirementSetting model, represents the settings for a specific promotion requirement. Defines the type of requirement, its parameters, and associated product filters, if any.
Requirement type can have one of the following values: BasketTotal, ProductFilter, ProductManufacturer, ProductCategory, ProductFlag, ProductPriceList, ProductType, DiscountCode, UniqueDiscountCode, ExternalDiscountCode, CustomerFlag, CompanyFlag
The discount code associated with this requirement, applicable when the requirement type is DiscountCode. Can be null for other requirement types. Apply the code to basket to autimatically apply the promotion. Note that promotions may have more requirements than just the discount code.
The external discount code associated with this requirement, applicable when the requirement type is ExternalDiscountCode. Can be null for other requirement types.
Read only value that is set depending on if OrderSum is set or not. Will be OrderSum if any OrderSum value is set and Quantity when not.
The order sum value for this requirement, applicable when the requirement type is BasketTotal. Can be null for other requirement types.
The maximum order sum value for this requirement, applicable when the requirement type is BasketTotal and OrderSumType is Between. Can be null for other requirement types.
Specify how to validate the order sum. True for validating including VAT, false for excluding VAT.
Determines how rows in ProductList is handled, default value is "And". All rows need to be valid when set to "And". At least one row need to be valid when set to "Or". No row can be valid when set to "Not".
The customer flag identifier associated with this requirement, applicable when the requirement type is CustomerFlag. Can be null for other requirement types.
The customer flag name associated with this requirement, applicable when the requirement type is CustomerFlag. Can be null for other requirement types.
Indicates whether the customer flag rule is "set" or "not set" for this requirement.
The list of products rules associated with this requirement, applicable when the requirement type is ProductFilter or any of the product specific types. Can be empty for other requirement types.
The identifier of the user who last changed this promotion requirement setting.
Indicates whether the requirement should match by each part number individually when validating product filter list.
The quantity requirement for the product filter, applicable when the requirement type is ProductFilter and the criteria is total quantity. Can be null for other requirement types.
{ "Id": 0, "RequirementType": "string", "DiscountCode": "string", "ExternalDiscountCode": "string", "ValueType": "string", "OrderSum": 0.1, "OrderSumMax": 0.1, "IsIncVat": true, "ProductsIncluded": "string", "CustomerFlagId": 0, "CustomerFlagName": "string", "IsCustomerFlagIncluded": true, "SortOrder": 0, "ProductList": [ { … } ], "Changed": "string", "ChangedBy": "string", "MatchByEachPartNo": true, "GenericQty": 0.1, "GenericQtyMax": 0.1 }
Represents statistics for a promotion, including order totals, discount amounts, discount percentage, and margin percentage. These fields are separated from the main promotion model to allow independent fetching, as they can be expensive to compute.
{ "TotalOrder": 0.1, "TotalDiscount": 0.1, "DiscountPercentage": 0.1, "MarginPercentage": 0.1 }
PromotionUniqueDiscountCode model, represents a unique discount code managed for a promotion. Unique discount codes can only be used once. Tracks its creation date, claim status, and associated quotation if claimed.
The unique identifier for the promotion unique discount code
The date and time the unique discount code was claimed, if applicable
The identifier of the quotation associated with the claim, if applicable
{ "DiscountCode": "string", "Created": "2019-08-24T14:15:22Z", "IsClaimed": true, "DateClaimed": "2019-08-24T14:15:22Z", "QuotationId": 0, "ClaimedFromSource": "string" }