Credit Points
Credit loyalty points to a specified loyalty program member’s balance.
This action is available in API version 51.0 and later for users with Loyalty Management license.
URI: /services/data/vXX.X/actions/standard/creditPoints
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer token
| Input | Type | Description |
|---|---|---|
AdditionalNotes | String | Additional information about the transactions performed by the loyalty program members. |
CorrelationId | ID | ID of any Salesforce entity. |
FlowId | ID | ID of the flow associated with credit points action. |
JournalId | ID | Required. ID of the transaction journal. |
LoyaltyProgramMemberId | ID | Required. ID of the loyalty program member. |
Points | Float | Required. The points available for the loyalty program member. |
ProgramCurrencyName | string | Required. The name of the program currency. |
PointsExpirationDate | string | The date on which fixed-model non-qualifying points credited by the action expire. This input is available in API version 55.0 and later. |
ProgramName | string | Required. The name of the loyalty program. |
LoyaltyProgramCurrencySubtypeName | string | Required when ProgramCurrencyName uses the Activity with Mixed Subcurrencies expiration mode. The name of the loyalty program currency subtype that is used to credit points from the member. |
| Output | Type | Description |
|---|---|---|
JournalId | ID | ID of the transaction journal. |
LoyaltyProgramMemberId | string | ID of the loyalty program member. |
ProgramCurrencyName | string | The name of the program currency. |
ProgramName | string | The name of the loyalty program. |
Sample Request
Sample Response