POST api/pos/loyaltyProgram
Do loyalty rewards operations
Request Information
Allows access to child location using parent company token, in this case use location id parameter
URI Parameters
None.
Body Parameters
ApiLoyaltyProgramOperationRequestName | Description | Type | Additional information |
---|---|---|---|
LocationId | integer |
None. |
|
CustomerId | integer |
None. |
|
Operation | ApiLoyaltyProgramOperation |
None. |
|
Params | Dictionary of string [key] and Object [value] |
None. |
|
Customer | ApiCustomerInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "LocationId": 1, "CustomerId": 2, "Operation": 3, "Params": { "sample string 1": {}, "sample string 3": {} }, "Customer": { "LocationId": 1, "CustomerId": 2, "FirstName": "sample string 3", "LastName": "sample string 4", "Email": "sample string 5", "CellPhone": "sample string 6", "WorkPhone": "sample string 7", "Dob": "2025-04-03T04:19:09.4273423-04:00", "Gender": 1, "CustomerCode": "sample string 8", "Address": "sample string 9", "Address2": "sample string 10", "City": "sample string 11", "Zip": "sample string 12", "Country": "sample string 13", "State": "sample string 14", "Country2LetterIsoCode": "sample string 15", "Country3LetterIsoCode": "sample string 16", "StateCode": "sample string 17", "RewardPoints": 1.0, "NopExternalId": "sample string 18" } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |