# Subscriptions & Certificates

Membership subscriptions and gift certificates

 - [GET /loyalty/abonements](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_client_memberships.md): Returns a list of client's memberships by phone
 - [GET /user/loyalty/abonements](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_user_memberships.md): Returns a list of memberships of an authorized user
 - [GET /chain/{chain_id}/loyalty/abonements](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_membership_list.md)
 - [GET /company/{location_id}/loyalty/abonement_types/fetch](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_membership_type_list_by_id.md): A list of **membership types** available at a location can be obtained by querying the location ID and membership type IDs. The list is an array of [membership types](#loyalty-membership-type). ### Ge
 - [GET /company/{location_id}/loyalty/abonement_types/search](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_membership_type_list.md): A list of **membership types** available at a location can be obtained by requesting the location ID. The list can be filtered by membership type name by passing the title parameter. Pagination is sup
 - [GET /api/v1/company/{location_id}/client/{client_id}/loyalty/abonements/search_for_activity](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/search_memberships_for_event.md): Retrieves subscriptions that can be used to create a client schedule for a series of events. This method returns subscriptions (memberships) that: - Belong to the specified client - Are valid and acti
 - [GET /api/v1/company/{location_id}/client/{client_id}/loyalty/abonements/{membership_id}/check_for_activity](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/check_memberships_for_event.md): Validates a specific subscription for creating activity schedules. Returns: - **Last possible appointment date** based on membership expiration - **Available visit count** for the selected subscriptio
 - [GET /loyalty/certificates](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_client_gift_cards.md): Returns a list of client gift cards by phone | Attribute | Type | Description | | --- | --- | --- | | id | int | Gift card ID | | number | string | Gift card code | | balance | decimal | Current bala
 - [GET /user/loyalty/certificates](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_user_gift_cards.md): Returns a list of authorized user gift cards
 - [GET /company/{location_id}/loyalty/certificate_types/fetch](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_gift_card_type_list_by_id.md): A list of **gift card types** available at the location can be obtained by querying the location ID and gift card type IDs. The list is an array of [gift card types](#loyalty-certificate-type).
 - [GET /company/{location_id}/loyalty/certificate_types/search](https://developer.alteg.io/en/b2b-v1/openapi/subscriptions-and-certificates/get_gift_card_type_list.md): A list of **gift card types** available at a location can be obtained by querying the location ID. The list can be filtered by the name of the gift card type by passing the title parameter. Pagination
