Modify targetsAsk AIput https://{host}/v3/targetGroups/{groupId}/targets/{targetId}Path ParamsgroupIdint32requiredGroup ID for which target needs to be added.targetIdint64requiredId of the target that need to be modifiedBody ParamsactivebooleanCurrent status of the target.truefalsedescriptionstringShort description of the target.emfRuleSetIdint32emfUnrolledRulesetIdint32enrolmentMethodstringenumHow to enroll customers and add target values. Values: TRANSACTION (enroll loyalty customers who transacts during the target period), IMPORT (to import a list of customers with custom target value).TRANSACTIONIMPORTAllowed:TRANSACTIONIMPORTexpressionstringexpression of the ruleexpressionJsonstringCondition (rule expression) to be evaluated based for the chosen targetEntity.filtersobjectRestrict the target to specific stores.filters objectnamestringrequiredName of the target. Modifying the name is not recommended as it may lead to issues in loyalty promotions.targetEntitystringenumEntity to define target condition. Values: TRANSACTION, LINEITEM, POINTS. For example, pass LINEITEM to define condition on the transaction line item.TRANSACTIONLINEITEMPOINTSAllowed:TRANSACTIONLINEITEMPOINTStargetGroupIdint32Unique ID of the target group associated with the target.targetTypestringenumrequiredTransaction parameter to consider for the target. Values: QUANTITY, SALES, COUNT, VISIT.QUANTITYSALESCOUNTVISITAllowed:QUANTITYSALESCOUNTVISITResponses 200200 400400Updated about 1 month ago