Documentation Index
Fetch the complete documentation index at: https://help-loyalife.xoxoday.com/llms.txt
Use this file to discover all available pages before exploring further.
Standard Envelope
Every Loyalife API response wraps its payload in aresults object:
IsSucessful is spelled with one “s” — this matches the service’s actual response field name.Fields
| Field | Type | Description |
|---|---|---|
IsSucessful | boolean | true if the request was processed successfully. |
ErrorCode | string | "000" on success. A non-zero code indicates an error. |
ExceptionMessage | string | "Success" on success; error description on failure. |
ReturnObject | any | The response payload — varies by endpoint. May be an object, array, boolean, or scalar. |
Count | integer | Number of records returned (used on list endpoints). |
Success Response
Error Response
Checking for Errors
Always checkIsSucessful first — the HTTP status code alone is not sufficient. A 200 OK response can still contain IsSucessful: false when the request was received but the business logic failed.