Skip to main content
GET
/
locations
/
{locationId}
/
invitations
List location invitations
curl --request GET \
  --url https://api.guile.app/locations/{locationId}/invitations \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "code": "<string>",
      "type": "shopOwner",
      "state": "created",
      "barber": {
        "user": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "givenName": "<string>",
          "surname": "<string>",
          "phoneNumber": "<string>",
          "emailAddress": "<string>"
        },
        "location": {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>",
          "shopName": "<string>"
        },
        "terms": {
          "commissionRate": 123,
          "rent": {
            "amount": 1,
            "frequency": "daily"
          }
        }
      }
    }
  ],
  "count": 1
}

Path Parameters

locationId
string<uuid>
required

The unique, opaque system identifier for a resource. This case-sensitive ID is also used as path parameters in URLs or in other properties or parameters that reference a resource by ID rather than URL.

Response

Ok. The operation succeeded.

A list response for resources. This response contains the full result set after any filters are applied.

items
object[]
required
count
integer<int16>
required
Required range: x >= 0