User authentication and session management for B2B integrations
- Archive or unarchive membership type
Freeze membership
Unfreeze membership
Change membership balance
Change membership validity period
List membership types
Create membership type
Get membership type details
Update membership type
Delete membership type
Clone membership type
Restore deleted membership type
List certificate types
Create certificate type
Get certificate type
Update certificate type
Delete certificate type
Create a Chain Promotion
Get a Chain Promotion
Edit Chain Promotion
Delete Chain Promotion
Get a List of Chain Loyalty Transactions
Get a list of loyalty notification templates
Archive or unarchive memb...
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/chain/{chain_id}/loyalty/abonement_types/{loyalty_membership_type_id}/restore
- Productionhttps://api.alteg.io/api/v1/chain/{chain_id}/loyalty/abonement_types/{loyalty_membership_type_id}/restore
- 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/chain/1/loyalty/abonement_types/489159/restore \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"restore_in_title": "Fitness Membership"
}'Request
Archives or unarchives a membership type.
Archived membership types:
- Cannot be sold to new clients
- Existing active memberships remain functional
- Can be unarchived at any time
Note: Requires chain-level permissions.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/{chain_id}/loyalty/abonement_types/{loyalty_membership_type_id}/archive
- Productionhttps://api.alteg.io/api/v1/chain/{chain_id}/loyalty/abonement_types/{loyalty_membership_type_id}/archive
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/1/loyalty/abonement_types/489159/archive \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"is_archived": true
}'Request
Retrieves a list of certificate types at the chain level.
Returns all certificate types configured for the chain with optional filtering and pagination.
Query Parameters:
title- Filter by certificate type name (partial match)page- Page number (default: 1)page_size- Items per page (default: 10, max: 100)
Item Type Restrictions:
- 0 = All services and products
- 1 = Any services (no products)
- 2 = Any products (no services)
- 3 = Specific services only (no products)
- 4 = Specific services + any products
Expiration Types:
- 0 = No expiration
- 1 = Fixed date for all instances
- 2 = Fixed period from sale date
Expiration Units:
- 1 = day
- 2 = week
- 3 = month
- 4 = year
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/chain/{chain_id}/loyalty/certificate_types
- Productionhttps://api.alteg.io/api/v1/chain/{chain_id}/loyalty/certificate_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/706028/loyalty/certificate_types?title=Gift&page=1&page_size=10' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>'Response
application/json
{ "success": true, "data": [ { … } ], "meta": { "total_count": 1 } }