Skip to main content
GET
/
services
/
{id}
Get a service
curl --request GET \
  --url https://api.guile.app/services/{id} \
  --header 'Authorization: Bearer <token>'
{
  "name": "Skin Fade",
  "bundledAddOns": [
    {
      "id": "service-123",
      "name": "Beard Trim"
    }
  ],
  "visibility": "visible",
  "categories": [
    {
      "id": "afada02b-e9fe",
      "name": "Shaving"
    }
  ],
  "description": "Expertly transitioned fade with optional designs on the side.",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "duration": "PT30M",
  "cost": "45.00",
  "addOn": {
    "duration": "PT30M",
    "cost": "45.00"
  }
}

Path Parameters

id
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.

Representation of a service performed by a barber.

name
string
required

The display name for this service.

Example:

"Skin Fade"

bundledAddOns
object[]
required

Additional add-on services included in this service bundle.

Example:
[
{ "id": "service-123", "name": "Beard Trim" }
]
visibility
enum<string>
required

The visibility of the service. Hidden services are not visible to customers.

Available options:
visible,
hidden
categories
object[]
required

The categories for this service.

Example:
[
{ "id": "afada02b-e9fe", "name": "Shaving" }
]
description
string
required

The description of this service.

Maximum string length: 500
Example:

"Expertly transitioned fade with optional designs on the side."

id
string<uuid>
required

The unique identifier for this service.

createdAt
string<date-time>
required

The date-time when this resource was created, in RFC 3339 date-time YYYY-MM-DDThh:mm:ss.sssZ format, UTC. This is derived and immutable.

updatedAt
string<date-time>
required

The date-time when this resource was updated, in RFC 3339 date-time YYYY-MM-DDThh:mm:ss.sssZ format, UTC. This is derived and immutable.

duration
string<duration>

The duration of the service.

Example:

"PT30M"

cost
string<decimal>

The cost of the service, excluding any fees or taxes.

Example:

"45.00"

addOn
object

If set, the configuration for this service when used as an add-on.