POST v1/Companies({CompanyId})/Entities({LocationId})/customers({CustomerId})/revision
Post Lotalty point revision for the customer Can be used to set the current available loyalty points for a customer without needing to fetch the current value and adjusting based on the difference to the target value.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId |
The unique companyId that was provided in your onboarding package |
integer |
Required |
| LocationId |
Ignored. Should match the CompanyId |
integer |
Required |
| CustomerId |
The Customer Id Guid |
globally unique identifier |
Required |
Body Parameters
LoyaltyPointsRevisionPost| Name | Description | Type | Additional information |
|---|---|---|---|
| RevisedPointsAmount | integer |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RevisedPointsAmount": 1,
"Notes": "sample string 2"
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |