GET /o/wh/1/webhook/{endpointId}
curl \
-X GET https://api.trial.lsk.lightspeed.app/o/wh/1/webhook/endpoint \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"endpointId": "MY-AWESOME-ENDPOINT-ID",
"url": "https://webhook.site/1dc40b86-3d0d",
"withBasicAuth": true,
"username": "username",
"password": "password",
"provideAccount": true,
"expandTransactions": true,
"expandPayments": true,
"subscribeTo": [
{
"name": "DELIVERED",
"resource": "order"
}
]
}
Response examples (404)
{
"timestamp": "2023-11-07T22:18:49.101+0000",
"status": 404,
"error": "Not Found",
"message": "endpoint ID not found for MISSING-ENDPOINT",
"path": "/o/wh/1/webhook/MISSING-ENDPOINT"
}