Remove business location from a webhook

DELETE /o/wh/1/webhook/{endpointId}/business-locations/{businessLocationId}

Remove a business location ID from a webhook endpoint.

Path parameters

  • endpointId string Required
  • businessLocationId integer(int64) Required

    The unique identifier for the business location.

Responses

  • 200 application/json

    OK

    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

DELETE /o/wh/1/webhook/{endpointId}/business-locations/{businessLocationId}
curl \
 --request DELETE 'https://api.trial.lsk.lightspeed.app/o/wh/1/webhook/endpoint/business-locations/45454565682155' \
 --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"
}