User authentication and session management for B2B integrations
- Apply Referral Program During a Visit
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.
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/visit/loyalty/cancel_discount_program/{location_id}/{card_id}/{program_id}
- Productionhttps://api.alteg.io/api/v1/visit/loyalty/cancel_discount_program/{location_id}/{card_id}/{program_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/visit/loyalty/cancel_discount_program/{location_id}/{card_id}/{program_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'OK
Array with information about the financial transactions of the appointment
An array with information about applied loyalty transactions in a visit
An object that holds details about transactions recorded by the POS system
Array with information about products and services of the appointment
{ "payment_transactions": [], "loyalty_transactions": [], "kkm_transaction_details_container": { "last_operation_type": 1, "transactions": [] }, "items": [ { … }, { … } ] }
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/visit/loyalty/apply_referral_program/{location_id}/{chain_id}
- Productionhttps://api.alteg.io/api/v1/visit/loyalty/apply_referral_program/{location_id}/{chain_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/visit/loyalty/apply_referral_program/{location_id}/{chain_id}' \
-H 'Accept: string' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'OK
Array with information about the financial transactions of the appointment
An array with information about applied loyalty transactions in a visit
An object that holds details about transactions recorded by the POS system
Array with information about products and services of the appointment
{ "payment_transactions": [], "loyalty_transactions": [ { … } ], "kkm_transaction_details_container": { "last_operation_type": 1, "transactions": [] }, "items": [ { … } ] }