This section will introduce the methods for creating and updating the loyalty campaigns.
curl -XGET -H 'APIKEY: [the_tenant_api_key_string]'
https://[the_tenant_endpoint]/client/campaign/[secondary_id]In this request, to obtain the campaigns of a given client, the argument secondary_id should be changed to a mobile number or a card number. To identify a mobile number the argument must begin with "tele-".
curl -XGET -H 'APIKEY: [the_tenant_api_key_string]'
https://[the_tenant_endpoint]/campaignThis request will return all available campaigns (campaigns that are active) in CDP.