# Service locations

Section: Team settings. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/service-locations/

This page and all 7 operation pages, in one file: https://developer.yoprint.com/llms/service-locations.txt

Where on an item a decoration goes, such as "Shirt - Front". Set up in Settings and used by your services and their prices.

## Operations (7)

- [Create a service location](https://developer.yoprint.com/reference/service-locations/v1-service-location-store.md): `POST /v1/api/store/{team_slug}/service_location`. Creates a service location and returns it.
- [List service locations](https://developer.yoprint.com/reference/service-locations/v1-service-location-index.md): `GET /v1/api/store/{team_slug}/service_location`. Lists every service location of the team, deleted ones included (`trashed: true`), each with `id`, `name`, `enable` and the `services` (`id`, `name`) offered there.
- [Get a service location](https://developer.yoprint.com/reference/service-locations/v1-service-location-show.md): `GET /v1/api/store/{team_slug}/service_location/{hash_id}`. Returns one service location with its `services`, deleted ones included (`trashed`).
- [Update a service location](https://developer.yoprint.com/reference/service-locations/v1-service-location-update-put.md): `PUT /v1/api/store/{team_slug}/service_location/{hash_id}`. Renames or enables or disables a service location, and returns it.
- [Update a service location (PATCH)](https://developer.yoprint.com/reference/service-locations/v1-service-location-update-patch.md): `PATCH /v1/api/store/{team_slug}/service_location/{hash_id}`. Renames or enables or disables a service location, and returns it.
- [Delete a service location](https://developer.yoprint.com/reference/service-locations/v1-service-location-destroy.md): `DELETE /v1/api/store/{team_slug}/service_location/{hash_id}`. Deletes a service location.
- [Restore a service location](https://developer.yoprint.com/reference/service-locations/v1-service-location-restore.md): `PATCH /v1/api/store/{team_slug}/service_location/{hash_id}/restore`. Brings back a deleted service location.
