Modify targets

Path Params
int32
required

Group ID for which target needs to be added.

int64
required

Id of the target that need to be modified

Body Params
boolean

Current status of the target.

string

Short description of the target.

int32
int32
string
enum

How 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).

Allowed:
string

expression of the rule

string

Condition (rule expression) to be evaluated based for the chosen targetEntity.

filters
object

Restrict the target to specific stores.

string
required

Name of the target. Modifying the name is not recommended as it may lead to issues in loyalty promotions.

string
enum

Entity to define target condition. Values: TRANSACTION, LINEITEM, POINTS. For example, pass LINEITEM to define condition on the transaction line item.

Allowed:
int32

Unique ID of the target group associated with the target.

string
enum
required

Transaction parameter to consider for the target. Values: QUANTITY, SALES, COUNT, VISIT.

Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json