Activate Integration for Restaurant

POST /reservation/api/1/user/platform/{platform-code}/integration/activate

Activate the integration between the K-Series business location and the external reservation platform.

Path parameters

  • platform-code string Required

    The unique code assigned to the reservation platform.

    Maximum length is 11. Format should match the following pattern: [a-zA-Z0-9_-]+.

application/json

Body

  • businessLocationId integer(int64) Required

    The K-Series business location ID.

  • platformRestaurantId string Required

    The external platform ID for the restaurant.

    Format should match the following pattern: [a-zA-Z0-9_-]+.

Responses

  • Accepted

  • Non relevant request

  • Access token not relevant for the businessLocation, use authorization-code

  • Platform not found

POST /reservation/api/1/user/platform/{platform-code}/integration/activate
curl \
 -X POST https://api.lsk.lightspeed.app/reservation/api/1/user/platform/MyPlatform/integration/activate \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"businessLocationId":9765040300495493,"platformRestaurantId":"Restaurant-123"}'
Request examples
{
  "businessLocationId": 9765040300495493,
  "platformRestaurantId": "Restaurant-123"
}