Skip to main content
POST
Create a line

Authorizations

X-Qminder-REST-API-Key
string
header
default:yourbusinessapikey
required

Headers

X-Qminder-API-Version
enum<string>
default:2020-09-01
required

API version. Must be set to 2020-09-01.

Available options:
2020-09-01

Path Parameters

id
integer<int32>
default:123
required

ID of a Location

Body

application/json
name
string
required

Line name (max 30 characters).

Maximum string length: 30
color
enum<string>
required

Line color.

Available options:
VIOLET,
LAVENDER,
MARSHMALLOW,
TEAL,
MINT,
CORAL,
YELLOW,
ROSE,
INDIGO,
BLUE
disabled
boolean

Whether the line starts disabled. Default: false.

translations
object[]

Name translations for multi-language support.

appointmentSettings
object

Appointment configuration for this line.

Response

Line created successfully

id
string

The ID of the created line.

Example:

"12345"