Platform course settings definition
Setup platform's course settings definition.
Path parameters
-
The unique code assigned to the reservation platform.
Maximum length is
11
. Format should match the following pattern:[a-zA-Z0-9_-]+
.
Body
-
allowCourseNumberUpdates boolean
If true, table statuses can be customized using a number format
Default value is
false
. -
inServiceTableStatuses array[object]
List of customizable table statuses that will be used to notify platforms about reservation progress with outbound API
PATCH /reservation/api/1/platform/{platform-code}/course-settings
curl \
-X PATCH https://api.trial.lsk.lightspeed.app/reservation/api/1/platform/MyPlatform/course-settings \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"allowCourseNumberUpdates":true,"inServiceTableStatuses":[{"statusLabel":"Appetizer","statusValue":"appetizer","sequence":1}]}'
Request examples
{
"allowCourseNumberUpdates": true,
"inServiceTableStatuses": [
{
"statusLabel": "Appetizer",
"statusValue": "appetizer",
"sequence": 1
}
]
}