Get business locations for a webhook

GET /o/wh/1/webhook/{endpointId}/business-locations

Get all business location IDs associated with a webhook endpoint.

Path parameters

  • endpointId string Required

Responses

  • 200 application/json

    Business location IDs

    Hide response attributes Show response attributes object
    • businessLocationId integer(int64) Required

      ID of the business location

    • createdAt string(date-time)

      Timestamp when this association was created

    • updatedAt string(date-time)

      Timestamp when this association was last updated

  • 404

    Not Found

GET /o/wh/1/webhook/{endpointId}/business-locations
curl \
 --request GET 'https://api.trial.lsk.lightspeed.app/o/wh/1/webhook/endpoint/business-locations' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "businessLocationId": 45454565682155,
    "createdAt": "2023-11-07T19:15:05.043+0000",
    "updatedAt": "2023-11-07T19:15:05.043+0000"
  }
]