Tip |
---|
Tip |
Table of Contents | ||
---|---|---|
|
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
rewards_participant_identifier (mandatory) | Rewards Participant identifier | The identifier of the rewards participant that should be returned as a result. The allowed rewards participant identifier fields are the following:
| ||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
...
Name | Type | Description | ||||||||
token | String | The token retrieved from the login method | ||||||||
accounts_receivable_identifier (semi-optional) | Accounts Receivable identifier | The identifier of the accounts receivable related with the rewards participant that should be returned as a result. The allowed accounts receivable identifier fields are the following:
| ||||||||
contact_information_identifier (semi-optional) | Contact Information identifier | The identifier of the contact information related with the rewards participant that should be returned as a result. The allowed contact information identifier fields are the following:
| ||||||||
wallet_identifier (semi-optional) | Wallet identifier | The identifier of the wallet elated with the rewards participant that should be returned as a result. The allowed wallet identifier fields are the following:
| ||||||||
life_cycle_state (optional) | String | The life cycle state of the rewards participant. Available values are EFFECTIVE and TERMINATED
| ||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
...
Name | Type | Description | |||||||||||||
token | String | The token retrieved from the login method | |||||||||||||
sign_up_on (mandatory) | Date | The date that the rewards participant signed up | |||||||||||||
sign_up_by_unit_identifier (mandatory) | Unit identifier | ||||||||||||||
Include Page | V4:unit_identifier | V4:unit_identifier | enable_automatic_spend (optional) | Boolean | Defines whether the rewards participant requires automatic spend on purchase events or not_unit_identifier (mandatory) | Unit identifier | The unit that signed up the rewards participant. The allowed unit identifier fields are the following:
| ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
enable_automatic_spend (optional) | Boolean | Defines whether the rewards participant requires automatic spend on purchase events or not
| |||||||||||||
minimum_wallet_balance (optional) | Float | The minimum wallet balance that should be available in order for an automatic awards spending to be applied. If specified then automatic awards spends will be created if the rewards participant has an available wallet amount which is equal or more than the minimum amount.
| |||||||||||||
minimum_spend_amount (optional) | Float | The minimum amount that can be spend by that specific rewards participant during auto spend. If specified then automatic awards spends will be created if the rewards participant has an available amount that can be spend which is equal or more than the minimum amount.
| |||||||||||||
maximum_spend_amount (optional) | Float | The maximum amount that can be spend by that specific rewards participant during auto spend. If specified then the amount of the automatic awards spends that will be created will be up to that specified amount, even if the available amount that can be spend is more than the maximum amount.
| |||||||||||||
udf_string_1 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_2 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_3 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_4 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_5 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_6 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_7 (optional) | String | User Defined Field of type String | |||||||||||||
udf_string_8 (optional) | String | User Defined Field of type String | |||||||||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | |||||||||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | |||||||||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | |||||||||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | |||||||||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | |||||||||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | |||||||||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | |||||||||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | |||||||||||||
(mandatory) | Accounts receivable object | The accounts receivable owned by the rewards participant that identifies the CRM.COM customer, and handles all financial transactions that might be posted as a result of award or spend reward transactions | |||||||||||||
(mandatory) | Access Token object | The access token that will be associated with the rewards participant
| |||||||||||||
(optional) | Set of Rewards Participant Scheme Objects | A list of reward schemes that the rewards participant has joint | |||||||||||||
(mandatory on conditions) | Set of Access Token Objects | The access tokens that will be associated with the rewards participant. This information is mandatory if the active access token definition is set up to require at least one access token for each rewards participant
participant
| |||||||||||||
authorised_rewards_participating_merchants_set (optional) | Set of Rewards Participating Merchants | It defines the list of merchants which are authorised to perform automatic awards spending on that specific rewards participant, considering that those merchants are also allowing automatic awards spendings. If not specified then all rewards participating merchants are considered as authorised
| |||||||||||||
fields_set (optional) | List of Strings, comma separated |
|
Referred Parameters Objects Data Anchor rewards participant create referred objects parameters rewards participant create referred objects parameters
...
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
...
Name | Type | Description | |||||||||||
token | String | The token retrieved from the login method | |||||||||||
rewards_participant_identifier (mandatory) | Rewards Participant identifier | The identifier of the rewards participant that should be updated. The allowed rewards participant identifier fields are the following:
| |||||||||||
sign_up_on (optional) | Date | The date that the rewards participant signed up | |||||||||||
sign_up_by_unit_identifier (optional) | Unit identifier | The unit that signed up the rewards participant. The allowed unit identifier fields are the following:
| |||||||||||
enable_automatic_spend (optional) | Boolean | Defines whether the rewards participant requires automatic spend on purchase events or not
| |||||||||||
minimum_wallet_balance (optional) | Float | The minimum wallet balance that should be available in order for an automatic awards spending to be applied. If specified then automatic awards spends will be created if the rewards participant has an available wallet amount which is equal or more than the minimum amount.
| |||||||||||
minimum_spend_amount (optional) | Float | The minimum amount that can be spend by that specific rewards participant during auto spend. If specified then automatic awards spends will be created if the rewards participant has an available amount that can be spend which is equal or more than the minimum amount.
| |||||||||||
maximum_spend_amount (optional) | Boolean | Defines whether the rewards participant requires automatic spend on purchase events or notFloat | The maximum amount that can be spend by that specific rewards participant during auto spend. If specified then the amount of the automatic awards spends that will be created will be up to that specified amount, even if the available amount that can be spend is more than the maximum amount.
| ||||||||||
udf_string_1 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_2 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_3 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_4 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_5 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_6 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_7 (optional) | String | User Defined Field of type String | |||||||||||
udf_string_8 (optional) | String | User Defined Field of type String | |||||||||||
udf_float_1 (optional) | Float | User Defined Field of type Float | |||||||||||
udf_float_2 (optional) | Float | User Defined Field of type Float | |||||||||||
udf_float_3 (optional) | Float | User Defined Field of type Float | |||||||||||
udf_float_4 (optional) | Float | User Defined Field of type Float | |||||||||||
udf_date_1 (optional) | Date | User Defined Field of type Date | |||||||||||
udf_date_2 (optional) | Date | User Defined Field of type Date | |||||||||||
udf_date_3 (optional) | Date | User Defined Field of type Date | |||||||||||
udf_date_4 (optional) | Date | User Defined Field of type Date | |||||||||||
(optional) | Access Token object | The access token that will be associated with the rewards participant
| |||||||||||
(optional) | Set of Rewards Participant Scheme Objects | A list of reward schemes that the rewards participant has joint
| |||||||||||
(mandatory on conditions) | Set of Access Token Objects | The access tokens that will be associated with the rewards participant. This information is mandatory if the active access token definition is set up to require at least one access token for each rewards participant If no records are specified in the set then nothing will be updated. To remove a record use action:"remove". To add a record use action:"add_existing" or "add_new". Different actions can be used within the same set. For example:
| |||||||||||
authorised_rewards_participating_merchants_set (optional) | Set of Rewards Participating Merchants | It defines the list of merchants which are authorised to perform automatic awards spending on that specific rewards participant, considering that those merchants are also allowing automatic awards spendings. If not specified then all rewards participating merchants are considered as authorised
| |||||||||||
fields_set (optional) | List of Strings, comma separated |
|
Referred Parameters Objects Data Anchor rewards participant update referred objects parameters rewards participant update referred objects parameters
Tip |
---|
Deprecated starting from CRM.COM R8.0.0 |
Include Page | ||||
---|---|---|---|---|
|
Tip |
---|
Available from CRM.COM R8.0.0 |
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
...
POST rewards_participants/terminate
Tip |
---|
Available from CRM.COM R12.0.0 |
This method terminates a rewards participant. A single rewards participant can be terminated in each call.
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
termination_reason (mandatory) | String | The rewards participant's termination reason. Available values are CUSTOMER_REQUEST, FRAUD and DUPLICATION. | ||||||
rewards_participant_identifier (mandatory) | Rewards Participant Identifier | The rewards participant that will be terminated. Only effective rewards participants can be terminated. The allowed rewards participant identifier fields are the following:
| ||||||
replaced_by_rewards_participant_identifier (mandatory based on conditions) | Rewards Participant Identifier | The rewards participant that will replace the terminated rewards participant. The new rewards participant is mandatory when the termination reason reason is set to DUPLICATION and only effective rewards participants can be specified. The allowed rewards participant identifier fields are the following:
| ||||||
transfer_wallet_amount (optional and applicable on conditions) | Boolean | Indicates whether the terminated rewards participant's remaining wallet balance will be transferred to the new rewards participant's wallet. This is applicable only when the termination reason reason is set to DUPLICATION | ||||||
(optional and applicable on conditions) | Set of Access tokens | The Access Tokens of the terminated rewards participants which will be moved to the new rewards participant. This is applicable only when the termination reason reason is set to DUPLICATION. The set of Access tokens can be a sub-set of the existing access tokens of the terminated rewards participant. | ||||||
fields_set (optional) | List of Strings, comma separated |
...
POST rewards_participants/enable_spend_blocking
Tip |
---|
This method enables a rewards participant's spend requests blocking. A single rewards participant can be modified in each call.
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
rewards_participant_identifier (mandatory) | Rewards Participant Identifier | The rewards participant whose spend requests blocking state will be enabled/disabled. The allowed rewards participant identifier fields are the following:
| ||||||
fields_set (optional) | List of Strings, comma separated |
|
...
POST rewards_participants/disable_spend_blocking
Tip |
---|
This method disables a rewards participant's spend requests blocking. A single rewards participant can be modified in each call.
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
rewards_participant_identifier (mandatory) | Rewards Participant Identifier | The rewards participant whose spend requests blocking state will be enabled/disabled. The allowed rewards participant identifier fields are the following:
| ||||||
fields_set (optional) | List of Strings, comma separated |
|
...
POST rewards_participants/calculate_total_awarded_amount
Tip |
---|
This method calculates the total awarded amount that was provided to a specific rewards participant and the amount that was awarded by each scheme that the rewards participant participated to. A single rewards participant can be specified in each call.
...
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
rewards_participant_identifier (mandatory) | Rewards Participant Identifier | The rewards participant for which the awarded amount will be calculated for. The allowed rewards participant identifier fields are the following:
| ||||||
reward_scheme_identifier (optional) | Reward Scheme Identifier | The reward scheme that awarded the calculated amount. If specified then the calculation will include only awards provided by the specified reward scheme. The allowed reward scheme identifier fields are the following:
| ||||||
from_date (optional) | Date | If specified then the calculation will include only awards that were provided on that date or on a date after that date will be | ||||||
to_date (optional) | Date | If specified then the calculation will include only awards that were provided on that date or on a date before that date will be | ||||||
fields_set (optional) | List of Strings, comma separated |
|
...