Tip |
---|
Tip |
Table of Contents | ||
---|---|---|
|
...
This method returns information related with a rewards participants. A single rewards participant is returned by each call
Resource URL
Parameters
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:
| ||||||||
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 |
...
This method creates a rewards participant. Single rewards participants can be created by each call.
Resource URL
Parameters
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 | 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
| ||||||
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
| ||||||
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
...
This method updates rewards participants. A single rewards participant can be updated by each call. Fields which are not specified are not updated at all. Fields which are specified as null will be set as null.
Resource URL
Parameters
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
| |||||||||||
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:
|
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 | ||||
---|---|---|---|---|
|
...
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST
Request: Body:
Response:
|
POST rewards_participants/
...
terminate
Tip |
---|
Available from CRM.COM R10R12.10.0 |
This method enables terminates a rewards participant's spend requests blockin. A single rewards participant can be terminated in each call.
Resource URL
Parameters
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 CUSTOMERREQUEST, 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 |
Referred Parameters Objects Data Anchor terminate participant referred objects parameters terminate participant referred objects parameters
Include Page | ||||
---|---|---|---|---|
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Include Page | ||||
---|---|---|---|---|
|
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.
Resource URL
Parameters
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 |
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Include Page | ||||
---|---|---|---|---|
|
...
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.
Resource URL
Parameters
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 |
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Include Page | ||||
---|---|---|---|---|
|
...
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.
Resource URL
Parameters
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 |
|
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Include Page | ||||
---|---|---|---|---|
|
...