Skip to main content
To create a line, send a POST request to /v1/locations/{locationId}/lines:
Required fields:
  • name - Line name (max 30 characters)
  • color - Line color. One of: VIOLET, LAVENDER, MARSHMALLOW, TEAL, MINT, CORAL, YELLOW, ROSE, INDIGO, BLUE
Optional fields:
  • disabled - Whether the line starts disabled (default: false)
  • translations - Name translations for multi-language support (see below)
  • appointmentSettings - Appointment configuration (see below)
Response (201 Created):

Translations

You can provide name translations for multi-language support:
Each translation object has:
  • languageCode (string, required) - Language code (e.g. “fr”, “es”, “de”)
  • name (string, optional) - Translated line name (max 30 characters)

Appointment Settings

You can enable appointments and set a default duration:
  • enabled (boolean, required) - Whether appointments are enabled for this line
  • duration (integer, required) - Default appointment duration in minutes. Allowed values: 15, 30, 45, 60, 90, 120, 180

Error Responses