API Requests
Checking-in a customer at service point
Documentation has moved
The information on this page is no longer updated and may be obsolete. The most current Koshelek documentation is now available at the new address:
Get List of Active Check-Ins
GET
https://<base-URL>/partner/api/place/{placeId}/checkins
Partner host requests the Cardsmobile host for a list of check-ins that are active for this service point at this time and returns the list to a cash desk software screen.
Path Parameters
Name | Type | Description |
---|---|---|
placeId* | string | Service point ID |
Headers
Name | Type | Description |
---|---|---|
offerId* | string | ID of a loyalty program in the Cardsmobile platform |
Response parameters:
Parameter | Type | Mandatory | Description |
---|---|---|---|
| String | Yes | Secret code of check-in (4 digits) |
| String | Yes | ID of check-in |
| String | Yes | Loyalty card number in partner's CRM system |
Register Used Check-In
POST
https://<base-URL>/partner/api/checkin/register
Request to cancel (deactivate) an active check-in.
Headers
Name | Type | Description |
---|---|---|
offerId* | string | ID of a loyalty program in the Cardsmobile platform |
Request Body
Name | Type | Description |
---|---|---|
checkinNumber* | string | ID of check-in |
When the loyalty card (that is checked in) has been applied to the customer's order, the cash desk software must initiate the check-in deactivation process. The corresponding request must be sent to the Cardsmobile host.
Example of request body:
After deactivation, the canceled check-in will not be in the list of active check-ins returned in the answer to the Get List of Active Check-Ins request. To make the next purchase (order) with the loyalty card, the customer will need to get a new check-in.
Last updated