Record a bonus action for a loyalty program member
Request Information
Headers
| Name | Description | Type | Additional information |
|---|---|---|---|
| Authentication |
Authentication token |
string |
Required |
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountid |
Account id |
globally unique identifier |
Required |
Body Parameters
Action transaction
ApiLPActionTransaction| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionId |
Action ID |
integer |
None. |
| EmployeeId |
Employee ID |
globally unique identifier |
None. |
| MemberId |
Member ID |
globally unique identifier |
None. |
| StoreNumber |
Store Number |
string |
None. |
| Invoice |
Invoice ID |
string |
None. |
| IgnoreWebHook | boolean |
None. |
Request Formats
application/json
Sample:
{
"MemberId": "D18879DC-D9CA-490E-A3C2-C21B191186E0",
"EmployeeId": "6109929A-C482-48AC-9FC2-B3FE73BDCAA5",
"ActionId": 1,
"StoreNumber": "StoreNumber",
"Invoice": "Invoice #",
"IgnoreWebHook": true
}
Response Information
Resource Description
Action transaction object
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiLPActionTransaction |
None. |
|
| Success | boolean |
None. |
|
| Messages | Collection of ErrorMessage |
None. |
Response Formats
application/json
Sample:
{
"Data": {
"MemberId": "D18879DC-D9CA-490E-A3C2-C21B191186E0",
"EmployeeId": "6109929A-C482-48AC-9FC2-B3FE73BDCAA5",
"ActionId": 1,
"StoreNumber": "StoreNumber",
"Invoice": "Invoice #"
},
"Success": true,
"Messages": []
}