bulkAwardLoyaltyPoints
Award Loyalty Points to multiple accounts in a single request.
Arguments
Input fields for bulk awarding Loyalty Points.
Possible Errors
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
- KT-CT-9202: Loyalty Points adapter not configured.
- KT-CT-9212: Points exceed maximum limit.
- KT-CT-9221: Idempotency key already used on ledger entry.
- KT-CT-9224: Duplicate idempotency keys provided in requested awards.
- KT-CT-9225: Bulk award batch size exceeds the maximum limit.
Allowed Viewers
Required Permissions
Can add loyalty pointsQuery Complexity
3Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation BulkAwardLoyaltyPoints($input: BulkAwardLoyaltyPointsInput!) {
bulkAwardLoyaltyPoints(input: $input) {
failed {
...BulkAwardLoyaltyPointsFailedItemResultFragment
}
inserted {
...BulkAwardLoyaltyPointsInsertedItemResultFragment
}
}
}
Variables
{
"input": BulkAwardLoyaltyPointsInput
}
Response
{
"data": {
"bulkAwardLoyaltyPoints": {
"failed": [BulkAwardLoyaltyPointsFailedItemResult],
"inserted": [BulkAwardLoyaltyPointsInsertedItemResult]
}
}
}