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 Required

  • businessLocationId integer(int64) Required

    The unique identifier of the business location.

  • platformRestaurantId string Required

    The external platform's unique identifier 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.trial.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"
}