Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.78 KB

NewApplication.md

File metadata and controls

57 lines (38 loc) · 2.78 KB

NewApplication

Properties

Name Type Description Notes
name String The name of this application.
description String A longer description of the application. [optional]
timezone String A string containing an IANA timezone descriptor.
currency String The default currency for new customer sessions.
caseSensitivity CaseSensitivityEnum The case sensitivity behavior to check coupon codes in the campaigns of this Application. [optional]
attributes Object Arbitrary properties associated with this campaign. [optional]
limits List<LimitConfig> Default limits for campaigns created in this application. [optional]
defaultDiscountScope DefaultDiscountScopeEnum The default scope to apply `setDiscount` effects on if no scope was provided with the effect. [optional]
enableCascadingDiscounts Boolean Indicates if discounts should cascade for this Application. [optional]
enableFlattenedCartItems Boolean Indicates if cart items of quantity larger than one should be separated into different items of quantity one. [optional]
attributesSettings AttributesSettings [optional]
sandbox Boolean Indicates if this is a live or sandbox Application. [optional]
enablePartialDiscounts Boolean Indicates if this Application supports partial discounts. [optional]
defaultDiscountAdditionalCostPerItemScope DefaultDiscountAdditionalCostPerItemScopeEnum The default scope to apply `setDiscountPerItem` effects on if no scope was provided with the effect. [optional]
key String Hex key for HMAC-signing API calls as coming from this application (16 hex digits). [optional]
enableCampaignStateManagement Boolean Indicates whether the campaign staging and revisions feature is enabled for the Application. Important: After this feature is enabled, it cannot be disabled. [optional]

Enum: CaseSensitivityEnum

Name Value
SENSITIVE "sensitive"
INSENSITIVE_UPPERCASE "insensitive-uppercase"
INSENSITIVE_LOWERCASE "insensitive-lowercase"

Enum: DefaultDiscountScopeEnum

Name Value
SESSIONTOTAL "sessionTotal"
CARTITEMS "cartItems"
ADDITIONALCOSTS "additionalCosts"

Enum: DefaultDiscountAdditionalCostPerItemScopeEnum

Name Value
PRICE "price"
ITEMTOTAL "itemTotal"
ADDITIONALCOSTS "additionalCosts"