User authentication and session management for B2B integrations
- Get a List of Card Types Available for Issuance to the Client
Get a List of Customer Cards by ID
Get a List of Customer Cards by Phone Number
Get User Loyalty Cards
Get a list of card types available at the location
Get a List of Card Types Available at the Chain
Issue a Loyalty Card
Remove a Loyalty Card
Manual withdraw/deposit to loyalty card in location
Manual withdraw/deposit to loyalty card in chain
Get a List of Card Types...
Business Management (1.0.0)
Full-featured B2B API for business operations.
Base URL: https://api.alteg.io/api
V1 will be gradually deprecated. We recommend using V2 API for new integrations. V1 endpoints are maintained for backward compatibility, but new features will be released in V2 only.
Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.alteg.io/_mock/en/b2b-v1/openapi
Production
https://api.alteg.io/api/v1
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/card_types/salon/{location_id}
- Productionhttps://api.alteg.io/api/v1/loyalty/card_types/salon/{location_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/card_types/salon/12345 \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
application/json
[ { "id": 10992, "title": "Cashback", "salon_group_id": 145071, "salon_group": { … } }, { "id": 8230, "title": "Referral program", "salon_group_id": 145071, "salon_group": { … } } ]
Request
Returns a list of card types that are available for issuance to a location client.
| Attribute | Type | Description |
|---|---|---|
| id | int | Card type identifier |
| title | string | Card type name |
| salon_group_id | int | ID of the chain where the card type was created |
| salon_group | object | An object that contains the "id" and "title" fields: identifier of the chain where the card type was created and the name of this chain |
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/card_types/client/{location_id}/{phone}
- Productionhttps://api.alteg.io/api/v1/loyalty/card_types/client/{location_id}/{phone}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/loyalty/card_types/client/12345/13155550175 \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
[ { "id": 10992, "title": "Cashback", "salon_group_id": 145071, "salon_group": { … } }, { "id": 8230, "title": "Referral program", "salon_group_id": 145071, "salon_group": { … } } ]
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/{chain_id}/loyalty/card_types
- Productionhttps://api.alteg.io/api/v1/chain/{chain_id}/loyalty/card_types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/{chain_id}/loyalty/card_types' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}_HERE>' \
-H 'Content-Type: string'Response
application/json
[ { "id": 123, "title": "Loyalty card type" } ]