POST v1/Companies({CompanyId})/Entities({LocationId})/customers({CustomerId})/adjustment
Post Loyalty Point Adjustments to a Customer
Information:
Base URL:
https://api.covasoft.net/iqloyalty
Example of a call would be:
https://api.covasoft.net/iqloyalty/v1/Companies({CompanyId})/Entities({CompanyId})/customers({CustomerId})/adjustment
Body Example:
{ "PointsAdjustmentAmount": -61, "Notes": "Test", "user": 974152 }
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId |
The unique Company Id that was provided in your onboarding pacakage |
integer |
Required |
| LocationId |
The Location where you want Loyalty Rewards |
integer |
Required |
| CustomerId |
The Customer Id Guid that you want the Loyalty Rewards Summary |
globally unique identifier |
Required |
Body Parameters
Body of call see example above
LoyaltyPointsAdjustmentPost| Name | Description | Type | Additional information |
|---|---|---|---|
| PointsAdjustmentAmount | integer |
None. |
|
| Notes | string |
None. |
|
| user | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PointsAdjustmentAmount": 1,
"Notes": "sample string 2",
"user": 3
}
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. |