# Appointments

Appointments and Visits, attendance, repeat templates and payment links

 - [GET /locations/{location_id}/appointments](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_appointment_list.md): #### Filtering Appointments + staff_id: team member ID. Use this to retrieve appointments for a specific team member + client_id: Client ID Use this to retrieve appointments for a specific client +
 - [POST /locations/{location_id}/appointments](https://developer.alteg.io/en/b2b-v1/openapi/appointments/create_appointment.md): Creates a standard Appointment or an Appointment in a Group Event. For a standard Appointment, `staff_id`, `services`, `client`, `datetime`, and `seance_length` are required. For a Group Event Appoint
 - [GET /locations/{location_id}/appointments/{record_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_appointment.md)
 - [PUT /locations/{location_id}/appointments/{record_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/update_appointment.md): Fully updates an Appointment. This is not a partial update: for a standard Appointment, resend `staff_id`, `services`, `client`, `datetime`, and `seance_length`, including when only `custom_fields` ne
 - [DELETE /locations/{location_id}/appointments/{record_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/delete_appointment.md)
 - [POST /locations/{location_id}/appointments/{record_id}/attendance](https://developer.alteg.io/en/b2b-v1/openapi/appointments/update_appointment_attendance.md): Change the attendance status of one Appointment without resending the full Appointment. The body field is `attendance` (not `visit_attendance`). The supported statuses are `-1` (did not come), `0` (wa
 - [GET /locations/{location_id}/appointments/{record_id}/changes](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_appointment_change_history.md): Returns the audit trail of an Appointment: creation, edits, deletion and restoration, with the Business User who made each change and the values before (`from`) and after (`to`) it. Only the fields th
 - [GET /locations/{location_id}/appointments/{record_id}/payment_link](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_appointment_payment_link.md): Returns the online payment page URL for an Appointment, which you can send to the client through your own channel. The client pays the Appointment's outstanding amount on that page. The Location must
 - [POST /locations/{location_id}/appointments/{record_id}/payment_link/send](https://developer.alteg.io/en/b2b-v1/openapi/appointments/send_appointment_payment_link.md): Sends the Appointment's online payment link to the client through the Location's notification channels (the channel cascade configured for the payment link notification) and by email when the client h
 - [POST /locations/{location_id}/appointments/{record_id}/duplicate](https://developer.alteg.io/en/b2b-v1/openapi/appointments/repeat_appointment.md): Creates copies of an Appointment on the dates produced by a repeat rule, for example "every Tuesday until the end of the month" or "10 times every other day". Copies keep the Team Member, Services, du
 - [GET /locations/{location_id}/appointments/duplication_strategies](https://developer.alteg.io/en/b2b-v1/openapi/appointments/list_appointment_repeat_templates.md): Repeat templates store how an Appointment is repeated. Use them in the [Repeat an Appointment](#tag/Appointments/operation/repeat_appointment) request or keep them for reuse. The Business User needs t
 - [POST /locations/{location_id}/appointments/duplication_strategies](https://developer.alteg.io/en/b2b-v1/openapi/appointments/create_appointment_repeat_template.md): Repeat templates store how an Appointment is repeated. Use them in the [Repeat an Appointment](#tag/Appointments/operation/repeat_appointment) request or keep them for reuse. The Business User needs t
 - [GET /locations/{location_id}/appointments/duplication_strategies/{strategy_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_appointment_repeat_template.md)
 - [PUT /locations/{location_id}/appointments/duplication_strategies/{strategy_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/update_appointment_repeat_template.md): Replaces the template settings. Send all fields; omitted `interval` and `days` are reset.
 - [GET /visit/statuses](https://developer.alteg.io/en/b2b-v1/openapi/appointments/list_appointment_statuses.md): Returns the Appointment attendance statuses with their titles in the request language.
 - [GET /records/partner](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_partner_appointment_list.md): #### Filtering appointments + salon_id: Location ID Use this to filter appointments for a specific location + start_date: Visit date from Filters appointments with a visit date starting from the spe
 - [GET /visits/{visit_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_visit.md)
 - [GET /visit/details/{location_id}/{record_id}/{visit_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_visit_details.md): **Block "kkm_transaction_details_container"** Flag "last_operation_type" | Meaning | Description | | --- | --- | | 0 | Print return receipt | | 1 | Print sales receipt | Types of all transactions wi
 - [PUT /visits/{visit_id}/{record_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/update_visit.md): Update the attendance status, bill comment, Services, Product Items, and payments of a visit. > **This is a replace operation for the whole visit.** `services` and `goods_transactions` replace every S
 - [GET /attendance/receipt_print/{visit_id}](https://developer.alteg.io/en/b2b-v1/openapi/appointments/get_visit_receipt_pdf.md)
